You've already forked postfixadmin
mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-01-14 12:02:20 +03:00
menu.tpl:
- make broadcast a submenu of send "Send Email" Thanks to Jan Örnstedt (ornstedt @sf) for the suggestion git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@235 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
@@ -22,11 +22,12 @@ $submenu_fetchmail = _menulink("fetchmail.php?new=1", $PALANG['pFetchmail_new_en
|
||||
|
||||
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['fetchmail'] == 'YES') {
|
||||
}
|
||||
|
||||
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 @@ if ($CONF['sendmail'] == 'YES') {
|
||||
# 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') {
|
||||
|
||||
Reference in New Issue
Block a user