From 2cb1563f63386b35a69e460051aa9b4a2851d104 Mon Sep 17 00:00:00 2001 From: ftimme <ft@falkotimme.com> Date: Wed, 30 May 2012 07:30:44 -0400 Subject: [PATCH] - Added (clickable) placeholders to client messaging function. - Added check so that the client password isn't inserted into the message (for security reasons). --- interface/web/tools/lib/module.conf.php | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/interface/web/tools/lib/module.conf.php b/interface/web/tools/lib/module.conf.php index 78d6120..3190d70 100644 --- a/interface/web/tools/lib/module.conf.php +++ b/interface/web/tools/lib/module.conf.php @@ -3,7 +3,7 @@ global $conf; $module['name'] = 'tools'; -$module['title'] = 'Tools'; +$module['title'] = 'top_menu_tools'; $module['template'] = 'module.tpl.htm'; $module['startpage'] = 'tools/index.php'; $module['tab_width'] = '60'; @@ -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