SF.net SVN: postfixadmin:[1059] trunk
Brought to you by:
christian_boltz,
gingerdog
From: <chr...@us...> - 2011-05-01 20:08:35
|
Revision: 1059 http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=1059&view=rev Author: christian_boltz Date: 2011-05-01 20:08:29 +0000 (Sun, 01 May 2011) Log Message: ----------- 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'] Modified Paths: -------------- trunk/config.inc.php trunk/configs/menu.conf trunk/templates/users_menu.tpl Modified: trunk/config.inc.php =================================================================== --- trunk/config.inc.php 2011-04-24 20:36:27 UTC (rev 1058) +++ trunk/config.inc.php 2011-05-01 20:08:29 UTC (rev 1059) @@ -280,9 +280,6 @@ $CONF['show_header_text'] = 'NO'; $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 // Below information will be on all pages. // If you don't want the footer information to appear set this to 'NO'. Modified: trunk/configs/menu.conf =================================================================== --- trunk/configs/menu.conf 2011-04-24 20:36:27 UTC (rev 1058) +++ trunk/configs/menu.conf 2011-05-01 20:08:29 UTC (rev 1059) @@ -26,6 +26,7 @@ url_logout = logout.php # user-menu +url_user_main = main.php url_user_edit_alias = edit-alias.php url_user_vacation = vacation.php url_user_password = password.php Modified: trunk/templates/users_menu.tpl =================================================================== --- trunk/templates/users_menu.tpl 2011-04-24 20:36:27 UTC (rev 1058) +++ trunk/templates/users_menu.tpl 2011-05-01 20:08:29 UTC (rev 1059) @@ -1,6 +1,6 @@ <div id="menu"> <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} <li><a target="_top" href="{#url_user_vacation#}">{$PALANG.pUsersMenu_vacation}</a></li> {/if} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |