/plugin/freesync/ |
H A D | admin.php | 166 while(list($p, $page) = each($this->_sync_list)) { 168 …ptln('<td>'.(($page['llastModified'])?date("Y/m/d H:i (", $page['llastModified']).$page['lsize'].'… 169 …ass="edit" type="radio" name="'.($page["file"]?'files':'pages').'['.$p.']" value="l2r" '.(($page['… 170 …ptln('<td><input class="edit" type="radio" name="'.($page["file"]?'files':'pages').'['.$p.']" valu… 171 …ass="edit" type="radio" name="'.($page["file"]?'files':'pages').'['.$p.']" value="r2l" '.(($page['… 172 …ptln('<td>'.(($page['rlastModified'])?date("Y/m/d H:i (", $page['rlastModified']).$page['rsize'].'… 173 …ptln('<td>'.((!$page["file"] && $page['llastModified'] && $page['rlastModified'])?'<a href="javasc… 188 foreach($this->_sync_list_pages as $page => $direction) { 190 ptln($this->getLang('pull').' '.$page.'...'); 191 ptln('<span id="'.$page.'">'); [all …]
|
H A D | helper.php | 148 $remote_list[$page["id"]] = array("id" => $page["id"], 213 $id = is_array($page['id'])?$page['id'][0]:$page['id']; 218 $page['llastModified'] != $page['rlastModified']; 232 $page = array( 239 return $page; 242 if(!$page['text']) { 247 return $page; 253 if($page['version']) { 258 return $page; 267 $page['text'] = ''; [all …]
|
/plugin/latexit/classes/ |
H A D | RecursionHandler.php | 47 * @param string $page 50 public function disallow($page) { argument 51 return in_array($page, $this->pages); 56 * @param string $page 58 public function insert($page) { argument 59 $this->pages[] = $page; 64 * @param string $page 66 public function remove($page) { argument 67 $search = array_search($page, $this->pages);
|
/plugin/top/db/ |
H A D | update0002.sql | 2 page, field 6 PRIMARY KEY(page, month) 9 INSERT INTO toptemp (page, month, lang, value) SELECT page, '', '', value FROM toppages; 14 page, field 18 PRIMARY KEY(page, month) 21 INSERT INTO toppages (page, month, lang, value) SELECT page, month, lang, value FROM toptemp;
|
/plugin/tipoftheday/syntax/ |
H A D | totns.php | 32 list($mode, $page, $sect) = preg_split('/>|#/u', $match, 3); 34 $header = $this->_getNSFiles(getNS($page)); 36 $page = $header[intval(date('W')) % count($header)]; 37 if ( empty($page) ) { 38 $page = $header[0]; 41 return array($page, explode('&', $flags)); 48 list($page, $flags) = $data; 53 $ins = p_cached_instructions(wikiFN($page)); 64 $page = array(); 73 $page[] = $dat['id']; [all …]
|
/plugin/menupopup/ |
H A D | syntax.php | 91 if (empty($data['link']) || empty($data['page'])) return false; 134 $this->page = $data['page']; 188 var $page; variable in pageInclude 190 function pageInclude($page) argument 195 resolve_pageid(getNS($ID),$page,$exists); // resolve shortcuts 199 if ((auth_quickaclcheck($page) < 1)) return false; 206 if (in_array($page, $filechain)) return false; 209 $filechain[] = $page; 211 $this->page = $page; 218 $file = wikiFN($this->page); [all …]
|
/plugin/include/syntax/ |
H A D | footer.php | 31 list($page, $sect, $sect_title, $flags, $redirect_id, $footer_lvl) = $data; 34 $renderer->doc .= $this->html_footer($page, $sect, $sect_title, $flags, $footer_lvl, $renderer); 41 * Returns the meta line below the included page 45 function html_footer($page, $sect, $sect_title, $flags, $footer_lvl, &$renderer) { argument 50 $meta = p_get_metadata($page); 51 $exists = page_exists($page); 56 $url = ($sect) ? wl($page) . '#' . $sect : wl($page); 57 $name = ($sect) ? $sect_title : $page; 58 $title = ($sect) ? $page [all...] |
/plugin/404manager/ |
H A D | README.md | 30 * Redirection to a target page for a source page with the admin page 64 To go to the admin page, click on the admin button in the bottom of your page and click on the 404 … 77 ### Redirection by best name page 79 The redirection by best name page is an simple algorithm which occurs to find the best page by name. 81 It calculate a score for two kinds of page : 88 * When a page have the same name (by default 4) 89 * When a page is a start page of a namespace (by default 3) 101 …* The score for the page with the same name is : 9 = 5 (because namespace1 is present in the asked… 102 …space1 is present in the asked page) + 5 (because namespace2 is present in the asked page) + 3 (be… 110 * asked page : namespace1:namespace3:namepage [all …]
|
/plugin/newpagetemplate/ |
H A D | helper.php | 11 $page = $opts['page']; 38 $tpl = $this->pagefromtemplate($opts['tmpl'], $opts['page'], $opts['usrrepl'], $opts['user']); 46 echo $this->writePage($page,$tpl); 49 function writePage($page, $tpl) argument 52 return "Not Saving $page\n"; 54 $file = wikiFn($page); 57 return "Not Saving existing page: $page\n"; 61 saveWikiText($page, 76 setOwnership($page, $ns = false) global() argument 85 pagefromtemplate($template, $page, $newpagevars, $user = '') global() argument [all...] |
/plugin/struct/meta/ |
H A D | Assignments.php | 9 * An assignment is created when actual struct data is attached to the page. 119 * Rechecks all assignments of a given page against the current patterns 170 * Add page to assignments 172 * @param string $page 176 public function assignPageSchema($page, $table) 179 return (bool)$this->sqlite->query($sql, [$page, $table]); 183 * Remove page from assignments 185 * @param string $page 189 public function deassignPageSchema($page, $table) 192 return (bool)$this->sqlite->query($sql, [$page, 174 assignPageSchema($page, $table) global() argument 187 deassignPageSchema($page, $table) global() argument 210 getPageAssignments($page, $checkpatterns = true) global() argument 278 matchPagePattern($pattern, $page, $pns = null) global() argument 321 getHistoricAssignments($page, $ts) global() argument [all...] |
/plugin/rating/db/ |
H A D | update0002.sql | 2 page, field 7 PRIMARY KEY(page, rater) 10 INSERT INTO ratingtemp (page, rater, lang, date, value) SELECT page, rater, '', '', value FROM rati… 15 page, field 20 PRIMARY KEY(page, rater) 23 INSERT INTO ratings (page, rater, lang, date, value) SELECT page, rater, lang, date, value FROM rat…
|
/plugin/abc2/abc-libraries/abc2svg/ |
H A D | abcweb-1.js | 15 function dom_loaded(){var abc,new_page,src,a_inc={},errtxt='',app="abcweb",playing,abcplay,playconf={onend:function(){playing=false}},page,tune_lst,jsdir=document.currentScript?document.currentScript.src.match(/.*\//):(function(){var s_a=document.getElementsByTagName('script') 67 j=page.indexOf("<mei ") 68 if(j>=0){k=page.indexOf("</mei>")+6 69 abc.mei2mus(page.slice(j,k)) 73 for(;;){res=re.exec(page) 74 if(!res){src+=page.slice(i).replace(/\n%%/g,"\n%%%%")+"\n%%endml\n" 76 j=re.lastIndex-res[0].length;src+=page.slice(i,j).replace(/\n%%/g,"\n%%%%") 78 if(res=='script'){j=page.indexOf('>',j)+2 79 i=page.indexOf('</'+res,j) 81 page [all...] |
/plugin/crosspost/ |
H A D | action.php | 46 foreach( $match as $page ) 49 else $page .= ':' . $name; 54 if( $ID != $page && !$exists ) 57 p_set_metadata( $page, 63 p_set_metadata( $page, 67 if( !in_array( $page, $save ) ) $save[] = $page; 69 foreach( $meta as $page ) 73 @unlink( wikiFN( $page ) ); 74 p_set_metadata( $page, 271 foreach( $cc as $page ) [all …]
|
/plugin/combo/ComboStrap/Tag/ |
H A D | RelatedTag.php | 21 * For when you come from another plugin (such as backlinks) and that you don't want to change the pattern on each page 28 * The array key of an array of related page 32 * This is a fake page ID that is added 33 * to the related page array when the number of backlinks is bigger than the max 39 * @param MarkupPath $page 50 public static function renderForPage(MarkupPath $page, TagAttributes $tagAttributes = null): string argument 67 $relatedPages = self::getRelatedPagesOrderedByBacklinkCount($page, $max); 88 $html = "Error while trying to create the link for the page ($backlinkId). Error: {$e->getMessage()}"; 95 wl($page->getWikiId()) . '?do=backlink', 112 * @param MarkupPath $page 116 getRelatedPagesOrderedByBacklinkCount(MarkupPath $page, int $max = null) global() argument [all...] |
/plugin/combo/ComboStrap/ |
H A D | PageUrlPath.php | 21 * url path: name for ns + slug (title) + page id 23 * url path: canonical path + page id 25 * url path: page path + page id 30 * - permanent canonical path (page id) 32 * - permanent page path (page id) 33 * - page path 35 * This is not the URL of the page but of the generated HTML web page (I 60 createForPage(MarkupPath $page) global() argument [all...] |
/plugin/tagfilter/ |
H A D | remote.php | 52 foreach ($pages as $page) { 53 $title = p_get_metadata($page, 'title', METADATA_DONT_RENDER); 55 'title' => $title ?: $page, 56 'id' => $page, 57 'tags' => $Htagfilter->getTagsByPageID($page) 84 foreach ($pages as $page) { 85 $title = p_get_metadata($page, 'title', METADATA_DONT_RENDER); 87 'title' => $title ?: $page, 88 'id' => $page, 89 'tags' => $Htagfilter->getTagsByPageID($page) [all...] |
/plugin/combo/action/ |
H A D | pageprotection.php | 74 * Set page has hidden 96 $page = MarkupPath::createMarkupFromId($id); 98 if ($page->isLowQualityPage()) { 104 if ($page->isLatePublication()) { 133 * Are we on a page script 155 * It should be only a page 158 $page = MarkupPath::createMarkupFromId($id); 160 if ($page->isLowQualityPage()) { 169 if ($page->isLatePublication()) { 192 LogUtility::internalError("We were unable to build the page fetche [all...] |
/plugin/aichat/ |
H A D | Chunk.php | 13 * @param string $page 21 protected $page, 35 $string = $this->page . '#' . $this->id; 63 return $this->page; 67 * @param string $page 69 public function setPage($page): void 71 $this->page = $page; 165 $lc = $trans->realLC($trans->getLangPart($this->page)); 183 $data['page'], 8 protected $page; global() variable in dokuwiki\\plugin\\aichat\\Chunk 27 __construct($page, $id, $text, $embedding, $created = '', $score = 0) global() argument 64 setPage($page) global() argument [all...] |
/plugin/mediasyntax/ |
H A D | helper.php | 149 * Parses the instructions list of the page which contains the includes 163 $page = ''; 192 foreach ($pages as $page) { 193 $this->_append_includeins($ins_inc, $page['id'], $flags); 218 foreach ($pages as $title => $page) { 219 $this->_append_includeins($ins_inc, $page['id'], $flags); 229 if ($mode == 'page' || $mode == 'section') { 230 $page = cleanID($this->_apply_macro($ins[$i][1][1][1])); 231 $perm = auth_quickaclcheck($page); 233 array_push($this->hasparts, $page); 310 _get_instructions($page, $sect, $mode, $lvl, $flags) global() argument 335 _convert_instructions(& $ins, $lvl, $page, $sect, $flags) global() argument 511 _footer($page, $sect, $sect_title, $flags, $footer_lvl) global() argument 523 _editbtn(& $ins, $page, $sect, $sect_title) global() argument 535 _permalink(& $ins, $page, $sect, $flags) global() argument 576 _get_firstsec(& $ins, $page) global() argument [all...] |
/plugin/randominc/ |
H A D | action.php | 40 if (!isset($cache->page)) return; 45 $expire = $this->_inclusion_check($cache->page, $key, $depends); 88 foreach ($hasPart as $page => $exists) { 90 if (strpos($page,'/') || cleanID($page) != $page) continue; 92 $file = wikiFN($page); 96 if (($acl = $this->_acl_read_check($page)) != 'NONE') { $expire = true; } 99 if ($this->_inclusion_check($page, $key, $depends)) { $expire = true; } 100 if (($acl = $this->_acl_read_check($page)) != 'NONE') { $depends[] = $file; } 106 $key .= '#'.$page.'|'.$acl;
|
/plugin/autotranslation/ |
H A D | admin.php | 38 foreach ($pages as $page) { 39 if (!$helper->getLangPart($page["id"]) === $default_language || 40 !$helper->istranslatable($page["id"], false) || 41 !page_exists($page["id"]) 47 $row = "<tr><td>" . $xhtml_renderer->internallink($page['id'],null,null,true) . "</td>"; 49 … $row .= "<td>" . $xhtml_renderer->internallink($page['id'],$page['id'],null,true) . "</td>"; 52 list($lc, $idpart) = $helper->getTransParts($page["id"]); 69 if($page['mtime'] > filemtime($translfn)) { 72 $difflink .= $helper->getOldDiffLink($page["id"], $page['mtime']);
|
/plugin/translation/ |
H A D | admin.php | 50 foreach ($pages as $page) { 52 $helper->getLangPart($page["id"]) !== $default_language || 53 !$helper->istranslatable($page["id"], false) || 54 !page_exists($page["id"]) 58 // We have an existing and translatable page in the default language 60 $row = "<tr><td>" . $xhtml_renderer->internallink($page['id'], null, null, true) . "</td>"; 62 $row .= "<td>" . $xhtml_renderer->internallink($page['id'], $page['id'], null, true) . "</td>"; 65 [, $idpart] = $helper->getTransParts($page["id"]); 81 if ($page['mtim [all...] |
/plugin/combo/resources/theme/default/pages/templates/ |
H A D | index.css | 1 main > *, #page-core { 7 #page-core { 10 grid-template-areas: "page-side page-main"; 14 #page-side { 15 grid-area: page-side; 18 #page-main { 19 grid-area: page-main;
|
/plugin/ckgedit/ckeditor/ |
H A D | get_headers.php | 18 $page = $INPUT->str('dw_id'); variable 19 $page = ltrim($page, ':'); variable 23 $page = str_replace(':', '/',$page); variable 24 $page = dwiki_encodeFN($page); variable 29 $path .= '/pages/' . $page . '.txt'; 31 else $path = $Dwfck_conf_values['ckg_savedir'] . '/pages/' . $page . '.txt'; 33 else $path = PAGES . $page . '.txt';
|
/plugin/combo/ComboStrap/Meta/Field/ |
H A D | Alias.php | 20 private MarkupPath $page; variable in ComboStrap\\Meta\\Field\\Alias 28 * @param MarkupPath $page 31 public function __construct(MarkupPath $page, WikiPath $path) argument 33 $this->page = $page; 54 return $this->page; 68 static function create(ResourceCombo $page, WikiPath $alias): Alias argument 70 return new Alias($page, $alias); 78 LogUtility::msg("Bad Alias Type. The alias type value ($type) for the alias path ({$this->getPath()}) of the page ({$pageAnchor})"); 88 return "Alias: ($this->page) t [all...] |