From 5451b536d35d21907150569d6d28402d5c12dfc8 Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Sun, 1 May 2011 20:08:29 +0000 Subject: [PATCH] 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 --- config.inc.php | 3 --- configs/menu.conf | 1 + templates/users_menu.tpl | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/config.inc.php b/config.inc.php index ddde116f..aa157499 100644 --- a/config.inc.php +++ b/config.inc.php @@ -280,9 +280,6 @@ $CONF['fetchmail_extra_options'] = 'NO'; $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'. diff --git a/configs/menu.conf b/configs/menu.conf index 288c3b08..e208b64b 100644 --- a/configs/menu.conf +++ b/configs/menu.conf @@ -26,6 +26,7 @@ url_viewlog = viewlog.php 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 diff --git a/templates/users_menu.tpl b/templates/users_menu.tpl index 3f0c7e14..4a439f57 100644 --- a/templates/users_menu.tpl +++ b/templates/users_menu.tpl @@ -1,6 +1,6 @@