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/tools/lib/module.conf.php | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/interface/web/tools/lib/module.conf.php b/interface/web/tools/lib/module.conf.php
index 35eec96..3190d70 100644
--- a/interface/web/tools/lib/module.conf.php
+++ b/interface/web/tools/lib/module.conf.php
@@ -14,7 +14,8 @@
$items[] = array( 'title' => 'Password and Language',
'target' => 'content',
- 'link' => 'tools/user_settings.php');
+ 'link' => 'tools/user_settings.php',
+ 'html_id'=> 'user_settings');
$module['nav'][] = array( 'title' => 'User Settings',
@@ -23,12 +24,12 @@
$menu_dir = ISPC_WEB_PATH.'/tools/lib/menu.d';
-
+
if (is_dir($menu_dir)) {
if ($dh = opendir($menu_dir)) {
- //** Go trough all files in the menu dir
+ //** Go through all files in the menu dir
while (($file = readdir($dh)) !== false) {
- if($file != '.' && $file != '..' && substr($file,-9,9) == '.menu.php') {
+ if($file != '.' && $file != '..' && substr($file,-9,9) == '.menu.php' && $file != 'dns_resync.menu.php') {
include_once($menu_dir.'/'.$file);
}
}
--
Gitblit v1.9.1