aboutsummaryrefslogtreecommitdiffstats
path: root/mod/admin.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-02-25 00:30:14 -0800
committerfriendica <info@friendica.com>2012-02-25 00:30:14 -0800
commit18bf5d14023d5f6ea4d490362b2825f7a71f951e (patch)
tree612d2628849d741c8630e20c58bf1c92d57fcb4a /mod/admin.php
parent6092567c977d9e28df9558db51bd5b3d269740e8 (diff)
downloadvolse-hubzilla-18bf5d14023d5f6ea4d490362b2825f7a71f951e.tar.gz
volse-hubzilla-18bf5d14023d5f6ea4d490362b2825f7a71f951e.tar.bz2
volse-hubzilla-18bf5d14023d5f6ea4d490362b2825f7a71f951e.zip
theme info (like plugin info)
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']));
}
}