From deb07dacfa147db24499fe57bb8c204a11ccbb7a Mon Sep 17 00:00:00 2001
From: mike_p <mike_p@ispconfig3>
Date: Sat, 29 May 2010 16:36:36 -0400
Subject: [PATCH] fix bug FS#1200 and give nav list items unique ids (requires nav.css be changed too!)

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

diff --git a/interface/web/client/lib/module.conf.php b/interface/web/client/lib/module.conf.php
index 78b825b..c6fea58 100644
--- a/interface/web/client/lib/module.conf.php
+++ b/interface/web/client/lib/module.conf.php
@@ -13,16 +13,19 @@
 
 $items[] = array( 'title' 	=> "Add Client",
 				  'target' 	=> 'content',
-				  'link'	=> 'client/client_edit.php');
+				  'link'	=> 'client/client_edit.php',
+				  'html_id' => 'client_add');
 
 $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' 	=> "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',
@@ -36,26 +39,18 @@
 
 $items[] = array( 'title' 	=> "Add Reseller",
 				  'target' 	=> 'content',
-				  'link'	=> 'client/reseller_edit.php');
+				  'link'	=> 'client/reseller_edit.php',
+				  'html_id' => 'reseller_add');
 
 $items[] = array( 'title' 	=> "Edit Reseller",
 				  'target' 	=> 'content',
-				  'link'	=> 'client/reseller_list.php');
+				  'link'	=> 'client/reseller_list.php',
+				  'html_id' => 'reseller_list');
 
 $module["nav"][] = array(	'title'	=> 'Resellers',
 							'open' 	=> 1,
 							'items'	=> $items);
 }
-
-
-
-
-
-
-
-
-
-
 
 
 

--
Gitblit v1.9.1