From 4e7e4c3cece19d1b0b16a62849f87b1a2f165b21 Mon Sep 17 00:00:00 2001
From: latham <latham@ispconfig3>
Date: Fri, 08 Apr 2011 15:37:39 -0400
Subject: [PATCH] Start removing DOS line endings lathama
---
interface/web/client/lib/module.conf.php | 22 ++++++++++++----------
1 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/interface/web/client/lib/module.conf.php b/interface/web/client/lib/module.conf.php
index c6fea58..f37461d 100644
--- a/interface/web/client/lib/module.conf.php
+++ b/interface/web/client/lib/module.conf.php
@@ -11,17 +11,19 @@
*/
-$items[] = array( 'title' => "Add Client",
- 'target' => 'content',
- 'link' => 'client/client_edit.php',
- 'html_id' => 'client_add');
+
$items[] = array( 'title' => "Edit Client",
'target' => 'content',
'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',
@@ -37,16 +39,16 @@
if($_SESSION["s"]["user"]["typ"] == 'admin'){
-$items[] = array( 'title' => "Add Reseller",
- 'target' => 'content',
- 'link' => 'client/reseller_edit.php',
- 'html_id' => 'reseller_add');
-
$items[] = array( 'title' => "Edit Reseller",
'target' => 'content',
'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