From 554c40358642b1dfe1a3ccf7b66a172ef849c9e9 Mon Sep 17 00:00:00 2001 From: Till Brehm <tbrehm@ispconfig.org> Date: Sat, 11 Jan 2014 05:15:19 -0500 Subject: [PATCH] - Added option to allow resellers to add domains in the domain limits (domain module). - Added section toggle for client limits --- interface/web/client/lib/module.conf.php | 18 +++++------------- 1 files changed, 5 insertions(+), 13 deletions(-) diff --git a/interface/web/client/lib/module.conf.php b/interface/web/client/lib/module.conf.php index 92775ea..8b97848 100644 --- a/interface/web/client/lib/module.conf.php +++ b/interface/web/client/lib/module.conf.php @@ -17,13 +17,6 @@ 'link' => 'client/client_edit.php', 'html_id' => 'client_add'); -if($_SESSION["s"]["user"]["typ"] == 'admin'){ - $items[] = array( 'title' => "Edit Client-Templates", - 'target' => 'content', - 'link' => 'client/client_template_list.php', - 'html_id' => 'client_template_list'); -} - $module["nav"][] = array( 'title' => 'Clients', 'open' => 1, 'items' => $items); @@ -66,11 +59,11 @@ unset($items); -//if($_SESSION["s"]["user"]["typ"] == 'admin'){ - $items[] = array( 'title' => "Limit-Templates", - 'target' => 'content', - 'link' => 'client/client_template_list.php', - 'html_id' => 'client_template_list'); + +$items[] = array( 'title' => "Limit-Templates", + 'target' => 'content', + 'link' => 'client/client_template_list.php', + 'html_id' => 'client_template_list'); $module["nav"][] = array( 'title' => 'Templates', @@ -78,7 +71,6 @@ 'items' => $items); unset($items); -//} $app->uses('ini_parser,getconf'); -- Gitblit v1.9.1