diff options
author | Guy Brand <gb@unistra.fr> | 2011-07-12 19:45:12 +0200 |
---|---|---|
committer | Guy Brand <gb@unistra.fr> | 2011-07-12 19:45:12 +0200 |
commit | 1e542e417725bb148253929fac9146832d978e45 (patch) | |
tree | e819b734e24a3fb1a40da50383dfbaf34ba3b1d6 /lib/plugins/acl/admin.php | |
parent | b704da0446180981f7b286604f732155a76306f7 (diff) | |
parent | a1dee2b998bc3dc8436bb076435d405ec412e054 (diff) | |
download | rpg-1e542e417725bb148253929fac9146832d978e45.tar.gz rpg-1e542e417725bb148253929fac9146832d978e45.tar.bz2 |
Merge branch 'master' of github.com:splitbrain/dokuwiki
Diffstat (limited to 'lib/plugins/acl/admin.php')
-rw-r--r-- | lib/plugins/acl/admin.php | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/lib/plugins/acl/admin.php b/lib/plugins/acl/admin.php index ea4184ca3..7c12b3374 100644 --- a/lib/plugins/acl/admin.php +++ b/lib/plugins/acl/admin.php @@ -253,19 +253,12 @@ class admin_plugin_acl extends DokuWiki_Admin_Plugin { $data = $this->_get_tree($ns); // wrap a list with the root level around the other namespaces - $item = array( 'level' => 0, 'id' => '*', 'type' => 'd', - 'open' =>'true', 'label' => '['.$lang['mediaroot'].']'); + array_unshift($data, array( 'level' => 0, 'id' => '*', 'type' => 'd', + 'open' =>'true', 'label' => '['.$lang['mediaroot'].']')); - echo '<ul class="acltree">'; - echo $this->_html_li_acl($item); - echo '<div class="li">'; - echo $this->_html_list_acl($item); - echo '</div>'; echo html_buildlist($data,'acl', array($this,'_html_list_acl'), array($this,'_html_li_acl')); - echo '</li>'; - echo '</ul>'; } |