Lines Matching refs:manager

20 	var $manager = null;  variable in dokuwiki_farm_soapconfig
26 function __construct($manager) { argument
27 $this->manager = & $manager;
36 return $this->manager->wl('soapconfig', $opts);
45 !(isset($this->manager->opt['app']) && isset($this->manager->opt['save'])) &&
46 !(isset($this->manager->opt['app']) && isset($this->manager->opt['delete'])) &&
47 !(isset($this->manager->opt['new']) && isset($this->manager->opt['save'])) &&
48 !isset($this->manager->opt['advancedsave'])
53 $this->manager->error('system_errors', 'system_badtoken_failure');
58 if(isset($this->manager->opt['advancedsave'])) {
60 $this->manager->error('system_errors', 'postparametermissing_failure');
66 }else $this->manager->error('soapconfig_errors', 'soapconfig_save_failure');
71 if(isset($this->manager->opt['delete']) && isset($this->manager->opt['app'])) {
76 if($appname != $this->manager->opt['app']) $out[] = $p;
81 unset($this->manager->opt['app']);
82 $this->manager->success('soapconfig_save_success');
83 }else $this->manager->error('soapconfig_errors', 'soapconfig_save_failure');
97 $this->manager->error('system_errors', 'postparametermissing_failure');
125 if(isset($this->manager->opt['new']) && isset($this->manager->opt['save'])) {
129 $this->manager->error('soapconfig_errors', 'soapconfig_corruptedfile_failure');
136 $this->manager->opt['app'] = $name;
137 $this->manager->success('soapconfig_save_success');
139 }else $this->manager->error('soapconfig_errors', 'soapconfig_save_failure');
143 if(isset($this->manager->opt['save']) && isset($this->manager->opt['app'])) {
148 if($appname != $this->manager->opt['app']) {
155 $this->manager->opt['app'] = $name;
156 $this->manager->success('soapconfig_save_success');
157 }else $this->manager->error('soapconfig_errors', 'soapconfig_save_failure');
167 ptln('<div class="farm_cmd_title">'.$this->manager->getLang('soapconfig_title').'</div>');
168 ptln('<div class="farm_cmd_info">'.$this->manager->getLang('soapconfig_info').'</div>');
169 …ptln($this->manager->getLang('soapconfig_wsdlurl', array($this->manager->conf['farmwebroot'].'farm…
171 …tle="'.$this->manager->getLang('soapconfig_newapp').'"><img src="'.DOKU_FARM_WWW.'images/add.png" …
172 …'.$this->manager->getLang('soapconfig_advancededit').'"><img src="'.DOKU_FARM_WWW.'images/txt.png"…
175 if(isset($this->manager->opt['advanced'])) {
176 $this->manager->formHead(array('farm_cmd' => 'soapconfig'));
181 …pe="submit" class="button" name="farm_opt[advancedsave]" value="'.$this->manager->getLang('btn_sav…
188 …' '.$this->manager->getLang('soapconfig_field_name_name').' : '.$a['name']['value'].' '.($a['name'…
189 … '.$this->manager->getLang('soapconfig_field_name_passwordhash').' : '.$a['pwd']['value'].($a['pwd…
190manager->getLang('soapconfig_field_name_allowedservices').' : '.implode(', ', array_keys($a['allow…
191 …l(array('app' => $a['name']['value'])).'#remoteapp_edit" title="'.$this->manager->getLang('soapcon…
195 if(isset($this->manager->opt['app']) || isset($this->manager->opt['new'])) {
196 …ptln('<div class="soapedit">'.$this->manager->getLang('soapconfig_'.(isset($this->manager->opt['ap…
198 if(isset($this->manager->opt['app'])) $hf['farm_opt[app]'] = $this->manager->opt['app'];
200 $a = isset($this->manager->opt['app']) ? $apps[$this->manager->opt['app']] : null;
202 $this->manager->formHead($hf);
204 …ptln(' '.$this->manager->getLang('soapconfig_field_name_name').' : <input type="text" name="soap_r…
205 …ptln(' '.$this->manager->getLang('soapconfig_comment').' : <input type="text" name="soap_remoteapp…
206 ptln(' <small>'.$this->manager->getLang('soapconfig_field_desc_name').'</small>');
210 …ptln(' '.$this->manager->getLang('soapconfig_field_name_passwordhash').' : <input type="text" name…
211 …ptln(' '.$this->manager->getLang('soapconfig_comment').' : <input type="text" name="soap_remoteapp…
212 ptln(' <small>'.$this->manager->getLang('soapconfig_field_desc_passwordhash').'</small><br />');
214 ptln(' '.$this->manager->getLang('soapconfig_field_name_passwordhash_change'));
216 ptln(' '.$this->manager->getLang('soapconfig_field_name_passwordhash_change_nohashfunc'));
221 ptln(' '.$this->manager->getLang('soapconfig_field_name_allowedservices').' : <br />');
222 …ptln(' <small>'.$this->manager->getLang('soapconfig_field_desc_allowedservice_imposedargs').'</sm…
229 …ptln(' <small>'.$this->manager->getLang('soapconfig_field_desc_allowedservice_'.$m).'</small><br …
238 …ptln(' '.$this->manager->getLang('soapconfig_field_name_allowedservice_imposedargs').' : <input t…
241 …ptln(' '.$this->manager->getLang('soapconfig_comment').' : <input type="text" name="soap_remoteapp…
242 ptln(' <small>'.$this->manager->getLang('soapconfig_field_desc_allowedservices').'</small>');
246 …ptln(' <input type="submit" class="button" name="farm_opt[save]" value="'.$this->manager->getLang…
247manager->getLang('soapconfig_appdelete_sure', $a['name']['value'], 'js').'\')){this.type=\'submit\…