You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by jf...@apache.org on 2017/01/13 17:22:29 UTC

svn commit: r1778637 - /vcl/trunk/web/themes/dropdownmenus/page.php

Author: jfthomps
Date: Fri Jan 13 17:22:29 2017
New Revision: 1778637

URL: http://svn.apache.org/viewvc?rev=1778637&view=rev
Log:
added check for mode not being inmaintenance to conditional that controls 'Log in' being displayed so that it is not displayed during maintenance windows

Modified:
    vcl/trunk/web/themes/dropdownmenus/page.php

Modified: vcl/trunk/web/themes/dropdownmenus/page.php
URL: http://svn.apache.org/viewvc/vcl/trunk/web/themes/dropdownmenus/page.php?rev=1778637&r1=1778636&r2=1778637&view=diff
==============================================================================
--- vcl/trunk/web/themes/dropdownmenus/page.php (original)
+++ vcl/trunk/web/themes/dropdownmenus/page.php Fri Jan 13 17:22:29 2017
@@ -163,7 +163,7 @@ function getHeader($refresh) {
 		$rt .= "                </ul>\n";
 	}
 
-	if(! $authed && $mode != 'selectauth' && $mode != 'submitLogin')
+	if(! $authed && $mode != 'selectauth' && $mode != 'submitLogin' &&  $mode != 'inmaintenance')
 		$rt .= "              <li><a href=\"" . BASEURL . SCRIPT . "?mode=selectauth\">" . i('Log in') . "</a></li>\n";
 	elseif($authed)
 		$rt .= "              <li id=\"logoutlink2\"><a href=\"" . BASEURL . SCRIPT . "?mode=logout\">" . i('Log out') . "</a></li>\n";