Lines Matching refs:this

21 		$this->fshlp =& plugin_load('helper', 'freesync');
22 …if(!$this->fshlp) msg('Loading the freesync helper failed. Make sure that the tags plugin is insta…
61 $this->fshlp->loadProfile($_REQUEST['profile']);
64 case "save_profile": $this->fshlp->saveProfile($_REQUEST['oldname'], $param); break;
65 case "sync": $this->_sync(); break;
66 case "dosync": $this->_dosync($_REQUEST['pages'], $_REQUEST['files'], $_REQUEST['sum']); break;
72 $this->_sum = $summary;
73 $this->_showDoSync = 1;
83 $this->_sync_list_pages = array_filter($pages, "needmerge");
84 $this->_sync_list_files = array_filter($files, "needmerge");
88 $this->_sync_list = $this->fshlp->getPagesDiff();
89 if(empty($this->_sync_list))
92 $this->_showSync = 1;
97 ptln('<legend>'.$this->getLang('sync_profile').'</legend>');
100 ptln('<option value="new">'.$this->getLang('new_profile').'</option>');
102 $profiles = $this->fshlp->getProfiles();
106 (($profile['value'] == $this->fshlp->getProfileName())?'selected="selected"':'').
110 ptln('<input class="button" type="submit" value="'.$this->getLang('select').'"/>');
114 if($this->fshlp->getProfileName() != "") {
115 $this->_html_startSync();
122 $profile = $this->fshlp->getProfile();
124 ptln('<legend>Edit '.$this->fshlp->getProfileName().' profile</legend>');
126 ptln('<tr><td><label for="xmlrpcurl">'.$this->getLang('xmlrpcurl').'</label></td>');
128 ptln('<tr><td><label for="namespace">'.$this->getLang('namespace').'</label></td>');
130 ptln('<tr><td><label for="user">'.$this->getLang('user').'</label></td>');
132 ptln('<tr><td><label for="pass">'.$this->getLang('pass').'</label></td>');
135 ptln('<tr><td><label for="pages">'.$this->getLang('pages').'</label></td>');
137 ptln('<tr><td><label for="files">'.$this->getLang('files').'</label></td>');
140 …ptln('<tr><td colspan="2"><input type="hidden" name="oldname" value="'.$this->fshlp->getProfileNam…
141 …ptln('<input type="submit" class="button" name="fn[save_profile][save]" value="'.$this->getLang('s…
148 ptln('<legend>'.$this->getLang('start_sync').'</legend>');
149 ptln($this->fshlp->getProfileName().'<br/>');
151 ptln('<input type="hidden" name="profile" value="'.$this->fshlp->getProfileName().'"/>');
152 …ptln('<input type="submit" name="fn[sync][sync]" class="button" value="'.$this->getLang('sync').'"…
162 ….$this->getLang('page').'</th><th>'.$this->getLang('local').'</th><th>&gt;</th><th>=</th><th>&lt;<…
166 while(list($p, $page) = each($this->_sync_list)) {
173 …astModified'])?'<a href="javascript:plugin_freesync_diff(\''.$p.'\', \''.$this->fshlp->getProfileN…
178 ptln('<input type="hidden" name="profile" value="'.$this->fshlp->getProfileName().'"/>');
179 ptln('<label>'.$this->getLang('sum').'<input class="edit" name="sum" type="text"/></label>');
180 …ptln('<input type="submit" class="button" name="fn[dosync]" value="'.$this->getLang('dosync').'"/>…
187 if(!empty($this->_sync_list_pages)) {
188 foreach($this->_sync_list_pages as $page => $direction) {
190 ptln($this->getLang('pull').' '.$page.'...');
193 … "call=_freesync_page_'.$direction.'&profile='.$this->fshlp->getProfileName().'&id='.$page.'&sum='…
199 if(!empty($this->_sync_list_files)) {
200 foreach($this->_sync_list_files as $file => $direction) {
202 ptln($this->getLang('pull').' '.$file.'...');
205 … "call=_freesync_file_'.$direction.'&profile='.$this->fshlp->getProfileName().'&id='.$file.'&sum='…
222 print $this->locale_xhtml('intro');
226 if($this->_showSync) {
227 $this->_html_showSync();
228 }elseif($this->_showDoSync) {
229 $this->_html_doSync();
231 $this->_html_profileSelect();
232 $this->_html_profileEdit();