diff --git a/public_html/deployment/index.php b/public_html/deployment/index.php index 2c3f9044377c9796c49df58e1779dbcd3342308d..a076b96bd4ee79b6aa9cca097865f9aff280b096 100644 --- a/public_html/deployment/index.php +++ b/public_html/deployment/index.php @@ -74,14 +74,18 @@ if ($oUser->hasPermission('page_'.$sAction)){ $oCLog->add("adding actionlog.class"); - require_once("./classes/actionlog.class.php"); - $oLog=new Actionlog($sPrj); - $aFilter=array('limit'=>'0, 10'); - if ($sPrj && $sPrj!="all")$aFilter['project']=$sPrj; - $sPhpOut.='<div class="logs">' . $oLog->renderLogs($aFilter).'</div>'; + if ($oUser->getUsername()){ + require_once("./classes/actionlog.class.php"); + $aFilter=array('limit'=>'0, 10'); + if ($sPrj && $sPrj!="all"){ + $aFilter['project']=$sPrj; + } + $oLog=new Actionlog($sPrj); + $sPhpOut.='<div class="logs">' . $oLog->renderLogs($aFilter).'</div>'; + } $oCLog->add("adding actionlog.class done"); } else { - $sPhpOut.=$oUser->showDenied(); + $sPhpOut=$oUser->showDenied(); // return false; } diff --git a/public_html/deployment/pages/act_login.php b/public_html/deployment/pages/act_login.php index 39e79ddaa9e8ee80cfc8513048790262c1b7d73c..57fe7d2318c3aefb813d288d5c6dcec9ad846318 100644 --- a/public_html/deployment/pages/act_login.php +++ b/public_html/deployment/pages/act_login.php @@ -121,7 +121,7 @@ if ($oUser->getUsername()) { $sOut.= $oForm->renderHtml("login") . '</div>'; } -$sOut.= '<div id="navbuttom">' . aPrjHome() . '</div>'; +// $sOut.= '<div id="navbuttom">' . aPrjHome() . '</div>'; // -- Ausgabe echo $sOut;