From b17cc67ee9cf6f83c2360da16fb53231203ada8a Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Wed, 23 May 2012 12:41:54 -0400
Subject: [PATCH] - Added group (we call groups "circles" so that users don't mix them up with user groups) feature to client messaging section so that messages can be sent to either all clients/resellers or to groups of clients/resellers. TODO: add circle access control so that 1) a reseller can create circles that contain only his clients, not all clients, and 2) a reseller can send messages only to his own circles instead of all circles.
---
interface/web/sites/lib/module.conf.php | 32 ++++++++++++++++++++------------
1 files changed, 20 insertions(+), 12 deletions(-)
diff --git a/interface/web/sites/lib/module.conf.php b/interface/web/sites/lib/module.conf.php
index 8802b27..cbcc62b 100644
--- a/interface/web/sites/lib/module.conf.php
+++ b/interface/web/sites/lib/module.conf.php
@@ -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