X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fadmin.php;h=0f600e3126b1b123e5cb4befe1f26de078147eb1;hb=bbebb4c2a050f22e9aa51cb123359b169bcb3b3c;hp=d9864dc6af0421a3a1d11d11f5255b99f9ba067c;hpb=44c23cda8edcde0ad6f904b8333f563b6d5ebc39;p=friendica.git diff --git a/mod/admin.php b/mod/admin.php index d9864dc6af..0f600e3126 100755 --- a/mod/admin.php +++ b/mod/admin.php @@ -573,7 +573,7 @@ function admin_page_plugins(&$a){ '$info' => get_plugin_info($plugin), '$admin_form' => $admin_form, - '$function' => $plugins, + '$function' => 'plugins', '$readme' => $readme )); } @@ -711,7 +711,7 @@ function admin_page_themes(&$a){ return; // NOTREACHED } - // display plugin details + // display theme details require_once('library/markdown.php'); if (theme_status($themes,$theme)) { @@ -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'])); } } @@ -769,7 +769,9 @@ function admin_page_themes(&$a){ '$submit' => t('Submit'), '$baseurl' => $a->get_baseurl(), '$function' => 'themes', - '$plugins' => $xthemes + '$plugins' => $xthemes, + '$experimental' => t('[Experimental]'), + '$unsupported' => t('[Unsupported]') )); }