From fb3a98c0f06fb14a188e5a020936768fa04cb205 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Fri, 22 Oct 2010 06:24:31 -0400 Subject: [PATCH] Merged serveral bugfixes and new language files from stable branch (revisions 2055 - 2093) --- interface/web/client/lib/module.conf.php | 22 ++++++++++++---------- 1 files changed, 12 insertions(+), 10 deletions(-) diff --git a/interface/web/client/lib/module.conf.php b/interface/web/client/lib/module.conf.php index c6fea58..f37461d 100644 --- a/interface/web/client/lib/module.conf.php +++ b/interface/web/client/lib/module.conf.php @@ -11,17 +11,19 @@ */ -$items[] = array( 'title' => "Add Client", - 'target' => 'content', - 'link' => 'client/client_edit.php', - 'html_id' => 'client_add'); + $items[] = array( 'title' => "Edit Client", 'target' => 'content', 'link' => 'client/client_list.php', 'html_id' => 'client_list'); -if($_SESSION["s"]["user"]["typ"] == 'admin'){ +$items[] = array( 'title' => "Add Client", + 'target' => 'content', + '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', @@ -37,16 +39,16 @@ if($_SESSION["s"]["user"]["typ"] == 'admin'){ -$items[] = array( 'title' => "Add Reseller", - 'target' => 'content', - 'link' => 'client/reseller_edit.php', - 'html_id' => 'reseller_add'); - $items[] = array( 'title' => "Edit Reseller", 'target' => 'content', 'link' => 'client/reseller_list.php', 'html_id' => 'reseller_list'); +$items[] = array( 'title' => "Add Reseller", + 'target' => 'content', + 'link' => 'client/reseller_edit.php', + 'html_id' => 'reseller_add'); + $module["nav"][] = array( 'title' => 'Resellers', 'open' => 1, 'items' => $items); -- Gitblit v1.9.1