Skip to content
Snippets Groups Projects
Commit 62132d0d authored by chris's avatar chris
Browse files

plugin manager update

fix ordering of plugins for php5

darcs-hash:20060807132242-9b6ab-2dc8e4508dc721908ec6453fc09acec1de23687d.gz
parent d978e24c
No related branches found
No related tags found
No related merge requests found
......@@ -105,7 +105,8 @@ class admin_plugin_plugin extends DokuWiki_Admin_Plugin {
$this->plugin = null;
}
sort($this->plugin_list = plugin_list('', true));
$this->plugin_list = plugin_list('', true);
sort($this->plugin_list);
// verify $_REQUEST vars
if (in_array($this->cmd, $this->commands)) {
......@@ -134,7 +135,10 @@ class admin_plugin_plugin extends DokuWiki_Admin_Plugin {
$this->setupLocale();
if ($this->handler === NULL) $this->handler = & new ap_manage($this, $this->plugin);
if (!$this->plugin_list) sort($this->plugin_list = plugin_list('',true));
if (!$this->plugin_list) {
$this->plugin_list = plugin_list('',true);
sort($this->plugin_list);
}
ptln('<div id="plugin__manager">');
$this->handler->html();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment