Lines Matching refs:this

41         $this->plugin_name ='htmlOKay'; 
42 $this->current_namespace = rtrim($this->path, '/');
44 $this->_loadUserData();
46 $script = DOKU_PLUGIN . $this->plugin_name . '/' . $this->ajax_script;
51 $this->ajax_script = $url;
52 $this->global_conf = $conf;
53 $this->init();
54 $this->traverseDirTree($this->path, 'outputpath', 'outputpath');
92 $data_file = DOKU_PLUGIN . $this->plugin_name . '/conf/access/' . $this->namespace_file;
93 …$this->saved_inf = io_readFile($data_file, false); // 'false' returns uncleaned string for unseria…
94 if(isset($this->saved_inf)) {
95 $this->saved_inf = unserialize($this->saved_inf);
102 $this->filespecs = $_POST['filespecs'];
103 $this->request = $_REQUEST;
104 $this->output = $_POST;
105 $this->current_namespace = $_POST['abs_path'];
106 $this->namespace_descriptor = $this->directories[$this->current_namespace]['namespace'];
108 $this->namespace_file = preg_replace('/\:/', '#', $this->namespace_descriptor);
112 … $this->error_msg = "HTML Permissions for " . $this->namespace_file ." have been removed.";
115 elseif ($this->filespecs[0] == 'none')
117 $this->error_msg = "Incomplete data: No files selected";
121 $data_file = DOKU_PLUGIN . $this->plugin_name . '/conf/access/' . $this->namespace_file;
122 $this->namespace_file = $data_file;
124 $inf = $this->get_output_array();
126 $this->saved_inf = $inf;
136 $keys = array_keys($this->output);
141 foreach($this->output as $item => $val)
161 $new_inf['namespace'] = $this->namespace_file;
167 $this->wiki_home = rtrim($this->wiki_home, '/');
168 $this->directories[$this->wiki_home]['name'] = '_ROOT_';
169 $this->directories[$this->wiki_home]['namespace'] = '_ROOT_';
170 $this->wiki_home = ltrim($this->wiki_home, '/');
171 $this->wiki_home = preg_quote($this->wiki_home, '/');
183 $this->users = array();
197 $this->users[$row[0]]['name'] = urldecode($row[2]);
198 $this->users[$row[0]]['mail'] = $row[3];
199 $this->users[$row[0]]['grps'] = $groups;
203 $this->groups[$grp][] = $row[0];
215 $namespace_string = preg_replace('/^' . $this->wiki_home . '/', "", $namespace_string);
235 if ($fileFunc !== null) $this->$fileFunc($path);
239 if ($dirFunc !== null) $this->$dirFunc($path);
242 $this->traverseDirTree($path . '/', $fileFunc, $dirFunc, $afterDirFunc);
244 if ($afterDirFunc !== null) $this->$afterDirFunc($path);
257 $this->directories[$path] = array();
258 $this->directories[$path]['name'] = $name;
259 $this->directories[$path]['namespace'] = $this->get_namespace($path);
260 $this->directories[$path]['files'] = array();
264 $this->directories[$dir]['files'][] = $name;
272 foreach($this->directories as $dir => $info)
276 if ($dir == $this->current_namespace)
290 $groups = $this->groups;
293 …list($checked_strict, $checked_medium, $checked_lax, $su) = $this->get_checked($group, $this->save…
308 $files = $this->directories[$dir]['files'];
312 if (isset($this->saved_inf['filespecs']))
314 if (in_array ($file, $this->saved_inf['filespecs']))
365 foreach($this->users as $user => $user_array)
369 …ecked_strict, $checked_medium, $checked_lax, $checked_su) = $this->get_checked($user, $this->saved…
380 $this->scrollbars = true;
381 $this->user_entries = count($options);
410 $this->print_scripts($this->ajax_script);
413 $this->debug(false,false);
415 if ($this->error_msg)
417 print "<center><h4>$this->error_msg</h4></center>";
422 echo $this->locale_xhtml('selection');
429 . '<input type="hidden" name="page" value="' . $this->plugin_name . '" />');
435 $this->write_SELECT('Namespace', 'abs_path', 'get_directory_options', "");
436 $this->write_SELECT('Files', 'filespecs[]',
437 'get_file_options', rtrim($this->current_namespace, '/'),
456 $options = $this->get_group_options();
467 $options = $this->get_user_options();
480 if ($this->scrollbars)
482 …ptln('<script language="javascript"> user_table_size_htmlOKay(' . $this->user_entries . '); </scri…
498 . $this->directories[$this->current_namespace]['namespace'] . '</span>',
509 $options = $this->$options_func($param);
527 if(!$this->show_debug) return;
538 print_r($this->saved_inf);
540 print_r($this->request);
542 echo "<b>File:</b> $this->namespace_file \n";
546 print_r ($this->groups);
551 print_r ($this->users);
556 echo "Output: <br>";print_r($this->output);
557 echo "Script: " .$this->ajax_script . " <--> Path: $this->ajax_path_temp\n";