diff options
author | M.Gergo | 2019-01-20 11:48:48 +0100 |
---|---|---|
committer | M.Gergo | 2019-01-20 11:48:48 +0100 |
commit | f70027ffbedce10f412868a7bf9b0b67b113f1b1 (patch) | |
tree | fbcc48049f1e66fe3ec66a0f3d8eee47bb400cdb /mayor-orig/www/skin/default | |
parent | e6988247360fa98b85915a38803d018dd353df00 (diff) | |
download | mayor-f70027ffbedce10f412868a7bf9b0b67b113f1b1.tar.gz mayor-f70027ffbedce10f412868a7bf9b0b67b113f1b1.zip |
Rev: 4423
Diffstat (limited to 'mayor-orig/www/skin/default')
-rw-r--r-- | mayor-orig/www/skin/default/base/html/base.phtml | 11 |
1 files changed, 6 insertions, 5 deletions
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 .= '<span id="mayorLoginoutSmall" class="icon-lock"></span></a>'; } 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 '<div id="mayorGlobalLogin" '.$_class.'>'; - 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 '</td></tr></table>'; } else { - echo '<a href="'.href('index.php?page=session&f=logout&toPolicy=public',array('skin','lang','sessionID')).'"><div class="large icon-lock"></div></a>'; + if ($_SESSION['mayorapiauth']===true) { + echo '<span style="position: absolute; top:8px; left:0px; color: lightgreen; font-size: 14px;" class="icon-star-alt" title="Megbízható böngésző"></span>'; + } + echo '<a href="'.href('index.php?page=session&f=logout&toPolicy=public',array('skin','lang','sessionID')).'"><div class="large icon-lock" '.$_style.'></div></a>'; } echo '</div>'; |