vcl-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jftho...@apache.org
Subject svn commit: r1778637 - /vcl/trunk/web/themes/dropdownmenus/page.php
Date Fri, 13 Jan 2017 17:22:29 GMT
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";



Mime
View raw message