/plugin/sqlite/ |
D | Functions.php | 86 * @param string $pageid page ID (needs to be resolved and cleaned) 89 public static function getAccessLevel($pageid) argument 96 if (isset($aclcache[$pageid])) { 97 return $aclcache[$pageid]; 100 $acl = auth_quickaclcheck($pageid); 101 $aclcache[$pageid] = $acl; 108 * @param string $pageid 111 public static function pageIsHidden($pageid) argument 114 if (isset($hiddenCache[$pageid])) { 115 return $hiddenCache[$pageid]; [all …]
|
/plugin/bookcreator/action/ |
D | handleselection.php | 107 foreach($selection as $pageid) { 108 $page = cleanID($pageid); 109 if(auth_quickaclcheck($pageid) < AUTH_READ) { 122 * @param string $pageid 125 protected function getTitle($pageid) { argument 128 if(useHeading('navigation') && $pageid) { 129 $heading = p_get_first_heading($pageid); 137 $pageid = strtr($pageid, ';/', ';:'); 139 $pageid = strtr($pageid, ';', ':'); 142 $name = noNSorNS($pageid); [all …]
|
/plugin/metaeditor/ |
D | action.php | 35 $pageid = trim($INPUT->post->str('r')); 46 $perm = auth_quickaclcheck($pageid); 52 $data = $this->getMetaForPage($pageid); 56 $data = $this->getMetaValueForPage($pageid, $opts['key']); 59 … $data = $this->setMetaValueForPage($pageid, $opts['key'], $opts['oldval'], $opts['newval']); 62 $data = $this->deleteMetaValueForPage($pageid, $opts['key']); 65 $data = $this->createMetaArrayForPage($pageid, $opts['key'], $opts['newval']); 68 … $data = $this->createMetaValueForPage($pageid, $opts['key'], $opts['newkey'], $opts['newval']); 94 function createMetaArrayForPage($pageid, $key, $newval) argument 97 $meta = p_read_metadata($pageid, $cache); [all …]
|
/plugin/docnavigation/syntax/ |
D | toc.php | 154 $pageid = $options['start']; 156 while ($pageid !== null) { 158 $pageitem['id'] = $pageid; 176 $recursioncheck[$pageid] = true; 179 $list[$pageid] = $pageitem; 184 …$toc = p_get_metadata($pageid, 'description tableofcontents', METADATA_RENDER_USING_CACHE | METADA… 192 $item['id'] = $pageid . '#' . $tocitem['hid']; 211 if ($ACT == 'preview' && $pageid === $ID) { 216 $pagedata = $pagenav->getPageData($pageid); 220 $pagedata = p_get_metadata($pageid, 'docnavigation'); [all …]
|
/plugin/starred/ |
D | helper.php | 40 * @param string|null $pageid defaults to current page 42 public function toggleStar($user = null, $pageid = null) argument 52 if ($pageid === null) $pageid = $ID; 56 $on = $this->checkStar($user, $pageid); // currently on? 61 $db->exec($sql, [$pageid, $user]); 65 $db->exec($sql, [$pageid, $user, time()]); 73 * @param string|null $pageid defaults to current page 76 public function checkStar($user = null, $pageid = null) argument 86 if ($pageid === null) $pageid = $ID; 91 return (int)$db->queryValue($sql, [$pageid, $user]); [all …]
|
/plugin/ajaxpeon/ |
D | action.php | 41 $pageid =$INPUT->str('pageid'); 50 $out=$this->get_page($pageid); 53 $out=$this->get_toc($pageid); 58 $out = rawWiki($pageid,$orev_list[$pageid]); 60 $out = rawWiki($pageid); 64 $ori_txt = rawWiki($pageid); 81 saveWikiText($pageid,$store_txt,"L".strlen($store_txt)); 151 function get_toc22($pageid){ argument 154 $ID=$pageid; 156 $html = p_wiki_xhtml($pageid, '', false); [all …]
|
D | script.js | 16 var pageid= jQuery("#xxpageid").val(); 18 mdata['pageid']="en:"+pageid; 31 voice_dict(pageid);
|
/plugin/etherpadlite/action/ |
D | etherpadlite.php | 53 global $meta, $rev, $ID, $pageid; 56 $pageid = $this->getPageID(); 58 $text = $this->ep_instance->getText($pageid); 67 $this->ep_instance->deletePad($pageid); 70 $pageid = $this->getPageID(); 106 global $conf, $ID, $REV, $INFO, $rev, $meta, $pageid, $USERINFO; 132 $pageid = $this->getPageID(); 134 $pageid = NULL; 166 if ($pageid !== NULL) { 194 global $conf, $ID, $REV, $INFO, $rev, $meta, $pageid; [all …]
|
/plugin/wordimport/docx/ |
D | DocX.php | 51 * @param string $pageid the page id to import the document into 54 public function import($pageid) argument 56 if (auth_quickaclcheck(getNS($pageid) . ':*') < AUTH_DELETE) { 60 $this->pageId = $pageid; 61 if (checklock($pageid)) throw new \Exception('page is currently locked'); 62 lock($pageid); 65 saveWikiText($pageid, (string)$doc, 'Imported from DOCX'); 67 unlock($pageid);
|
/plugin/bookcreator/ |
D | script.js | 20 Storage.prototype.isSelected = function(pageid) { argument 21 return this._storage.indexOf(pageid) !== -1; 30 Storage.prototype.addPage = function(pageid, position) { argument 32 this._storage.push(pageid); //add to the end 34 this._storage.splice(position, 0, pageid); 46 Storage.prototype.movePage = function(pageid, position) { argument 47 if(!this._deletePage(pageid).length) return; 49 this.addPage(pageid, position); 56 Storage.prototype.deletePage = function(pageid) { argument 57 this._deletePage(pageid); [all …]
|
/plugin/timetrack/ |
D | helper.php | 111 * @param string $pageid dokuwiki pageid 116 public function updateProject($pageid, $abbr = '', $name = '', $from = 0, $to = 0) { argument 119 if(!$abbr) $abbr = noNS($pageid); 120 if(!$name) $name = noNS($pageid); 122 $page_id = $this->getPageId($pageid); 124 if(!$page_id) dbg(['no page id',$pageid,$abbr,$name]); 232 * @param string $pageid dokuwiki pageid 237 public function getProject($pageid, $abbr = '') { argument 240 if(!$abbr) $abbr = noNS($pageid); 241 if(!$name) $name = noNS($pageid); [all …]
|
D | action.php | 119 $pageid = cleanID($INPUT->str('pageid')); 122 …if($cmd === 'current' && (auth_quickaclcheck($pageid) < AUTH_READ || !$this->tthlp->isPageTracked(… 136 $project_ids = $this->tthlp->getProjectIdsByPageId($pageid); 156 $pageid); 161 $pageid), 167 …'overview',$this->tthlp->html_overview($this->tthlp->getCurrentUser(),$daterange,$pageid),$pageid), 185 … $dialogHtml .= $this->tthlp->html_week($dbUserValues,$daterange,$dbUserTasks,'recent',$pageid); 189 $pageid),
|
/plugin/singlesearchresult/ |
D | action.php | 28 $pageid = key($result); 31 $perm = auth_quickaclcheck($pageid); 33 $perm = auth_aclcheck($pageid, '', null); 38 msg("Only one page found, skipping result overview. Redirect to: ".$pageid); 40 $link = wl($pageid, '', true);
|
/plugin/pagestat/ |
D | remote.php | 249 public function Cp_subtitle($pageid,$subtitle_txt){ argument 252 $filename=end(explode(":",$pageid)); 254 $subid="$pageid:{$this->getConf('subtitle_dst')}"; 262 return $pageid; 265 public function Cp_deflist($pageid,$word_list){ argument 268 $defid="$pageid:{$this->getConf('def_dst')}"; 270 return $pageid; 273 public function Cp_wordlist($pageid,$txt){ argument 274 $wordlistid="$pageid:{$this->getConf('wordlist_dst')}"; 276 return $pageid; [all …]
|
/plugin/gdpr/action/ |
D | delusers.php | 159 $pageid = $this->getPageIDfromChangelogFN($changelogFN); 160 if ($pageid && checklock($pageid) !== false) { 164 $pageid && lock($pageid); 183 $pageid && unlock($pageid); 200 $pageid = substr($changelogFN, strlen($conf['metadir']), -1 * strlen('.changes')); 201 return str_replace('/', ':', $pageid);
|
/plugin/cleanoldips/ |
D | cli.php | 49 foreach ($pages as $pageid) { 50 $this->log('debug', 'Cleaning changelog for page ' . $pageid); 51 $action->cleanChangelog($pageid, metaFN($pageid, '.changes'));
|
/plugin/orphanswanted/ |
D | helper.php | 33 foreach($all_pages as $pageid) { 34 $pages[$pageid] = array("exists"=>page_exists($pageid), "links"=>0); 37 foreach($all_pages as $pageid) { 39 if (!page_exists($pageid)) continue; 41 $relation_data = p_get_metadata($pageid, 'relation references', METADATA_DONT_RENDER);
|
/plugin/rowmove/ |
D | script.js | 11 function rowup(el,pageid) argument 31 rowmovesend(pageid,iTr+offset_thead,iTr-1+offset_thead,tnr); 39 function rowdown(el,pageid) argument 62 rowmovesend(pageid,iTr+offset_thead,iTr+1+offset_thead,tnr); 66 function rowmovesend(pageid,idx_row,idx_row2,tablenr) argument
|
/plugin/struct/meta/ |
D | AccessDataValidator.php | 38 * @param string $pageid 42 public static function validateDataForPage($data, $pageid, &$errors) argument 49 $tables = $assignments->getPageAssignments($pageid); 51 $access = AccessTable::getPageAccess($table, $pageid);
|
/plugin/multiselect/ |
D | script.js | 25 function multiclickclick(pageid,id,count) { argument 51 idx= ajaxedit_getIdxByIdClass('multismiley_'+id,"multismiley_"+multiselect_escapeStr(pageid)); 58 pageid:pageid, property
|
/plugin/todo/ |
D | script.js | 93 pageid: param.pageid, property 134 pageid: jQuery('input.todocheckbox:first').data().pageid property
|
/plugin/fastwiki/ |
D | history.js | 67 var pageid = newpage.substr(1).replace(/.*doku.php(\?id=|\/)/, '').replace(/\//g, ':'); 68 var ns = pageid.replace(/:[^:]+$/, ''); 75 if (incl && !pageid.match('^(' + incl.split(/\s*,\s*/).join('|') + ')')) 78 if (excl && pageid.match('^(' + excl.split(/\s*,\s*/).join('|') + ')')) 82 return {id:pageid, ns:ns};
|
/plugin/showpageafterlogin/ |
D | action.php | 42 $pageid = $this->getConf('page_after_login'); 48 $event->data['id'] = $pageid; 61 $event->data['id'] = $pageid;
|
/plugin/imgpaste/ |
D | action.php | 150 * @param string $pageid the original page the paste event happend on 155 protected function createFileName($pageid, $ext, $user) argument 167 getNS($pageid), 168 $pageid, 170 noNS($pageid),
|
/plugin/tagfilter/ |
D | helper.php | 129 * @param string $pageid 132 public function canRead($pageid) argument 134 return auth_quickaclcheck($pageid) >= AUTH_READ; 424 * @param string $pageid 427 public function getPageTitle($pageid) argument 429 $title = p_get_metadata($pageid, 'title', METADATA_DONT_RENDER); 430 $title = $title ?: $pageid; 549 $matchedPages[$tag] = array_filter($pages, function ($pageid) use ($ns) { 550 return $ns === '' || strpos(':' . getNS($pageid) . ':', ':' . $ns . ':') === 0;
|