From 4a32aada4798c8d61d977e298ca816cac7afcc43 Mon Sep 17 00:00:00 2001
From: xaver <xaver@ispconfig3>
Date: Mon, 19 Mar 2012 18:05:27 -0400
Subject: [PATCH] removed Forname and lastanme from sys_users list, added active and client_id -> grate to get relatons if you wanna deactivate a user
---
interface/web/client/lib/module.conf.php | 39 ++++++++++++++++++---------------------
1 files changed, 18 insertions(+), 21 deletions(-)
diff --git a/interface/web/client/lib/module.conf.php b/interface/web/client/lib/module.conf.php
index 78b825b..f37461d 100644
--- a/interface/web/client/lib/module.conf.php
+++ b/interface/web/client/lib/module.conf.php
@@ -11,18 +11,23 @@
*/
-$items[] = array( 'title' => "Add Client",
- 'target' => 'content',
- 'link' => 'client/client_edit.php');
+
$items[] = array( 'title' => "Edit Client",
'target' => 'content',
- 'link' => 'client/client_list.php');
+ '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');
+ 'link' => 'client/client_template_list.php',
+ 'html_id' => 'client_template_list');
}
$module["nav"][] = array( 'title' => 'Clients',
@@ -34,28 +39,20 @@
if($_SESSION["s"]["user"]["typ"] == 'admin'){
-$items[] = array( 'title' => "Add Reseller",
- 'target' => 'content',
- 'link' => 'client/reseller_edit.php');
-
$items[] = array( 'title' => "Edit Reseller",
'target' => 'content',
- 'link' => 'client/reseller_list.php');
+ '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