Lines Matching refs:opt
42 if(isset($this->manager->opt['new'])) {
43 if(isset($this->manager->opt['save'])) {
53 unset($this->manager->opt['save']);
54 unset($this->manager->opt['new']);
55 $this->manager->opt['aid'] = $n;
65 if(!isset($this->manager->opt['aid'])) {
69 if(!dokuwiki_farm_animal::exists($this->manager->opt['aid'])) {
70 …rs', array('code' => 'animal_unknownanimal_failure', 'data' => array($this->manager->opt['aid'])));
73 $this->animal = new dokuwiki_farm_animal($this->manager->opt['aid'], $this->manager);
77 !isset($this->manager->opt['status']) &&
78 !isset($this->manager->opt['lockstate']) &&
79 …!(isset($this->manager->opt['users']) && (isset($this->manager->opt['save']) || isset($this->manag…
80 …this->manager->opt['editfile']) && isset($this->manager->opt['save']) && isset($this->manager->opt…
81 …s->manager->opt['editfile']) && isset($this->manager->opt['create']) && isset($this->manager->opt[…
82 …!(isset($this->manager->opt['delete']) && (isset($this->manager->opt['confirm']) || isset($this->m…
92 if(isset($this->manager->opt['status'])) {
93 $s = $this->manager->opt['status'];
100 if(isset($this->manager->opt['lockstate'])) {
101 $s = $this->manager->opt['lockstate'];
110 if(isset($this->manager->opt['users']) && isset($this->manager->opt['save'])) {
147 if(isset($this->manager->opt['users']) && isset($this->manager->opt['deleteuser'])) {
148 if($this->animal->deleteUser(base64_decode($this->manager->opt['deleteuser']))) {
154 …this->manager->opt['editfile']) && isset($this->manager->opt['save']) && isset($this->manager->opt…
155 if(isset($this->manager->opt['editfile_delete'])) {
156 if($this->animal->setFileContent(base64_decode($this->manager->opt['file']), '', true)) {
158 $this->manager->opt['file'] = null;
160 …}elseif(isset($_POST['animal_file']) && (isset($this->manager->opt['editfile_saveempty']) || !empt…
161 …is->animal->setFileContent(base64_decode($this->manager->opt['file']), isset($this->manager->opt['…
166 …s->manager->opt['editfile']) && isset($this->manager->opt['create']) && isset($this->manager->opt[…
167 if($this->animal->setFileContent($this->manager->opt['file'], '')) {
169 $this->manager->opt['file'] = base64_encode($this->manager->opt['file']);
174 if(isset($this->manager->opt['delete']) && isset($this->manager->opt['cancel'])) {
175 if(isset($this->manager->opt['confirm'])) unset($this->manager->opt['confirm']);
176 unset($this->manager->opt['delete']);
178 if(isset($this->manager->opt['delete']) && isset($this->manager->opt['confirm'])) {
184 unset($this->manager->opt['delete']);
185 unset($this->manager->opt['confirm']);
186 unset($this->manager->opt['aid']);
195 …is->manager->opt['config']) && !isset($this->manager->opt['users']) && !isset($this->manager->opt[…
201 …ptln(' <a '.(isset($this->manager->opt['users']) ? 'class="current_action"' : '').' href="'.$this-…
202 …ptln(' <a '.(isset($this->manager->opt['editfile']) ? 'class="current_action"' : '').' href="'.$th…
203 …ptln(' <a '.(isset($this->manager->opt['delete']) ? 'class="current_action"' : '').' href="'.$this…
213 …is->manager->opt['config']) && !isset($this->manager->opt['users']) && !isset($this->manager->opt[…
261 if(isset($this->manager->opt['users']) && $this->animal) {
270 $sort = isset($this->manager->opt['sort']) ? $this->manager->opt['sort'] : 'name';
271 $grp = isset($this->manager->opt['grp']) ? $this->manager->opt['grp'] : null;
313 if(isset($this->manager->opt['editfile']) && $this->animal) {
322 $file = isset($this->manager->opt['file']) ? base64_decode($this->manager->opt['file']) : null;
356 if(isset($this->manager->opt['new'])) {
372 if(isset($this->manager->opt['delete'])) {