/plugin/abc2/abc-libraries/abc2svg/ |
H A D | page-1.js | 4 //page.js-module to generate pages 5 abc2svg.page={img_out:function(page,p){var cur_img_out=user.img_out;page.user_out(p) class in abc2svg 6 if(user.img_out!=cur_img_out){page.user_out=user.img_out 7 user.img_out=cur_img_out}},abc_end:function(of){var page=this.page 8 if(page&&page.in_page){abc2svg.page 11 gen_hf(page,ty) global() argument 118 open_page(page,ht) global() argument 152 close_page(page) global() argument 162 blkcpy(page) global() argument [all...] |
/plugin/farmsync/_test/mock/ |
H A D | FarmSyncUtil.php | 18 * @param string $page 21 public function setPageExists($animal, $page, $exists) { argument 22 $this->remoteData[$animal][$page]['exists'] = $exists; 35 …s->remoteData[$animal][$page]['exists']) ? $this->remoteData[$animal][$page]['exists'] : parent::r… 51 …rce][$target][$page]['commonAncestor']) ? $this->remoteData[$source][$target][$page]['commonAncest… 58 'page' => $page, 64 public function setPagemtime($animal, $page, $timestamp) { argument 65 $this->remoteData[$animal][$page]['mtime'] = $timestamp; 70 …s->remoteData[$animal][$page]['mtime']) ? $this->remoteData[$animal][$page]['mtime'] : parent::get… 73 public function setPageContent($animal, $page, $content) { argument [all …]
|
/plugin/inlineeditor/ |
H A D | script.js | 14 this.page = null; 60 function quickedit_save(id, range, page) argument 65 pl_si.page=page; 77 document.location.href="doku.php?id="+pl_si.page; 81 function plugin_quickedit_go(id,range,page,adm) argument 87 pl_si.page = page; 105 pl_si.page=page; 106 pl_si.sack.runAJAX('call=get_auth&page='+page); 112 function quickedit_cancel(id, range, page) argument 122 pl_si.page = page; [all …]
|
/plugin/acknowledge/ |
H A D | helper.php | 71 * Fills the page index with all unknown pages from the fulltext index 76 $pages = idx_getIndex('page', ''); 77 $sql = "INSERT OR IGNORE INTO pages (page, lastmod) VALUES (?,?)"; 80 foreach ($pages as $page) { 81 $page = trim($page); 82 $lastmod = @filemtime(wikiFN($page)); 85 $this->db->exec($sql, [$page, $lastmod]); 96 * Check if the given pattern matches the given page 99 * @param string $page th 92 matchPagePattern($pattern, $page) global() argument 134 removePage($page) global() argument 149 storePageDate($page, $lastmod, $newContent) global() argument 174 clearPageAssignments($page) global() argument 190 setPageAssignees($page, $assignees) global() argument 205 setAutoAssignees($page) global() argument 238 isUserAssigned($page, $user, $groups) global() argument 283 getPageAssignees($page) global() argument 414 hasUserAcknowledged($page, $user) global() argument 439 getLatestUserAcknowledgement($page, $user) global() argument 459 saveAcknowledgement($page, $user) global() argument 505 getPageAcknowledgements($page, $max = 0) global() argument [all...] |
/plugin/pagelist/ |
H A D | helper.php | 18 /** @var bool whether first headline/title is shown in the page column */ 41 * data of the current processed page row 47 public $page = null; 77 /** @var null|mixed data retrieved from metadata array for the current processed page */ 122 'page' => true, 173 'desc' => '(required) prepares the table header for the page list', 177 'desc' => '(required) adds a page to the list', 178 'params' => ["page attributes, 'id' required, others optional" => 'array'], 243 * for dis/enabling header: '(no)header', and show titel for page column with '(no)firsthl', 318 if (isset($this->column[$flag]) && $flag !== 'page') { 39 public $page = null; global() variable in helper_plugin_pagelist 390 addPage($page) global() argument [all...] |
/plugin/tplinc/ |
H A D | helper.php | 93 $page = $this->matchPagePattern($pattern, $id, $page, $pns); 94 if ($page === false) continue; 95 $page = (new PageResolver($ns))->resolveId($page); 96 if (!page_exists($page)) continue; 98 $pages[] = $page; 115 foreach ($pages as $page) { 157 $page = str_replace('$' . $i, $matches[$i], $page); 159 return $page; 172 return $page; 178 return $page; [all …]
|
/plugin/farmsync/meta/ |
H A D | EntityUpdates.php | 92 * @param string $page 95 protected function handleStartpage($source, $page) { argument 98 $page = $page . $conf['start']; 99 return $page; 100 } elseif ($this->farm_util->remotePageExists($source, $page . noNS(cleanID($page)))) { 101 $page = $page . noNS(cleanID($page)); 102 return $page; 103 } elseif ($this->farm_util->remotePageExists($source, $page)) { 104 return cleanID($page); 106 $page = $page . $conf['start']; [all …]
|
/plugin/accscounter/ |
H A D | admin.php | 55 foreach ($_REQUEST['select'] as $page) { 56 if (file_exists($achelper->counterFN($page, '.ip'))) { 57 $ipdata = @file($achelper->counterFN($page, '.ip')); 82 io_saveFile($achelper->counterFN($page, '.ip'), $writing); 91 foreach ($_REQUEST['select'] as $page) { 92 …>counterFN($page, '.number')) and @unlink($achelper->counterFN($page, '.number')) == FALSE) msg(sp… 93 …per->counterFN($page, '.ip')) and @unlink($achelper->counterFN($page, '.ip')) == FALSE) msg(sprint… 109 if ($_REQUEST['mode'] == 'existing' and page_exists($page)) $specified = TRUE; 110 if ($_REQUEST['mode'] == 'deleted' and !page_exists($page)) $specified = TRUE; 113 if ($specified) $found[$page] = $filename; [all …]
|
/plugin/extendpage/meta/ |
H A D | Assignments.php | 70 * @param string $page 73 public function addPattern($pattern, $page, $pos) argument 93 * @param string $page 114 if (!in_array($page, $pages)) { 151 * @param string $page 164 * @param string $page 187 * @param string $page 195 $page = cleanID($page); 199 $pns = ':' . getNS($page) . ':'; 245 $pns = ':' . getNS($page) . ':'; [all …]
|
/plugin/tumblr/ |
H A D | syntax.php | 131 'page' => $_REQUEST['page'] ? $_REQUEST['page'] : 0, 143 $params['page'] = $page; 147 $new_url = $url.'/search/'.$params['search'].'/page/'.$params['page'].'/rss'; 149 $new_url = $url.'/tagged/'.$params['tagged'].'/page/'.$params['page'].'/rss'; 153 $new_url = $url.'/page/'.$params['page'].'/rss'; 197 $params['page'] = ($params['page'] == 0) ? 2 : $params['page'] + 1; 199 $params['page'] = ($params['page'] == 2) ? 0 : $params['page'] - 1; 203 $url = $this->get_url($params['page']); 204 if ($params['page'] >= 0 && $this->page_exists($url)) {
|
/plugin/farmer/ |
H A D | admin.php | 8 * This is the main admin page. It displays the tabs and then loads the sub components 21 /** @var string The currently selected page */ 22 protected $page; 23 /** @var AdminPlugin the plugin to use for the current page */ 35 * Initialize current page 52 // make sure current page requested is available 53 $this->page = $INPUT->str('sub'); 54 if (!in_array($this->page, $this->pages)) { 55 $this->page = $this->pages[0]; 59 $this->adminplugin = plugin_load('admin', 'farmer_' . $this->page); 20 protected $page; global() variable in admin_plugin_farmer [all...] |
/plugin/struct/ |
H A D | helper.php | 40 * Get the structured data of a given page 42 * @param string $page The page to get data for 48 public function getData($page, $schema = null, $time = 0) 50 $page = cleanID($page); 57 $schemas = $assignments->getPageAssignments($page, false); 64 $schemaData = AccessTable::getPageAccess($schema, $page, $time); 72 * Saves data for a given page (creates a new revision) 76 * the given schemas are no longer assigned to that page 47 getData($page, $schema = null, $time = 0) global() argument 93 saveData($page, $data, $summary = '', $minor = false) global() argument 147 createPageRevision($page, $summary = '', $minor = false) global() argument [all...] |
/plugin/accscounter/syntax/ |
H A D | counter.php | 38 function plugin_counter_get_count($page) argument 58 if (isset($counters[$page])) return $counters[$page]; 61 $counters[$page] = $default; 188 $counters[$page]['ip'] = $clientIP; 190 $counters[$page]['yesterday'] = $is_yesterday ? $counters[$page]['today'] : 0; 193 $counters[$page]['today'] = 1; 194 $counters[$page]['total']++; 246 $counters[$page]['today'] = 0; 253 $counters[$page]['today']++; 254 $counters[$page]['total']++; [all …]
|
/plugin/farmsync/action/ |
H A D | ajax.php | 55 $page = $INPUT->str('farmsync-page'); 97 $this->farm_util->saveRemoteMedia($source, $target, $page); 99 $this->overwriteRemotePage($source, $target, $page); 102 $this->farm_util->importAnimalStructSchema($target, $page, $json[$page]); 116 $this->writeManualMerge($source, $target, $page, $content); 136 public function overwriteRemotePage($source, $target, $page) { argument 137 $sourceModTime = $this->farm_util->getRemoteFilemtime($source, $page); 138 …$this->farm_util->saveRemotePage($target, $page, $this->farm_util->readRemotePage($source, $page),… 141 public function writeManualMerge($source, $target, $page, $content) { argument 143 $sourceModTime = $this->farm_util->getRemoteFilemtime($source, $page); [all …]
|
/plugin/openas/ |
H A D | README | 1 This plugin facilitates renaming (i.e. moving) pages, saving as (i.e. saving a page 12 The SaveAS form will create a new page from the old page but leave the old page in tact. 14 The MoveTO form will create a new page from the old page and delete the old page. However, 15 it will not delete the old page unless it is certain that the new page is in place, so that 16 there is no danger of losing the old page. 18 In this version all backlinks to the page being moved are updated to the page id of the new page. 20 The plugin takes into consideration page locking. So, if a page with backlinks is currently in use, 21 it is not updated until the user with the lock exits the page. The original page remains in place u… 23 he original page is removed. 29 on the newpagetemplate plugin page on Dokuiwiki. Here is a sample: [all …]
|
/plugin/acknowledge/db/ |
H A D | update0002.sql | 5 page TEXT NOT NULL REFERENCES pages (page) ON DELETE CASCADE, field 8 PRIMARY KEY (page, user) 11 INSERT INTO acks_temp (page,user,ack) SELECT page,user,ack FROM acks; 17 page TEXT NOT NULL REFERENCES pages (page), field 20 PRIMARY KEY (page, user, ack) 23 INSERT INTO acks (page,user,ack) SELECT page,use [all...] |
/plugin/autolink3/ |
H A D | ajax.php | 72 foreach($pages as $page) 74 print $page['id']."\n"; 116 function is_link_application($page, $text) argument 123 $page = realpath($page); 125 if (!strncmp($page, $locate, strlen($locate))) 134 function ajax_indexpage($page = NULL, $text = NULL) { argument 138 if(!$_POST['page'] && $page == NULL) 148 !$page ? $page = $_REQUEST['page'] : $flag = 1; 151 $page = ':'.trim($page).'.txt'; 152 $text = is_link_application($page, $text); [all …]
|
/plugin/include/ |
H A D | helper.php | 232 * Returns the converted instructions of a give page/section 237 function _get_instructions($page, $sect, $mode, $lvl, $flags, $root_id = null, $included_pages = array()) { argument 238 $key = ($sect) ? $page . '#' . $sect : $page; 248 if (page_exists($page) || $flags['pageexists'] == 0) { 251 $title = p_get_first_heading($page); 265 if (page_exists($page)) { 268 $ID = $page; // Change the global $ID as otherwise plugins like the discussion plugin will save data for the wrong page 269 $ins = p_cached_instructions(wikiFN($page), fals 293 _convert_instructions(& $ins, $lvl, $page, $sect, $flags, $root_id, $included_pages = array()) global() argument 508 _footer($page, $sect, $sect_title, $flags, $footer_lvl, $root_id) global() argument 520 _editbtn(& $ins, $page, $sect, $sect_title, $root_id, $hid = '') global() argument 533 _permalink(& $ins, $page, $sect, $flags) global() argument 545 adapt_links(& $ins, $page, $included_pages = null) global() argument 658 _get_firstsec(& $ins, $page, $flags) global() argument 695 _get_included_pages($mode, $page, $sect, $parent_id, $flags) global() argument [all...] |
/plugin/redirect2/ |
H A D | syntax.php | 46 // extract target page from match pattern 48 $page = substr(ltrim($match), 10); 50 $page = substr($match, 11, -2); 52 $page = trim($page); 54 if (!preg_match('#^(https?)://#i', $page)) { 55 $page = cleanID($page); 56 $title = p_get_metadata($page, 'title'); 57 $link = html_wikilink($page, [all...] |
/plugin/tabinclude/ |
H A D | helper.php | 23 'tabs' => array('page'=>'page ID','title'=>'page title','error'=>'error msg'),
33 'tabs' => array('page'=>'page ID','title'=>'page title','error'=>'error msg'),),
49 $pages = explode($page_delim,$match); // extract page names
56 $init_page_idx = 0; // initial page index
58 // Put page ID into $page
[all...] |
/plugin/struct/action/ |
H A D | title.php | 19 * Saves the page title when meta data is saved 35 * Store the page's title 42 $id = $event->data['page']; 45 $page = new PageMeta($id); 48 $latest = $page->getPageData(); 59 $page->setTitle($event->data['current']['title']); 61 $page->setTitle(null); 65 $page->setLastRevision($event->data['current']['last_change']['date']); 67 $page->setLastRevision(null); 71 $page [all...] |
/plugin/ireadit/ |
H A D | helper.php | 92 $res = $approve_sqlite->query('SELECT rev FROM revision WHERE page=? AND approved IS NOT NULL', $id); 99 if ($this->getConf('approve_integration') && $this->use_approve_here($id)) { // check if this is newest approve page 104 } elseif ($rev == p_get_metadata($id, 'last_change date')) { // check if it is last page revision 123 WHERE page = ? 153 foreach ($current_user_pages as $page) { 154 $current_rev = p_get_metadata($page, 'last_change date'); 156 $pages[$page] = [ 163 $res = $sqlite->query('SELECT page, MAX(rev) as "rev", timestamp FROM ireadit WHERE user=? GROUP BY page', 166 $res = $sqlite->query('SELECT page, MA [all...] |
/plugin/findologicxmlexport/tpl/ |
H A D | admin.twig | 28 <th class="header-page-id"> 31 <th class="header-page-url"> 44 {% for key, page in page..maxPages-1 %} 47 <td class="page-id"> 49 {{pages[page].id}} 51 <td class="page-url"> 53 <a target="_blank" href="{{pages[page].url}}">{{pages[page].url}}</a> 55 <td class="page-author"> 57 {{pages[page].author}} 63 <td class="page-edit-link"> [all …]
|
/plugin/combo/resources/theme/default/components/css/ |
H A D | page-explorer-tree.css | 1 .page-explorer-tree-cs { 9 .page-explorer-tree-cs ul { 14 .page-explorer-tree-cs > ul { 18 .page-explorer-tree-cs li { 23 .page-explorer-tree-cs img, .page-explorer-tree-cs svg { 28 .page-explorer-tree-cs a { 40 .page-explorer-tree-cs > ul { 47 .page-explorer-tree-cs a { 52 .page [all...] |
/plugin/aichat/ |
H A D | Embeddings.php | 135 foreach ($pages as $pid => $page) { 136 $chunkID = $pid * 100; // chunk IDs start at page ID * 100 139 !page_exists($page) || 140 isHiddenPage($page) || 141 filesize(wikiFN($page)) < 150 || // skip very small pages 142 ($skipRE && preg_match($skipRE, (string)$page)) || 143 ($matchRE && !preg_match($matchRE, ":$page")) 145 // this page should not be in the index (anymore) 146 $this->storage->deletePageChunks($page, $chunkID); 151 if ($firstChunk && @filemtime(wikiFN($page)) < 132 createPageChunks($page, $firstChunkID) global() argument [all...] |