From 128b2a8c3f31fef60d427614056066431eb12a28 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Fri, 04 Dec 2009 09:44:22 -0500
Subject: [PATCH] Fixed: FS#1000 - Error in salt size in tform.inc.php.orig
---
interface/web/client/lib/module.conf.php | 37 +++++++++++++++++++++++++++++++++++++
1 files changed, 37 insertions(+), 0 deletions(-)
diff --git a/interface/web/client/lib/module.conf.php b/interface/web/client/lib/module.conf.php
index 23c4a18..cc4347b 100644
--- a/interface/web/client/lib/module.conf.php
+++ b/interface/web/client/lib/module.conf.php
@@ -19,8 +19,45 @@
'target' => 'content',
'link' => 'client/client_list.php');
+if($_SESSION["s"]["user"]["typ"] == 'admin'){
+ $items[] = array( 'title' => "Edit Client-Templates",
+ 'target' => 'content',
+ 'link' => 'client/client_template_list.php');
+}
$module["nav"][] = array( 'title' => 'Clients',
'open' => 1,
'items' => $items);
+
+unset($items);
+
+
+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');
+
+$module["nav"][] = array( 'title' => 'Resellers',
+ 'open' => 1,
+ 'items' => $items);
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
?>
\ No newline at end of file
--
Gitblit v1.9.1