diff options
author | friendica <info@friendica.com> | 2012-02-25 00:30:14 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-02-25 00:30:14 -0800 |
commit | 18bf5d14023d5f6ea4d490362b2825f7a71f951e (patch) | |
tree | 612d2628849d741c8630e20c58bf1c92d57fcb4a /mod | |
parent | 6092567c977d9e28df9558db51bd5b3d269740e8 (diff) | |
download | volse-hubzilla-18bf5d14023d5f6ea4d490362b2825f7a71f951e.tar.gz volse-hubzilla-18bf5d14023d5f6ea4d490362b2825f7a71f951e.tar.bz2 volse-hubzilla-18bf5d14023d5f6ea4d490362b2825f7a71f951e.zip |
theme info (like plugin info)
Diffstat (limited to 'mod')
-rwxr-xr-x | mod/admin.php | 4 |
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'])); } } |