mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-20 03:36:20 +02:00
The link target of the "Main" menu item in users/ was configurable in
$CONF['user_footer_link']. This doesn't really make sense - it should always be a link to users/main.php. configs/menu.conf: - added url_user_main = main.php templates/users_menu.tpl: - replaced $CONF.user_footer_link with #url_user_main# config.inc.php: - removed (now unused) $CONF['user_footer_link'] git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1059 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
parent
10368edc90
commit
5451b536d3
@ -280,9 +280,6 @@ $CONF['fetchmail_extra_options'] = 'NO';
|
|||||||
$CONF['show_header_text'] = 'NO';
|
$CONF['show_header_text'] = 'NO';
|
||||||
$CONF['header_text'] = ':: Postfix Admin ::';
|
$CONF['header_text'] = ':: Postfix Admin ::';
|
||||||
|
|
||||||
// link to display under 'Main' menu when logged in as a user.
|
|
||||||
$CONF['user_footer_link'] = "http://change-this-to-your.domain.tld/main";
|
|
||||||
|
|
||||||
// Footer
|
// Footer
|
||||||
// Below information will be on all pages.
|
// Below information will be on all pages.
|
||||||
// If you don't want the footer information to appear set this to 'NO'.
|
// If you don't want the footer information to appear set this to 'NO'.
|
||||||
|
@ -26,6 +26,7 @@ url_viewlog = viewlog.php
|
|||||||
url_logout = logout.php
|
url_logout = logout.php
|
||||||
|
|
||||||
# user-menu
|
# user-menu
|
||||||
|
url_user_main = main.php
|
||||||
url_user_edit_alias = edit-alias.php
|
url_user_edit_alias = edit-alias.php
|
||||||
url_user_vacation = vacation.php
|
url_user_vacation = vacation.php
|
||||||
url_user_password = password.php
|
url_user_password = password.php
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<div id="menu">
|
<div id="menu">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a target="_top" href="{$CONF.user_footer_link}">{$PALANG.pMenu_main}</a></li>
|
<li><a target="_top" href="{#url_user_main#}">{$PALANG.pMenu_main}</a></li>
|
||||||
{if $CONF.vacation===YES}
|
{if $CONF.vacation===YES}
|
||||||
<li><a target="_top" href="{#url_user_vacation#}">{$PALANG.pUsersMenu_vacation}</a></li>
|
<li><a target="_top" href="{#url_user_vacation#}">{$PALANG.pUsersMenu_vacation}</a></li>
|
||||||
{/if}
|
{/if}
|
||||||
|
Loading…
Reference in New Issue
Block a user