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/sites/lib/module.conf.php |   60 ++++++++++++++++++++++++++++++++++++++++++++++++------------
 1 files changed, 48 insertions(+), 12 deletions(-)

diff --git a/interface/web/sites/lib/module.conf.php b/interface/web/sites/lib/module.conf.php
index 8802b27..a253dcd 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)
@@ -132,6 +152,34 @@
 	                            'open'  => 1,
 	                            'items' => $items);
 }
+
+//*** APS menu
+$items = array();
+
+$items[] = array('title'   => 'Available packages',
+                 'target'  => 'content',
+                 'link'    => 'sites/aps_availablepackages_list.php',
+                 'html_id' => 'aps_availablepackages_list');
+
+$items[] = array('title'   => 'Installed packages',
+                 'target'  => 'content',
+                 'link'    => 'sites/aps_installedpackages_list.php',
+                 'html_id' => 'aps_installedpackages_list');
+                
+
+// Second menu group, available only for admins
+if($_SESSION['s']['user']['typ'] == 'admin') 
+{
+	$items[] = array('title'   => 'Update Packagelist',
+                 'target'  => 'content',
+                 'link'    => 'sites/aps_cron_apscrawler_if.php',
+                 'html_id' => 'aps_packagedetails_show');
+}
+
+$module['nav'][] = array('title' => 'APS Installer',
+                         'open'  => 1,
+                         'items' => $items);
+
 
 //**** Statistics menu
 $items = array();
@@ -152,18 +200,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