function AddUserIDFilter($sFilter) { global $Security; $sFilterWrk = ""; $id = CurrentPageID() == "list" ? $this->CurrentAction : CurrentPageID(); if (!$this->UserIDAllow($id) && !$Security->IsAdmin()) { $sFilterWrk = $Security->UserIDList(); if ($sFilterWrk != "") { $sFilterWrk = '`id_usuario` IN (' . $sFilterWrk . ')'; } } // Call User ID Filtering event $this->UserID_Filtering($sFilterWrk); ew_AddFilter($sFilter, $sFilterWrk); return $sFilter; }
<?php if (CurrentPageID() == 'login') { ?> <style> #ewMenuRow, #ewMobileMenu{ display: none; } </style> <?php } ?>