protected function unlockPageForEdition()
 {
     AnwStorage::unlockPage($this->getoPage(), AnwCurrentSession::getSession());
 }
Beispiel #2
0
 private function doReauthForm()
 {
     self::debug("Showing reauth form.");
     $asParams = $_GET;
     $sFormAction = AnwUtils::alink($this->getName(), $asParams);
     $sDisplayName = AnwCurrentSession::getSession()->getUser()->getDisplayName();
     $this->out = $this->tpl()->reauthForm($sFormAction, $sDisplayName);
     $this->headJsOnload($this->tpl()->reauthFormJs());
     $this->output();
 }
 function resetReauth()
 {
     $oSession = AnwCurrentSession::getSession();
     $nTimeAuth = time();
     $asData = array("SessionTimeAuth" => $this->db()->inttosql($nTimeAuth));
     $sSessionId = $oSession->getId();
     $this->db()->do_update($asData, "session", "WHERE SessionId=" . $this->db()->strtosql($sSessionId));
 }