Lines Matching refs:this

25         $this->hlp =& plugin_load('helper', 'webdavclient');
26 if(is_null($this->hlp))
60 $this->action = $cmd;
67 if($this->hlp->syncConnection($connid, true, true) === false)
69 $this->error = true;
70 $this->errmsg = $this->hlp->getLastError();
75 if($this->hlp->syncConnection($connid, true, true, true) === false)
77 $this->error = true;
78 $this->errmsg = $this->hlp->getLastError();
83 $this->hlp->deleteConnection($connid);
92 $this->hlp->modifyConnection($connid, $permission, $dn, $syncinterval, $write, $active);
101 … $this->hlp->addConnection($uri, $username, $password, $dn, $dn, $type, '3600', false, false);
108 $this->error = true;
109 $this->errmsg = $this->getLang('nothing_selected');
115 …$this->hlp->addConnection($_REQUEST['calendar'][$idx], $_REQUEST['addusername'], $_REQUEST['addpas…
120 …$this->hlp->addConnection($_REQUEST['addressbook'][$idx], $_REQUEST['addusername'], $_REQUEST['add…
124 $this->result['connid'] = $param;
128 $this->hlp->deleteAllEntries($connid);
136 $this->error = true;
137 $this->errmsg = $this->getLang('empty_input');
140 $this->result = $this->hlp->queryServer($uri, $username, $password);
141 $this->result['username'] = $username;
142 $this->result['password'] = $password;
143 $this->result['uri'] = $uri;
156 ptln('<h2>'.$this->getLang('existing_connections').'</h2>');
162 ptln(' <input type="hidden" name="page" value="'.$this->getPluginName().'" />');
165 if($this->error === true)
167 ptln($this->errmsg);
171 switch($this->action)
174 ptln($this->getLang('reallyempty'));
175 …ptln('<input type="submit" name="cmd[reallyempty]['.$this->result['connid'].']" value="' . $this->…
178 … if(count($this->result['calendars']) == 0 && count($this->result['addressbooks']) == 0)
180 ptln($this->getLang('nothing_found'));
183 ptln('<h3>'.$this->getLang('calendars_found').'</h3>');
185 ptln('<tr><th>'.$this->getLang('select').'</th><th>'.
186 $this->getLang('name').'</th><th>'.$this->getLang('uri').'</th></tr>');
188 foreach($this->result['calendars'] as $href => $dn)
197 ptln('<h3>'.$this->getLang('addressbooks_found').'</h3>');
199 ptln('<tr><th>'.$this->getLang('select').'</th><th>'.
200 $this->getLang('name').'</th><th>'.$this->getLang('uri').'</th></tr>');
202 foreach($this->result['addressbooks'] as $href => $dn)
211 … ptln('<input type="hidden" name="addusername" value="'.$this->result['username'].'">');
212 … ptln('<input type="hidden" name="addpassword" value="'.$this->result['password'].'">');
214 $this->getLang('add_selected').'">');
219 $connections = $this->hlp->getConnections();
222 ptln('<th>'.$this->getLang('id').'</th><th>'.$this->getLang('name').'</th><th>'.
223 $this->getLang('syncinterval').'</th><th>'.$this->getLang('active').
224 …'</th><th>'.$this->getLang('write').'</th><th>'.$this->getLang('permission').'</th><th>'.$this->ge…
235 $this->getLang('active').'</option>'.
237 $this->getLang('inactive').'</option>'.
242 $this->getLang('write').'</option>'.
244 $this->getLang('nowrite').'</option>'.
248 … $this->getLang('modify').'" /><input type="submit" name="cmd[delete]['.$conn['id'].']" value="'.
249 …$this->getLang('delete').'" /><input type="submit" name="cmd[forcesync]['.$conn['id'].']" value="'.
250 $this->getLang('forcesync').'" /><input type="submit" name="cmd[forceresync]['.
251 …$conn['id'].']" value="'.$this->getLang('forceresync').'" /><input type="submit" name="cmd[empty][…
252 $conn['id'].']" value="'.$this->getLang('empty').'" /></td>');
259 ptln('<h2>'.$this->getLang('add_connection').'</h2>');
260 ptln($this->getLang('discovery_text'));
262 ptln('<tr><td>'.$this->getLang('uri').'</td><td><input type="text" name="uri"></td></tr>');
263 …ptln('<tr><td>'.$this->getLang('username').'</td><td><input type="text" name="username"></td></tr>…
264 …ptln('<tr><td>'.$this->getLang('password').'</td><td><input type="password" name="password"></td><…
265 …ptln('<tr><td></td><td><input type="submit" name="cmd[discover]" value="'.$this->getLang('discover…
270 ptln('<h2>'.$this->getLang('add_connection_manual').'</h2>');
271 ptln($this->getLang('add_text'));
273 ptln('<tr><td>'.$this->getLang('uri').'</td><td><input type="text" name="manuri"></td></tr>');
274 ptln('<tr><td>'.$this->getLang('name').'</td><td><input type="text" name="mandn"></td></tr>');
275 …ptln('<tr><td>'.$this->getLang('type').'</td><td><select name="mantype"><option value="calendar">'.
276 $this->getLang('calendar').'</option><option value="contacts">'.
277 $this->getLang('contacts').'</option><option value="icsfeed">'.
278 $this->getLang('icsfeed').'</option></select></td></tr>');
279 …ptln('<tr><td>'.$this->getLang('username').'</td><td><input type="text" name="manusername"></td></…
280 …ptln('<tr><td>'.$this->getLang('password').'</td><td><input type="password" name="manpassword"></t…
281 … ptln('<tr><td></td><td><input type="submit" name="cmd[add]" value="'.$this->getLang('add').'">'.