]> git.mxchange.org Git - friendica.git/blobdiff - mod/admin.php
theme info (like plugin info)
[friendica.git] / mod / admin.php
index d9864dc6af0421a3a1d11d11f5255b99f9ba067c..9073d079f601ba2ba3a7e6899507fdfe9169b536 100755 (executable)
@@ -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']));
                }
        }