| /plugin/ireadit/action/ |
| H A D | ireadit.php | 22 global $INFO, $ACT; 25 if (empty($INFO['meta']['plugin_ireadit=0.2'])) return; 26 $ireadit_data = $INFO['meta']['plugin_ireadit=0.2']; 38 … if ($helper->user_can_read_page($ireadit_data, $INFO['id'], $INFO['lastmod'], $INFO['client'])) { 39 …echo '<a href="' . wl($INFO['id'], ['do' => 'ireadit', 'rev' => $INFO['lastmod']]) . '">' . $this-… 54 ORDER BY timestamp', $INFO['id'], $INFO['lastmod']); 67 …if ($this->getConf('show_not_read_list') && $helper->use_ireadit_here($INFO['id'], $INFO['lastmod'… 86 global $INFO; 88 if (!$INFO['client']) return; 89 if (empty($INFO['meta']['plugin_ireadit=0.2'])) return; [all …]
|
| /plugin/approve/action/ |
| H A D | approve.php | 25 global $INFO; 30 if (!$acl->useApproveHere($INFO['id'])) return; 33 $href = wl($INFO['id'], ['approve' => 'approve']); 38 $href = wl($INFO['id'], ['ready_for_approval' => 'ready_for_approval']); 47 global $INFO; 54 if (!$acl->useApproveHere($INFO['id'])) return; 56 $last_approved_rev = $db->getLastDbRev($INFO['id'], 'approved'); 57 if ($last_approved_rev == $INFO['rev']) { 66 global $INFO; 73 if (!$acl->useApproveHere($INFO['id'])) return; [all …]
|
| /plugin/approve/helper/ |
| H A D | tpl.php | 8 global $INFO; 10 if ($action != 'show' || !$INFO['exists']) return; 13 …if (auth_quickaclcheck($INFO['id']) <= AUTH_READ && !$this->getConf('display_banner_for_readonly')… 19 if (!$acl->useApproveHere($INFO['id'])) return; 21 $last_change_date = @filemtime(wikiFN($INFO['id'])); 22 $rev = !$INFO['rev'] ? $last_change_date : $INFO['rev']; 28 $page_revision = $db->getPageRevision($INFO['id'], $rev); 29 $last_approved_rev = $db->getLastDbRev($INFO['id'], 'approved'); 57 if ($acl->clientCanSeeDrafts($INFO['id'])) { 58 echo ' <a href="' . wl($INFO['id']) . '">'; [all …]
|
| H A D | acl.php | 19 global $INFO; 22 if (!isset($INFO['userinfo'])) return false; 30 } elseif ($page_metadata['approver'] == $INFO['client']) { // user is approver 34 in_array(substr($page_metadata['approver'], 1), $INFO['userinfo']['grps'])) { 46 global $INFO; 55 … if ($user_or_group[0] == '@' && in_array(substr($user_or_group, 1), $INFO['userinfo']['grps'])) { 57 } elseif ($user_or_group == $INFO['client']) {
|
| /plugin/htmlokay/ |
| D | helper.php | 78 global $INFO, $ID; 80 if (empty($INFO['namespace'])) { 81 $INFO['namespace'] = getNS($ID); 84 if (!empty($INFO['namespace'])) 86 $namespace = $INFO['namespace']; 102 $INFO['htmlOK_access_scope'] = $this->get_access_scope($access_file); 113 if(!empty($INFO['filepath'])) { 114 $this->curent_file = basename($INFO['filepath']); 134 global $INFO; 143 $INFO['htmlOK_client'] = $INFO['client']; // set as a flag for use in syntax.php [all …]
|
| D | action.php | 37 global $INFO, $ID; 55 global $INFO; 75 global $INFO; 87 … $INFO['htmlOK_access_scope'] = $this->helper->get_access_scope($access_file); 96 if(!empty($INFO['filepath'])) { 97 $this->curent_file = basename($INFO['filepath']); 108 global $INFO; 111 if(!empty($INFO['userinfo'])) { 135 global $INFO, $JSINFO; 170 global $INFO; [all …]
|
| /plugin/struct/_test/ |
| H A D | SearchConfigTest.php | 18 global $INFO; 19 $INFO['id'] = 'foo:bar:baz'; 38 global $INFO; 44 $INFO['id'] = 'foo:bar:baz'; 48 $INFO['id'] = 'foo:bar:start'; 49 saveWikiText($INFO['id'], 'start page', 'start created'); 51 saveWikiText($INFO['id'], '', 'start page deleted'); 55 $INFO['id'] = 'foo:bar:bar'; 56 saveWikiText($INFO['id'], 'start page', 'start created'); 58 saveWikiText($INFO['id'], '', 'start page deleted'); [all …]
|
| /plugin/userhomepage/ |
| D | helper.php | 46 global $INFO; 51 …lasses.' rel="nofollow" title="'.$this->getLang('privatenamespace').'">'.$INFO['userinfo']['name']… 62 global $INFO; 67 …geId).'" '.$classes.' rel="nofollow" title="'.$this->publicString().'">'.$INFO['userinfo']['name']… 97 global $INFO; 102 …return '<li>'.$lang['loggedinas'].' '.$this->getPrivateLink($INFO['userinfo']['name']).' ('.$this-… 140 global $INFO; 149 $fn = $INFO['filepath']; 151 if($INFO['rev']) { 158 $date = dformat($INFO['lastmod']); [all …]
|
| /plugin/epub/ |
| D | action.php | 31 global $INFO; 38 if (!$this->helper->is_inCache($INFO['id'])) return; 40 $auth = auth_quickaclcheck($INFO['id']); 42 $page_data = $this->helper->get_page_data($INFO['id']); 61 global $INFO; 67 if (!$this->helper->is_inCache($INFO['id'])) return; //cache set in syntax.php 69 if(strpos($INFO['id'],'epub') === false) return; 70 $wiki_file = wikiFN($INFO['id']); 78 $auth = auth_quickaclcheck($INFO['id']); 81 $client=$INFO['client']; [all …]
|
| /plugin/dirtylittlehelper/ |
| D | action.php | 48 global $ACT, $JSINFO, $ID, $INPUT, $auth, $TPL, $INFO; 50 $INFO['dlh'] = array( 51 'isadmin' => (int) $INFO['isadmin'] 52 , 'isauth' => (int) $INFO['userinfo'] 59 if( !$INFO['userinfo'] && $_GET['do']!='login' && $this->getConf('must_login') ) { 72 , 'isadmin' => (int) $INFO['isadmin'] 73 , 'isauth' => (int) $INFO['userinfo'] 82 $INFO['dlh']['act_edit'] = preg_match("/" . $regex ."/",$ACT); 87 if($INFO['dlh']['act_edit'] && $INFO['dlh']['isadmin'] && $INFO['dlh']['isauth']){ 107 if( $INFO['dlh']['act_edit'] [all …]
|
| /plugin/alertrocketchatgroup/ |
| D | action.php | 53 global $INFO; 67 $fullname = $INFO['userinfo']['name']; 68 $page = $INFO['namespace'] . $INFO['id']; 69 $title = "{$fullname} atualizou a TRIDF-WIKI <{$this->urlize()}|{$INFO['id']}>"; 73 if(explode(':',$INFO['id'])[0] == $gpr){ 131 global $INFO; 136 $url = DOKU_URL . "doku.php?id={$INFO['id']}&rev={$diffRev}&do=diff"; 138 $url = DOKU_URL . "doku.php?id={$INFO['id']}"; 142 $id = $INFO['id']; 153 $id = $INFO['id'];
|
| /plugin/webexteamsnotifier/ |
| D | action.php | 34 global $INFO; 42 $current_namespace = explode(':', $INFO['namespace']); 49 $fullname = $INFO['userinfo']['name']; 50 $page = $INFO['namespace'] . $INFO['id']; 51 $title = "{$fullname} updated page [{$INFO['id']}]({$this->urlize()})"; 118 global $INFO; 125 $url = DOKU_URL . "doku.php?id={$INFO['id']}&rev={$diffRev}&do=diff"; 127 $url = DOKU_URL . "doku.php?id={$INFO['id']}"; 131 $id = $INFO['id']; 142 $id = $INFO['id'];
|
| /plugin/rocketchatnotifier/ |
| D | action.php | 36 global $INFO; 43 $current_namespace = explode(':', $INFO['namespace']); 50 $fullname = $INFO['userinfo']['name']; 51 $page = $INFO['namespace'] . $INFO['id']; 52 $title = "{$fullname} updated page <{$this->urlize()}|{$INFO['id']}>"; 123 global $INFO; 128 $url = DOKU_URL . "doku.php?id={$INFO['id']}&rev={$diffRev}&do=diff"; 130 $url = DOKU_URL . "doku.php?id={$INFO['id']}"; 134 $id = $INFO['id']; 145 $id = $INFO['id'];
|
| /plugin/task/ |
| D | action.php | 45 global $INFO; 51 $INFO = pageinfo(); 54 if ($INFO['perm'] >= AUTH_CREATE) { 57 if ($INFO['locked']) { 64 if (!@file_exists($INFO['filepath'])) { 96 global $INFO; 107 '@NAME@' => $INFO['userinfo']['name'], 108 '@MAIL@' => $INFO['userinfo']['mail'], 141 global $INFO; 176 if ($INFO['perm'] != AUTH_ADMIN) { [all …]
|
| /plugin/lms/syntax/ |
| D | lms.php | 70 global $INFO; 71 $seen = $this->hlp->getLesson($INFO['id'], $this->user); 117 global $INFO; 120 $seen = $this->hlp->getLesson($INFO['id'], $this->user); 124 return $this->makeLink($INFO['id'], 'unseen'); 126 return $this->makeLink($INFO['id'], 'seen'); 136 global $INFO; 137 $next = $this->hlp->getNextLesson($INFO['id']); 149 global $INFO; 150 $prev = $this->hlp->getPrevLesson($INFO['id']);
|
| /plugin/dokusioc/ |
| D | action.php | 301 global $ID, $INFO, $REV, $conf; 304 $INFO['meta']['title'] . ($REV ? ' (rev ' . $REV . ')' : ''), 312 …serpage_id = cleanID($this->getConf('userns')) . ($conf['useslash'] ? '/' : ':') . $INFO['editor']; 322 $INFO['meta']['title'] . ($REV ? ' (rev ' . $REV . ')' : ''), // subject 328 if (isset($INFO['meta']['date']['created'])) { 329 $wikipage->addCreated(date('c', $INFO['meta']['date']['created'])); 332 if (isset($INFO['meta']['date']['modified'])) { 333 $wikipage->addModified(date('c', $INFO['meta']['date']['modified'])); 336 if ($INFO['editor'] && $this->getConf('userns')) { 337 …$wikipage->addCreator(array('foaf:maker' => '#' . $INFO['editor'], 'sioc:modifier' => $dwuserpage_… [all …]
|
| /plugin/hipchat/ |
| D | action.php | 42 global $INFO; 48 $current_namespace = explode(':', $INFO['namespace']); 54 $fullname = $INFO['userinfo']['name']; 55 $username = $INFO['client']; 56 $page = $INFO['namespace'] . $INFO['id']; 67 …this->getLang('hipchat_update').'<b><a href="' . $this->urlize() . '">' . $INFO['id'] . '</a></b>'; 79 global $INFO; 81 $page = $INFO['id'];
|
| /plugin/struct/meta/ |
| H A D | SearchConfig.php | 117 global $INFO; 118 if (!isset($INFO['id'])) { 119 $INFO['id'] = ''; 121 $ns = getNS($INFO['id']); 133 $INFO['id'], 135 noNS($INFO['id']), 148 if ($start === $INFO['id']) { 153 $val = $INFO['id']; 188 global $INFO; 203 $schemaData = AccessTable::getPageAccess($table, $INFO['id']); [all …]
|
| /plugin/metaheaders/ |
| D | action.php | 48 global $INFO; 102 $replace = array('@AUTHOR@' => $INFO['meta']['creator'], 103 '@ID@' => $INFO['id'], 104 '@CREATED@' => date('Y-m-d\TH:i:sO',$INFO['meta']['date']['created']), 105 '@LASTMOD@' => date('Y-m-d\TH:i:sO',$INFO['lastmod']), 106 … '@ABSTRACT@' => preg_replace("/\s+/", ' ', $INFO['meta']['description']['abstract']), 107 '@TITLE@' => $INFO['meta']['title'], 108 … '@RELATION@' => @implode(', ', @array_keys($INFO['meta']['relation']['references']?:[])), 109 … '@CONTRIBUTORS@' => @implode(', ', @array_values($INFO['meta']['contributor']?:[]))
|
| /plugin/renderrevisions/action/ |
| H A D | revisions.php | 38 global $INFO; 46 $id = $INFO['id']; 75 global $INFO; 81 if (!$REV || !$INFO['id']) { 87 if(auth_quickaclcheck($INFO['id']) < AUTH_READ) { 95 if (!$storage->hasRevision($INFO['id'], (int)$REV)) { 117 global $INFO; 126 $content = $storage->getRevision($INFO['id'], (int)$REV); 130 … '<a href="' . wl($INFO['id'], ['rev' => $REV]) . '">' . $this->getLang('rerender') . '</a>'
|
| /plugin/nodisp/syntax/ |
| D | basic.php | 50 global $INFO; 56 if($INFO['isadmin'] || $INFO['ismanager'] ) break; 61 if($INFO['isadmin'] || $INFO['ismanager'] ) break; 72 global $INFO; 77 $user_groups = $INFO['userinfo']['grps'];
|
| /plugin/datepicker/_test/ |
| D | syntax.test.php | 18 global $INFO; 20 $INFO['id'] = $id; 40 $INFO['perm'] = AUTH_EDIT; 52 global $INFO; 54 $INFO['id'] = $id; 73 $INFO['perm'] = AUTH_EDIT; 84 global $INFO; 85 $INFO['perm'] = AUTH_EDIT; 87 $INFO['id'] = $id; 105 global $INFO; [all …]
|
| D | ajax.test.php | 16 global $INFO; 18 $INFO['id'] = 'test:plugin_datepicker:ajax'; 19 $INFO['perm'] = AUTH_EDIT; 46 global $INFO; 48 $INFO['id'] = 'test:plugin_datepicker:ajax'; 49 $INFO['perm'] = AUTH_EDIT;
|
| /plugin/translate/ |
| D | helper.php | 58 global $INFO, $ID, $conf; 60 $meta = $id!==$ID ? p_get_metadata($id) : $INFO['meta']; 168 global $INFO; 170 if ($INFO['perm'] >= AUTH_EDIT) return true; 172 return $grp && in_array($grp, $INFO['userinfo']['grps']); 184 global $INFO, $ID; 186 $meta = $id!==$ID ? p_get_metadata($id) : $INFO['meta']; 196 global $INFO, $ID; 201 $meta = $id!==$ID ? p_get_metadata($id) : $INFO['meta']; 233 global $INFO, $ID; [all …]
|
| /plugin/whoisonline/ |
| D | syntax.php | 34 global $INFO; 47 if( isset($INFO['userinfo']) || ($this->getConf('ignoreAnonymous')==0)){ 52 array( $INFO["client"] , 53 $INFO["id"] , 54 $INFO["userinfo"]["name"] , 57 $newlist = array(array("login"=>$INFO["client"] , 67 if( $user['login']!=$INFO["client"] ) { // skip the already added user
|