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/mail/lib/module.conf.php |   26 +++++++++++++++++++++++++-
 1 files changed, 25 insertions(+), 1 deletions(-)

diff --git a/interface/web/mail/lib/module.conf.php b/interface/web/mail/lib/module.conf.php
index c69fe41..731fa91 100644
--- a/interface/web/mail/lib/module.conf.php
+++ b/interface/web/mail/lib/module.conf.php
@@ -75,6 +75,24 @@
 								'items'	=> $items);
 }
 
+//**** Mailinglist menu
+$items = array();
+
+if($app->auth->get_client_limit($userid,'mailmailinglist') != 0)
+{
+	$items[] = array( 'title' 	=> 'Mailing List',
+					  'target' 	=> 'content',
+					  'link'	=> 'mail/mail_mailinglist_list.php',
+					  'html_id' => 'mail_mailinglist_list');
+}
+
+if(count($items))
+{
+	$module['nav'][] = array(	'title'	=> 'Mailing List',
+								'open' 	=> 1,
+								'items'	=> $items);
+}
+
 //**** Spamfilter menu
 $items = array();
 
@@ -135,6 +153,13 @@
 //**** Statistics menu
 $items = array();
 
+
+//** Email Quotas
+$items[] = array( 'title'   => 'Mailbox quota',
+                  'target'  => 'content',
+                  'link'    => 'mail/user_quota_stats.php',
+                  'html_id' => 'user_quota_stats');
+
 $items[] = array( 'title' 	=> 'Mailbox traffic',
 				  'target' 	=> 'content',
 				  'link'	=> 'mail/mail_user_stats.php',
@@ -179,5 +204,4 @@
 								'open' 	=> 1,
 								'items'	=> $items);
 }
-
 ?>
\ No newline at end of file

--
Gitblit v1.9.1