aboutsummaryrefslogtreecommitdiffstats
path: root/mod/admin.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/admin.php')
-rwxr-xr-xmod/admin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/admin.php b/mod/admin.php
index d9864dc6a..9073d079f 100755
--- a/mod/admin.php
+++ b/mod/admin.php
@@ -741,7 +741,7 @@ function admin_page_themes(&$a){
'$plugin' => $theme,
'$status' => $status,
'$action' => $action,
- '$info' => array('name' => $theme,'version' => '','description' => ''),
+ '$info' => get_theme_info($theme),
'$function' => 'themes',
'$admin_form' => $admin_form,
@@ -758,7 +758,7 @@ function admin_page_themes(&$a){
$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']));
}
}