Lines Matching refs:this
19 $controller->register_hook('ACTION_ACT_PREPROCESS', 'BEFORE', $this, 'checkTosAccept');
20 $controller->register_hook('TPL_ACT_UNKNOWN', 'BEFORE', $this, 'showTos');
42 $this->userTosState($user, true);
48 $newest = $this->newestTOS();
50 $accepted = $this->userTosState($user);
72 echo $this->locale_xhtml('intro');
74 $accepted = $this->userTosState($INPUT->server->str('REMOTE_USER'));
77 echo sprintf($this->getLang('showdiff'), dformat($accepted, '%f'));
80 echo $this->diffTos($accepted);
84 echo p_wiki_xhtml($this->getConf('tos'));
89 … ['do' => 'logout', 'sectok'=>getSecurityToken()]) . '">' . $this->getLang('nope') . '</a></li>';
91 [self::FORMFIELD => '1']) . '">' . $this->getLang('accept') . '</a></li>';
104 $state = $this->sessionState();
107 $changes = new \dokuwiki\ChangeLog\PageChangeLog($this->getConf('tos'));
116 return $this->sessionState($rev);
151 if (!$this->getConf('usesession')) return $set;
173 $change = new \dokuwiki\ChangeLog\PageChangeLog($this->getConf('tos'));
175 $old = rawWiki($this->getConf('tos'), $oldrev);
176 $new = rawWiki($this->getConf('tos'));