Revision: 235
http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=235&view=rev
Author: christian_boltz
Date: 2007-11-18 13:45:34 -0800 (Sun, 18 Nov 2007)
Log Message:
-----------
menu.tpl:
- make broadcast a submenu of send "Send Email"
Thanks to Jan ?\195?\150rnstedt (ornstedt @sf) for the suggestion
Modified Paths:
--------------
trunk/templates/menu.tpl
Modified: trunk/templates/menu.tpl
===================================================================
--- trunk/templates/menu.tpl 2007-11-18 21:43:10 UTC (rev 234)
+++ trunk/templates/menu.tpl 2007-11-18 21:45:34 UTC (rev 235)
@@ -22,11 +22,12 @@
if (authentication_has_role('global-admin')) {
$submenu_domain = _menulink("create-domain.php", $PALANG['pAdminMenu_create_domain']);
+ $submenu_sendmail = _menulink("broadcast-message.php", $PALANG['pAdminMenu_broadcast_message']);
} else {
$submenu_domain = "";
+ $submenu_sendmail = "";
}
-
if (authentication_has_role('global-admin')) {
print _menulink("list-admin.php", $PALANG['pAdminMenu_list_admin'], $submenu_admin);
} else {
@@ -41,7 +42,7 @@
}
if ($CONF['sendmail'] == 'YES') {
- print _menulink("sendmail.php", $PALANG['pMenu_sendmail']);
+ print _menulink("sendmail.php", $PALANG['pMenu_sendmail'], $submenu_sendmail);
}
# not really useful in the admin menu
@@ -49,10 +50,6 @@
# print _menulink("edit-vacation.php", $PALANG['pUsersMenu_vacation']);
#}
-if (authentication_has_role('global-admin')) {
- print _menulink("broadcast-message.php", $PALANG['pAdminMenu_broadcast_message']);
-}
-
print _menulink("password.php", $PALANG['pMenu_password']);
if (authentication_has_role('global-admin') && 'pgsql'!=$CONF['database_type'] && $CONF['backup'] == 'YES') {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|