Lines Matching refs:profiles

9     protected $profiles = array();  variable in admin_plugin_sync
26 if ( isset($this->profiles[$this->profno]['timeout']) ){
27 $timeout = (int) $this->profiles[$this->profno]['timeout'];
33 … $this->client = new IXR_Client($this->profiles[$this->profno]['server'], false, 80, $timeout);
36 … $this->client = new dokuwiki\Remote\IXR\Client($this->profiles[$this->profno]['server']);
41 if($this->profiles[$this->profno]['user']){
43 $this->profiles[$this->profno]['user'],
44 $this->profiles[$this->profno]['pass']
88 unset($this->profiles[$this->profno]);
89 $this->profiles = array_values($this->profiles); //reindex
93 if($this->profno === '') $this->profno = count($this->profiles);
97 $this->profiles[$this->profno] = $_REQUEST['prf'];
151 if($this->profiles[$this->profno]['type'] == 0 ||
152 $this->profiles[$this->profno]['type'] == 1){
155 if(($this->profiles[$this->profno]['type'] == 0 ||
156 $this->profiles[$this->profno]['type'] == 2)
198 $profiles = $conf['metadir'].'/sync.profiles';
199 if(file_exists($profiles)){
200 $this->profiles = unserialize(io_readFile($profiles,false));
209 $profiles = $conf['metadir'].'/sync.profiles';
210 io_saveFile($profiles,serialize($this->profiles));
231 if($this->profiles[$no]['ltime']){
232 …echo '<p>'.$this->getLang('lastsync').' '.strftime($conf['dformat'],$this->profiles[$no]['ltime'])…
252 foreach($this->profiles as $pno => $opts){
284 …" name="prf[server]" id="sync__server" class="edit" value="'.hsc($this->profiles[$no]['server']).'…
288 …pe="text" name="prf[ns]" id="sync__ns" class="edit" value="'.hsc($this->profiles[$no]['ns']).'" />…
292 …echo '<option value="0" '.(($this->profiles[$no]['depth']==0)?'selected="selected"':'').'>'.$this-…
293 …echo '<option value="1" '.(($this->profiles[$no]['depth']==1)?'selected="selected"':'').'>'.$this-…
294 …echo '<option value="2" '.(($this->profiles[$no]['depth']==2)?'selected="selected"':'').'>'.$this-…
295 …echo '<option value="3" '.(($this->profiles[$no]['depth']==3)?'selected="selected"':'').'>'.$this-…
300 …text" name="prf[user]" id="sync__user" class="edit" value="'.hsc($this->profiles[$no]['user']).'" …
303 …word" name="prf[pass]" id="sync__pass" class="edit" value="'.hsc($this->profiles[$no]['pass']).'" …
306 …name="prf[timeout]" id="sync__timeout" class="edit" value="'.hsc($this->profiles[$no]['timeout']).…
311 …echo '<input type="radio" name="prf[type]" id="sync__type0" value="0" '.(($this->profiles[$no]['ty…
314 …echo '<input type="radio" name="prf[type]" id="sync__type1" value="1" '.(($this->profiles[$no]['ty…
317 …echo '<input type="radio" name="prf[type]" id="sync__type2" value="2" '.(($this->profiles[$no]['ty…
324 if($no !== '' && $this->profiles[$no]['ltime']){
498 $this->profiles[$no]['ltime'] = $ltime;
499 $this->profiles[$no]['rtime'] = $rtime;
500 $this->profiles[$no]['letime'] = $letime;
501 $this->profiles[$no]['retime'] = $retime;
549 $ltime = (int) $this->profiles[$no]['ltime'];
550 $rtime = (int) $this->profiles[$no]['rtime'];
551 $letime = (int) $this->profiles[$no]['letime'];
552 $retime = (int) $this->profiles[$no]['retime'];
649 $ns = $this->profiles[$no]['ns'];
654 array('depth' => (int) $this->profiles[$no]['depth'],
658 array('depth' => (int) $this->profiles[$no]['depth'],
680 array('depth' => (int) $this->profiles[$no]['depth'],
684 array('depth' => (int) $this->profiles[$no]['depth'],