From ce6dcf483febeb655958e0afae0eb320bed05bea Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Tue, 10 Mar 2009 11:54:51 -0400
Subject: [PATCH] Fixed bugs in opensuse config and docs Fixed a bug that prevented the modification of website settings of a site that the user created.

---
 interface/web/client/lib/module.conf.php |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/interface/web/client/lib/module.conf.php b/interface/web/client/lib/module.conf.php
index 23c4a18..4d9a0ce 100644
--- a/interface/web/client/lib/module.conf.php
+++ b/interface/web/client/lib/module.conf.php
@@ -19,6 +19,11 @@
 				  '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,

--
Gitblit v1.9.1