From 6e2d48d0c9c43533582802b35a70d629d4e4abae Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Wed, 28 Sep 2011 06:51:19 -0400
Subject: [PATCH]
---
interface/web/sites/lib/module.conf.php | 34 +++++++++++++++++++++-------------
1 files changed, 21 insertions(+), 13 deletions(-)
diff --git a/interface/web/sites/lib/module.conf.php b/interface/web/sites/lib/module.conf.php
index b96ac1d..cbcc62b 100644
--- a/interface/web/sites/lib/module.conf.php
+++ b/interface/web/sites/lib/module.conf.php
@@ -64,7 +64,7 @@
}
/*
- FTP User menu
+ Shell User menu
*/
if($app->auth->get_client_limit($userid,'shell_user') != 0)
{
@@ -117,6 +117,26 @@
}
/*
+ * Web folder menu
+ */
+ $items=array();
+
+ $items[] = array( 'title' => "Folder",
+ 'target' => 'content',
+ 'link' => 'sites/web_folder_list.php',
+ 'html_id' => 'web_folder_list');
+
+ $items[] = array( 'title' => "Folder users",
+ 'target' => 'content',
+ 'link' => 'sites/web_folder_user_list.php',
+ 'html_id' => 'web_folder_user_list');
+
+ $module["nav"][] = array( 'title' => 'Folder protection',
+ 'open' => 1,
+ 'items' => $items);
+
+
+/*
Cron menu
*/
if($app->auth->get_client_limit($userid,'cron') != 0)
@@ -152,18 +172,6 @@
'items' => $items);
-
-// clean up
-unset($items);
-
-$items[] = array( 'title' => "Rewrite Rules",
- 'target' => 'content',
- 'link' => 'sites/proxy_reverse_list.php');
-
-
-$module["nav"][] = array( 'title' => 'Reverse Proxy',
- 'open' => 1,
- 'items' => $items);
// clean up
unset($items);
--
Gitblit v1.9.1