From ed30c60150ffda0301eb1f8d30c93cac94de41df Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Mon, 25 Jul 2011 10:38:22 -0400
Subject: [PATCH] Fixed some warnings in the installer.
---
interface/web/client/lib/module.conf.php | 41 +++++++++++++++++++----------------------
1 files changed, 19 insertions(+), 22 deletions(-)
diff --git a/interface/web/client/lib/module.conf.php b/interface/web/client/lib/module.conf.php
index cc4347b..f37461d 100644
--- a/interface/web/client/lib/module.conf.php
+++ b/interface/web/client/lib/module.conf.php
@@ -1,7 +1,7 @@
<?php
$module["name"] = "client";
-$module["title"] = "Client";
+$module["title"] = "top_menu_client";
$module["template"] = "module.tpl.htm";
$module["startpage"] = "client/client_list.php";
$module["tab_width"] = '';
@@ -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