Home
last modified time | relevance | path

Searched +full:time +(+path:plugin +path:autologoff) -(+path:plugin +path:autologoff +path:lang) (Results 1 – 3 of 3) sorted by relevance

/plugin/autologoff/
H A Dhelper.php27 foreach((array) confToHash($this->configfile) as $usergroup => $time) {
28 $conf[rawurldecode($usergroup)] = (int) $time;
38 * @param $time
40 public function add_entry($usergroup, $time) { argument
41 $time = (int) $time;
46 if($time !== 0 && $time < 2) {
48 $time = 2;
52 io_saveFile($this->configfile, "$usergroup\t$time\
[all...]
H A Daction.php48 $time = $this->helper->usertime();
49 if(!$time) return;
51 // check if the time has expired meanwhile
54 $idle_time = time() - $_SESSION[DOKU_COOKIE]['autologoff'];
55 if( $idle_time >= $time * 60) {
66 // update the time
67 $_SESSION[DOKU_COOKIE]['autologoff'] = time();
68 $JSINFO['autologoff'] = $time;
72 * Ajax function returning the remaining time
83 $time
[all...]
H A Dadmin.php44 $this->helper->add_entry($_REQUEST['usergroup'], $_REQUEST['time']);
66 echo '<th>'.$this->getLang('time').'</th>';
70 foreach($config as $usergroup => $time){
81 echo '<td>'.hsc($time).'</td>';
88 echo '<td><input type="text" name="time" class="edit" /></td>';