From 42f191ba77aa9293098b3327d6415f02483fcf6b Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Thu, 07 Jun 2012 05:09:37 -0400
Subject: [PATCH] Implemented support for UFW firewall (FS#1757 - New IPTables firewall script for IPv4 and IPv6)
---
interface/web/client/lib/module.conf.php | 52 ++++++++++++++++++++++++++++++++--------------------
1 files changed, 32 insertions(+), 20 deletions(-)
diff --git a/interface/web/client/lib/module.conf.php b/interface/web/client/lib/module.conf.php
index 78b825b..9422362 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,30 +39,37 @@
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);
+
+unset($items);
}
+$items[] = array( 'title' => "Edit Client Circle",
+ 'target' => 'content',
+ 'link' => 'client/client_circle_list.php',
+ 'html_id' => 'client_circle_list');
+$items[] = array( 'title' => "Send email",
+ 'target' => 'content',
+ 'link' => 'client/client_message.php',
+ 'html_id' => 'reseller_add');
+$module["nav"][] = array( 'title' => 'Messaging',
+ 'open' => 1,
+ 'items' => $items);
-
-
-
-
-
-
-
-
-
+unset($items);
?>
\ No newline at end of file
--
Gitblit v1.9.1