commit 421c646bb5bc7f8f0ccd28fefe3f0e5cfc149797 parent 6e30c702eb4f04263ce157769976e43bc55cac37 Author: Jan Dankert <devnull@localhost> Date: Sat, 21 Jul 2018 01:03:47 +0200 Huuups, da hatte ich etwas viel gelöscht. Die Einstellungen sind jetzt wieder da. Und nur für Administratoren sichtbar. Diffstat:
modules/util/Tree.class.php | | | 12 | ++++++++++++ |
1 file changed, 12 insertions(+), 0 deletions(-)
diff --git a/modules/util/Tree.class.php b/modules/util/Tree.class.php @@ -85,6 +85,18 @@ class Tree $treeElement->type = 'userandgroups'; $this->addTreeElement($treeElement); + + if ($this->userIsAdmin) + { + $treeElement = new TreeElement(); + $treeElement->text = lang('PREFERENCES'); + $treeElement->description = lang('PREFERENCES'); + $treeElement->icon = 'configuration'; + $treeElement->action = 'configuration'; + + $this->addTreeElement($treeElement); + } + }