Lines Matching refs:getConf
34 if (substr($this->getConf('templates_path'),0,10) == 'data/pages') {
35 $dest = str_replace("data/pages", "./pages", $this->getConf('templates_path'));
38 $dest = $this->getConf('templates_path');
42 $avatarsFolder = $avatarHelper->getConf('namespace');
43 …if (($avatarsFolder == "user") && ($avatarsFolder == $this->getConf('users_namespace')) && (isadmi…
50 …if (($this->getConf('create_private_ns')) && (!is_file($this->dataDir.'/'.$this->getConf('template…
52 …if ((is_file(DOKU_CONF.'../'.$this->getConf('templates_path').'/userhomepage_private.txt')) && ($t…
53 … $source = DOKU_CONF.'../'.$this->getConf('templates_path').'/userhomepage_private.txt';
55 …} elseif ((is_file(DOKU_INC.$this->getConf('templatepath'))) && ($this->getConf('templatepath') !=…
56 $source = $this->getConf('templatepath');
68 …if (($this->getConf('create_public_page')) and (!is_file($this->dataDir.'/'.$this->getConf('templa…
70 …if ((is_file(DOKU_CONF.'../'.$this->getConf('templates_path').'/userhomepage_public.txt')) && ($th…
71 … $source = DOKU_CONF.'../'.$this->getConf('templates_path').'/userhomepage_public.txt';
82 …getConf('create_public_page')) and (strpos($this->getConf('public_pages_ns'),':%NAME%:%START%') !=…
84 …if ((is_file(DOKU_CONF.'../'.$this->getConf('templates_path').'/userhomepage_publicspace.txt')) &&…
85 … $source = DOKU_CONF.'../'.$this->getConf('templates_path').'/userhomepage_publicspace.txt';
121 …if ($this->getConf('create_private_ns') && is_file($this->dataDir.'/'.$this->getConf('templates_pa…
123 …$this->private_page_template = $this->dataDir.'/'.$this->getConf('templates_path').'/userhomepage_…
134 …if ($this->getConf('create_private_ns') && (is_dir($this->dataDir.'/'.$this->getConf('templates_pa…
136 … $path = realpath($this->dataDir.'/'.$this->getConf('templates_path').'/uhp_private_skeleton/');
138 if ($this->getConf('group_by_name')) {
140 …$this->private_ns = cleanID($this->getConf('users_namespace').':'.substr($this->privateNamespace()…
143 … $this->private_ns = cleanID($this->getConf('users_namespace').':'. $this->privateNamespace());
147 …if ((is_file($this->dataDir.'/'.$this->getConf('templates_path').'/uhp_private_skeleton'.$file)) a…
151 …$this->custom_page_template = $this->dataDir.'/'.$this->getConf('templates_path').'/uhp_private_sk…
162 …if ($this->getConf('create_public_page') && is_file($this->dataDir.'/'.$this->getConf('templates_p…
164 if (strpos($this->getConf('public_pages_ns'),':%NAME%:%START%') !== false) {
165 …$this->public_page_template = $this->dataDir.'/'.$this->getConf('templates_path').'/userhomepage_p…
167 …$this->public_page_template = $this->dataDir.'/'.$this->getConf('templates_path').'/userhomepage_p…
179 …if ($this->getConf('create_public_page') && (is_dir($this->dataDir.'/'.$this->getConf('templates_p…
180 … $path = realpath($this->dataDir.'/'.$this->getConf('templates_path').'/uhp_public_skeleton/');
185 …if ((is_file($this->dataDir.'/'.$this->getConf('templates_path').'/uhp_public_skeleton'.$file)) an…
189 …$this->custom_page_template = $this->dataDir.'/'.$this->getConf('templates_path').'/uhp_public_ske…
211 … send_redirect(wl($this->public_page, array('do='.$this->getConf('action')), true));
214 … (($created['private']) && (page_exists($this->private_page)) && ($this->getConf('edit_before_crea…
215 … send_redirect(wl($this->private_page, array('do='.$this->getConf('action')), true));
218 …} elseif (($this->getConf('redirection')) && (page_exists($this->private_page)) && (((!isset($_GET…
234 if ((!$this->getConf('no_acl')) && ($conf['useacl']) && ($this->userOk())) {
241 if ($this->getConf('create_private_ns')) {
244 if (($this->getConf('use_name_string')) or ($this->getConf('group_by_name'))) {
249 $where = cleanID($this->getConf('users_namespace')).':%USER%:*';
255 if ($this->getConf('acl_all_private') != 'noacl') {
256 $where = cleanID($this->getConf('users_namespace')).':*';
258 $perm = (int)$this->getConf('acl_all_private');
262 …if (($this->getConf('acl_user_private') != 'noacl') && ($this->getConf('acl_user_private') !== $th…
263 $where = cleanID($this->getConf('users_namespace')).':*';
265 $perm = (int)$this->getConf('acl_user_private');
270 if ($this->getConf('create_public_page')) {
272 if (strpos($this->getConf('public_pages_ns'),':%NAME%:%START%') !== false) {
273 … $where = str_replace('%NAME%:%START%', '%USER%', $this->getConf('public_pages_ns')).':*';
276 $where = cleanID($this->getConf('public_pages_ns')).':%USER%';
282 if ($this->getConf('acl_all_public') != 'noacl') {
284 … if ($this->getConf('users_namespace') == $this->getConf('public_pages_ns')) {
285 … $files = scandir($this->dataDir.'/pages/'.$this->getConf('public_pages_ns'));
287 … if (is_file($this->dataDir.'/pages/'.$this->getConf('public_pages_ns').'/'.$file)) {
291 if ($this->getConf('acl_all_public') != 'noacl') {
292 … $where = $this->getConf('public_pages_ns').':'.substr($file, 0, -4);
294 $perm = $this->getConf('acl_all_public');
298 if ($this->getConf('acl_user_public') != 'noacl') {
299 … $where = $this->getConf('public_pages_ns').':'.substr($file, 0, -4);
301 $perm = $this->getConf('acl_user_public');
310 if ($this->getConf('acl_all_public') != 'noacl') {
311 … $where = cleanID(str_replace(':%NAME%:%START%', '', $this->getConf('public_pages_ns'))).':*';
313 $perm = $this->getConf('acl_all_public');
317 if ($this->getConf('acl_user_public') != 'noacl') {
318 … $where = cleanID(str_replace(':%NAME%:%START%', '', $this->getConf('public_pages_ns'))).':*';
320 $perm = $this->getConf('acl_user_public');
327 if (strpos($this->getConf('templates_path'),'/pages') !== false) {
329 …if (($this->getConf('acl_all_templates') != 'noacl') && (($this->getConf('create_private_ns')) or …
330 … $where = end(explode('/',$this->getConf('templates_path'))).':userhomepage_private';
332 $perm = (int)$this->getConf('acl_all_templates');
334 … $where = end(explode('/',$this->getConf('templates_path'))).':userhomepage_public';
336 $perm = (int)$this->getConf('acl_all_templates');
340 …getConf('acl_user_templates') != 'noacl') && ($this->getConf('acl_user_templates') !== $this->getC…
341 … $where = end(explode('/',$this->getConf('templates_path'))).':userhomepage_private';
343 $perm = (int)$this->getConf('acl_user_templates');
345 … $where = end(explode('/',$this->getConf('templates_path'))).':userhomepage_public';
347 $perm = (int)$this->getConf('acl_user_templates');
386 if ( $this->getConf('use_name_string')) {
398 if ($this->getConf('use_start_page')) {
439 if (($conf['showuseras'] == "username_link") and ($this->getConf('userlink_replace'))) {
440 $classes = $this->getConf('userlink_classes');
455 if ($this->getConf('userlink_fa')) {
458 …getConf('userlink_icons').'" rel="nofollow" title="'.$this->getLang('privatenamespace').' ('.$priv…
461 if ($this->getConf('userlink_fa')) {
464 …di> (<a href="'.wl($publicId).'" class="'.$classes.' uhp_public_'.$this->getConf('userlink_icons')…
467 if ($this->getConf('userlink_fa')) {
470 …= '<a href="'.wl($privateId).'" class="'.$classes.' uhp_private_'.$this->getConf('userlink_icons')…
497 if (strpos($this->getConf('public_pages_ns'),':%NAME%:%START%') !== false) {
498 $PublicNS = str_replace(':%NAME%:%START%', '', $this->getConf('public_pages_ns'));
500 $PrivateNS = str_replace(':', '', $this->getConf('users_namespace'));
522 $groups = $this->getConf('groups_'.$check);