From 18bf5d14023d5f6ea4d490362b2825f7a71f951e Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 25 Feb 2012 00:30:14 -0800 Subject: theme info (like plugin info) --- mod/admin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/admin.php') 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'])); } } -- cgit v1.2.3