/plugin/bookcreator/action/ |
H A 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 257 getSavedSelection($pageid) global() argument [all...] |
/plugin/metaeditor/ |
H A D | action.php | 35 $pageid = trim($INPUT->post->str('r')); 46 $perm = auth_quickaclcheck($pageid); 97 $meta = p_read_metadata($pageid, $cache); 104 if(p_save_metadata($pageid, $meta)) 113 $meta = p_read_metadata($pageid, $cache); 120 if(p_save_metadata($pageid, $meta)) 129 $meta = p_read_metadata($pageid, $cache); 136 if(p_save_metadata($pageid, $meta)) 151 $meta = p_read_metadata($pageid, $cache); 160 if(p_save_metadata($pageid, $meta)) [all …]
|
/plugin/docnavigation/syntax/ |
H A 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 | METADATA_RENDER_UNLIMITED); 192 $item['id'] = $pageid . '#' . $tocitem['hid']; 211 if ($ACT == 'preview' && $pageid === $ID) { 216 $pagedata = $pagenav->getPageData($pageid); 220 $pagedata = p_get_metadata($pageid, 'docnavigatio 302 getFullPageid($pageid) global() argument [all...] |
/plugin/starred/ |
H A 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; 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]); 142 $dt = $this->checkStar(null, $pageid); [all …]
|
/plugin/sqlite/ |
H A D | Functions.php | 85 * @param string $pageid page ID (needs to be resolved and cleaned) 88 public static function getAccessLevel($pageid) 95 if (isset($aclcache[$pageid])) { 96 return $aclcache[$pageid]; 99 if (isHiddenPage($pageid)) { 102 $acl = auth_quickaclcheck($pageid); 104 $aclcache[$pageid] = $acl; 113 * @param string $pageid 116 public static function pageExists($pageid) 119 if (!isset($cache[$pageid])) { 89 getAccessLevel($pageid) global() argument 117 pageExists($pageid) global() argument [all...] |
/plugin/ajaxpeon/ |
H A D | action.php | 41 $pageid =$INPUT->str('pageid'); 53 $out=$this->get_toc($pageid); 58 $out = rawWiki($pageid,$orev_list[$pageid]); 60 $out = rawWiki($pageid); 64 $ori_txt = rawWiki($pageid); 151 function get_toc22($pageid){ argument 154 $ID=$pageid; 162 function get_toc($pageid){ argument 181 function get_page($pageid){ argument 201 if (!$pageid) return false; [all …]
|
H A D | script.js | 16 var pageid= jQuery("#xxpageid").val(); 18 mdata['pageid']="en:"+pageid; 31 voice_dict(pageid);
|
/plugin/etherpadlite/action/ |
H A D | etherpadlite.php | 53 global $meta, $rev, $ID, $pageid; 56 $pageid = $this->getPageID(); 67 $this->ep_instance->deletePad($pageid); 70 $pageid = $this->getPageID(); 132 $pageid = $this->getPageID(); 134 $pageid = NULL; 166 if ($pageid !== NULL) { 220 $ret["name"] = "$pageid"; 387 $meta[$rev]["pageid"] = $pageid; 394 $pageid = $meta[$rev]["pageid"]; [all …]
|
/plugin/bookcreator/ |
H A D | script.js | 15 * Is pageid in stored selection 17 * @param {string} pageid 20 Storage.prototype.isSelected = function(pageid) { argument 21 return this._storage.indexOf(pageid) !== -1; 25 * Insert pageid at given position 27 * @param {string} pageid 30 Storage.prototype.addPage = function(pageid, position) { argument 32 this._storage.push(pageid); //add to the end 34 this._storage.splice(position, 0, pageid); 41 * Move pageid insid 46 movePage(pageid, position) global() argument 56 deletePage(pageid) global() argument 68 _deletePage(pageid) global() argument 432 toggleSelectedPage(pageid, isAddAction, position) global() argument [all...] |
/plugin/singlesearchresult/ |
H A 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/timetrack/ |
H A D | helper.php | 119 if(!$abbr) $abbr = noNS($pageid); 120 if(!$name) $name = noNS($pageid); 240 if(!$abbr) $abbr = noNS($pageid); 241 if(!$name) $name = noNS($pageid); 286 $pageid); 300 $pageid); 364 GROUP BY pa.id',$pageid); 686 $pageid); 703 $pageid); 721 if(auth_quickaclcheck($pageid) > AUTH_NONE && $this->isPageTracked($pageid)) { [all …]
|
H A 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/pagestat/ |
H A 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/ |
H A 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/ |
H A 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/ |
H A 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/ |
H A 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/imgpaste/ |
H A D | action.php | 150 * @param string $pageid the original page the paste event happend on 155 protected function createFileName($pageid, $ext, $user) 167 getNS($pageid), 168 $pageid, 170 noNS($pageid), 99 createFileName($pageid, $ext, $user) global() argument
|
/plugin/struct/meta/ |
H A 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/ |
H A D | script.js | 25 function multiclickclick(pageid,id,count) { argument 51 idx= ajaxedit_getIdxByIdClass('multismiley_'+id,"multismiley_"+multiselect_escapeStr(pageid)); 58 pageid:pageid,
|
/plugin/fastwiki/ |
H A 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/ |
H A D | action.php | 42 $pageid = $this->getConf('page_after_login'); 48 $event->data['id'] = $pageid; 61 $event->data['id'] = $pageid;
|
/plugin/tagfilter/ |
H A D | helper.php | 127 * Checks if current user can read the given pageid 129 * @param string $pageid 132 public function canRead($pageid) argument 134 return auth_quickaclcheck($pageid) >= AUTH_READ; 138 * Returns all tags for the given pageid 353 * @param string $id pageid 422 * Returns page title, otherwise pageid 424 * @param string $pageid 427 public function getPageTitle($pageid) argument 429 $title = p_get_metadata($pageid, 'titl [all...] |
/plugin/diagrams/script/ |
H A D | DiagramsEditor.js | 75 * @param {string} pageid The page ID to on which the diagram is embedded 79 async editEmbed(pageid, position, length) { argument 80 this.#saveCallback = (svg) => this.#saveEmbed(pageid, position, length, svg); 83 '&id=' + encodeURIComponent(pageid) + 140 * @param {string} pageid The page ID on which the diagram is embedded 146 async #saveEmbed(pageid, position, length, svg) { argument 148 '&id=' + encodeURIComponent(pageid) +
|
/plugin/tagfilter/syntax/ |
H A D | filter.php | 210 foreach ($allPageids as $key => $pageid) { 211 if (!page_exists($pageid)) { 274 foreach ($allPageids as $key => $pageid) { 275 if (!$Htagfilter->canRead($pageid)) { 329 foreach ($allPageids as $pageid) { 330 $pagetitles[$pageid] = $Htagfilter->getPageTitle($pageid);
|