'$info' => get_plugin_info($plugin),
'$admin_form' => $admin_form,
- '$function' => $plugins,
+ '$function' => 'plugins',
'$readme' => $readme
));
}
return; // NOTREACHED
}
- // display plugin details
+ // display theme details
require_once('library/markdown.php');
if (theme_status($themes,$theme)) {
'$plugin' => $theme,
'$status' => $status,
'$action' => $action,
- '$info' => array('name' => $theme,'version' => '','description' => ''),
+ '$info' => get_theme_info($theme),
'$function' => 'themes',
'$admin_form' => $admin_form,
$xthemes = array();
if($themes) {
foreach($themes as $th) {
- $xthemes[] = array($th['name'],(($th['allowed']) ? "on" : "off"),array('name' => $th['name'],'version' => '','description' => ''));
+ $xthemes[] = array($th['name'],(($th['allowed']) ? "on" : "off"), get_theme_info($th['name']));
}
}
'$submit' => t('Submit'),
'$baseurl' => $a->get_baseurl(),
'$function' => 'themes',
- '$plugins' => $xthemes
+ '$plugins' => $xthemes,
+ '$experimental' => t('[Experimental]'),
+ '$unsupported' => t('[Unsupported]')
));
}