From f70027ffbedce10f412868a7bf9b0b67b113f1b1 Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Sun, 20 Jan 2019 11:48:48 +0100 Subject: Rev: 4423 --- mayor-orig/www/skin/default/base/html/base.phtml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'mayor-orig/www/skin/default') diff --git a/mayor-orig/www/skin/default/base/html/base.phtml b/mayor-orig/www/skin/default/base/html/base.phtml index de3d6a55..7c226647 100644 --- a/mayor-orig/www/skin/default/base/html/base.phtml +++ b/mayor-orig/www/skin/default/base/html/base.phtml @@ -167,7 +167,6 @@ function includeJS($page,$sub,$f,$skin) { } } } - } // ------------------------------------------------------------------- @@ -335,7 +334,7 @@ l53 -52 55 54 55 55 42 -43 43 -42 -55 -55 -54 -55 54 -55 55 -55 -43 -42 -42 function _svgLoginout($SET=array('print'=>true, 'color'=>'#00c0ff')) { return false; - global $page; +/* global $page; if (//_POLICY=='public' defined('_USERACCOUNT') && (!is_string(_USERACCOUNT) || _USERACCOUNT=='')) { if($page=='auth') $_bg = 'rgb(247, 197, 14)'; @@ -348,7 +347,7 @@ l53 -52 55 54 55 55 42 -43 43 -42 -55 -55 -54 -55 54 -55 55 -55 -43 -42 -42 $img .= ''; } if ($print===true) echo $img; else return $img; - +*/ } function _svgDown($SET=array('print'=>true, 'color' => '#3496b9')) { @@ -370,7 +369,6 @@ l53 -52 55 54 55 55 42 -43 43 -42 -55 -55 -54 -55 54 -55 55 -55 -43 -42 -42 if (is_array($AUTH['private']['allowOnly'])) $_class='class="restricted"'; else $_class = ''; echo '
'; - if ($loggedIn) { if (defined('_MAYORAUTHRESULT') && defined('_AUTH_FAILURE') && intval(_MAYORAUTHRESULT)>=intval(_AUTH_FAILURE)) { $_class=' failed'; @@ -405,7 +403,10 @@ l53 -52 55 54 55 55 42 -43 43 -42 -55 -55 -54 -55 54 -55 55 -55 -43 -42 -42 } echo ''; } else { - echo '
'; + if ($_SESSION['mayorapiauth']===true) { + echo ''; + } + echo '
'; } echo '
'; -- cgit v1.2.3