Home
last modified time | relevance | path

Searched refs:page (Results 1 – 25 of 2177) sorted by relevance

12345678910>>...88

/plugin/abc2/abc-libraries/abc2svg/
Dpage-1.js5 abc2svg.page={img_out:function(page,p){var cur_img_out=user.img_out;page.user_out(p) argument
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.close_page(page)
9 if(user.img_out==page.img_out_sav)
10 user.img_out=page.user_out}
11 of()},gen_hf:function(page,ty){var a,i,j,k,x,y,y0,s,font=page.abc.get_font(ty),str=page[ty],cfmt=pa… argument
39 t=abc2svg.get_mtime(page.abc.parse.fname)
46 case'F':r[j]+=page.abc.parse.fname
49 case'T':t=page.abc.info()[c]
[all …]
/plugin/farmsync/_test/mock/
DFarmSyncUtil.php18 * @param string $page
21 public function setPageExists($animal, $page, $exists) { argument
22 $this->remoteData[$animal][$page]['exists'] = $exists;
34 public function remotePageExists($animal, $page, $clean = true) { argument
35 …s->remoteData[$animal][$page]['exists']) ? $this->remoteData[$animal][$page]['exists'] : parent::r…
46 public function setCommonAncestor($source, $animal, $page, $content) { argument
47 $this->remoteData[$source][$animal][$page]['commonAncestor'] = $content;
50 public function findCommonAncestor($page, $source, $target) { argument
51 …rce][$target][$page]['commonAncestor']) ? $this->remoteData[$source][$target][$page]['commonAncest…
55 public function saveRemotePage($animal, $page, $content, $timestamp = false) { argument
[all …]
/plugin/inlineeditor/
Dscript.js14 this.page = null;
33 document.getElementById("load"+pl_si.id+pl_si.page).style.display = 'none';
34 document.getElementById("quickedit_stop"+pl_si.id+pl_si.page).style.display = 'none';
35 document.getElementById("quickedit_start"+pl_si.id+pl_si.page).style.display = 'block';
49 document.getElementById("quickedit_textbox"+pl_si.id+pl_si.page).id = 'wiki__text';
52 document.getElementById("load"+pl_si.id+pl_si.page).style.display = 'none';
53 document.getElementById("quickedit_start"+pl_si.id+pl_si.page).style.display= 'none';
54 document.getElementById("quickedit_stop"+pl_si.id+pl_si.page).style.display = 'block';
56 initToolbar("quicktoolbar"+pl_si.id+pl_si.page,"wiki__text",toolbar,true);
60 function quickedit_save(id, range, page) argument
[all …]
/plugin/struct/_test/types/
DPageTest.php195 $page = new Page();
196 $this->assertEquals($validatedValue, $page->validate($rawvalue), $msg);
203 $page = new Page(
220 ], $page->handleAjax()
229 ], $page->handleAjax()
233 $this->assertEquals([], $page->handleAjax());
238 ], $page->handleAjax());
249 $page = new Page(
261 …$this->assertEquals([['label' => 'syntax (wiki)', 'value' => 'wiki:syntax']], $page->handleAjax());
268 $page = new Page(
[all …]
/plugin/acknowledge/
Dhelper.php80 foreach ($pages as $page) {
81 $page = trim($page);
82 $lastmod = @filemtime(wikiFN($page));
85 $this->db->exec($sql, [$page, $lastmod]);
99 * @param string $page the cleaned pageid to check
102 public function matchPagePattern($pattern, $page) argument
108 return (bool)preg_match($pattern, ":$page");
111 $pns = ':' . getNS($page) . ':';
124 } elseif (cleanID($pattern) == $page) {
166 * @param string $page Page ID
[all …]
/plugin/pagelist/
Dhelper.php47 public $page = null; variable in helper_plugin_pagelist
366 $this->page = null;
419 * @param array $page
438 public function addPage($page) argument
440 $id = $page['id'];
442 $this->page = $page;
446 if (!isset($this->page['draft'])) {
447 $this->page['draft'] = $this->getMeta('type') == 'draft';
469 $this->pages[$sortKey] = $this->page;
471 $this->pages[] = $this->page;
[all …]
/plugin/struct/_test/
DOutputTest.php26 $page = 'page01';
30 $page,
41 $page,
67 $page = 'page01';
68 $ID = $page;
70 saveWikiText($page, "====== abc ======\ndef", '');
71 $instructions = p_cached_instructions(wikiFN($page), false, $page);
81 $page = 'page01';
84 saveWikiText($page, "====== abc ======\n{{page>foo}}\n", '');
89 $ID = $page;
[all …]
/plugin/questionnaire/
Dhelper.php41 * @param string $page The page to get the questionnaire for
44 public function getQuestionnaire($page) argument
50 return $db->queryRecord($sql, $page);
56 * @param string $page The page to enable the questionnaire for
60 public function activateQuestionnaire($page, $user) argument
65 'page' => $page,
78 * @param string $page The page to disable the questionnaire for
82 public function deactivateQuestionnaire($page, $user) argument
86 $record = $db->queryRecord('SELECT * FROM questionnaires WHERE page = ?', $page);
97 * @param string $page The page of the questionnaire
[all …]
/plugin/tplinc/
Dhelper.php91 list($pattern, $page, $loc, $skipacl) = $row;
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;
97 if (!$skipacl && auth_quickaclcheck($page) < AUTH_READ) continue;
98 $pages[] = $page;
115 foreach ($pages as $page) {
116 $content .= p_wiki_xhtml($page, '', false);
144 * @param string $page the page to include on success - may contain regexp placeholders
[all …]
/plugin/farmsync/meta/
DEntityUpdates.php92 * @param string $page
95 protected function handleStartpage($source, $page) { argument
97 if ($this->farm_util->remotePageExists($source, $page . $conf['start'])) {
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);
[all …]
/plugin/accscounter/
Dadmin.php55 foreach ($_REQUEST['select'] as $page) {
56 if (file_exists($achelper->counterFN($page, '.ip'))) {
57 $ipdata = @file($achelper->counterFN($page, '.ip'));
65 … $counterarray = @file($achelper->counterFN($page, '.number'), FILE_IGNORE_NEW_LINES);
74 io_saveFile($achelper->counterFN($page, '.number'), $writing);
75 … msg(sprintf($this->getLang('sfstried'), $page, $element[0], $element[1]));
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…
[all …]
/plugin/extendpage/meta/
DAssignments.php70 * @param string $page
73 public function addPattern($pattern, $page, $pos) argument
77 $ok = (bool) $this->sqlite->query($sql, array($pattern, $page, $pos));
93 * @param string $page
114 if (!in_array($page, $pages)) {
151 * @param string $page
155 public function assignPageExtension($page, $pattern) argument
158 return (bool) $this->sqlite->query($sql, array($page, $pattern));
164 * @param string $page
168 public function deassignPageExtension($page, $pattern) argument
[all …]
/plugin/tumblr/
Dsyntax.php131 '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/include/
Dhelper.php239 …function _get_instructions($page, $sect, $mode, $lvl, $flags, $root_id = null, $included_pages = a… argument
240 $key = ($sect) ? $page . '#' . $sect : $page;
250 if (page_exists($page) || $flags['pageexists'] == 0) {
253 $title = p_get_first_heading($page);
267 if (page_exists($page)) {
270 …$ID = $page; // Change the global $ID as otherwise plugins like the discussion plugin will save da…
271 $ins = p_cached_instructions(wikiFN($page), false, $page);
277 … $this->_convert_instructions($ins, $lvl, $page, $sect, $flags, $root_id, $included_pages);
295 …function _convert_instructions(&$ins, $lvl, $page, $sect, $flags, $root_id, $included_pages = arra… argument
304 $this->_get_firstsec($ins, $page, $flags); // only first section
[all …]
/plugin/farmer/
Dadmin.php22 protected $page; variable in admin_plugin_farmer
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);
60 …adminplugin) nice_die('Something went wrong loading the plugin component for ' . hsc($this->page));
82 foreach ($this->pages as $page) {
83 $link = wl($ID, ['do' => 'admin', 'page' => 'farmer', 'sub' => $page]);
84 $class = ($page == $this->page) ? 'active' : '';
86 …li class="' . $class . '"><a href="' . $link . '">' . $this->getLang('tab_' . $page) . '</a></li>';
[all …]
/plugin/accscounter/syntax/
Dcounter.php38 function plugin_counter_get_count($page) argument
57 if (page_exists($page) == FALSE) return $default;
58 if (isset($counters[$page])) return $counters[$page];
61 $counters[$page] = $default;
170 $file = $achelper->counterFN($page, '.number');
178 if ($fp[0]) $counters[$page]['total'] = $fp[0];
179 if ($fp[1]) $counters[$page]['date'] = $fp[1];
180 if ($fp[2]) $counters[$page]['today'] = $fp[2];
181 if ($fp[3]) $counters[$page]['yesterday'] = $fp[3];
182 if ($fp[4]) $counters[$page]['ip'] = $fp[4];
[all …]
/plugin/struct/
Dhelper.php42 * @param string $page The page to get data for
48 public function getData($page, $schema = null, $time = 0) argument
50 $page = cleanID($page);
57 $schemas = $assignments->getPageAssignments($page, false);
64 $schemaData = AccessTable::getPageAccess($schema, $page, $time);
85 * @param string $page
94 public function saveData($page, $data, $summary = '', $minor = false) argument
96 $page = cleanID($page);
100 …if (!page_exists($page)) throw new StructException("Page does not exist. You can not attach struct…
103 $valid = AccessDataValidator::validateDataForPage($data, $page, $errors);
[all …]
/plugin/openas/
DREADME1 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.
25 The OpenAS form requires the newpagetemplate plugin. The will open the page 'newname',
[all …]
/plugin/farmsync/action/
Dajax.php55 $page = $INPUT->str('farmsync-page');
78 $targetText = $this->farm_util->readRemotePage($target, $page, false);
79 $sourceText = $this->farm_util->readRemotePage($source, $page, false);
97 $this->farm_util->saveRemoteMedia($source, $target, $page);
99 $this->overwriteRemotePage($source, $target, $page);
101 $json = $this->farm_util->getAnimalStructSchemasJSON($source, array($page));
102 $this->farm_util->importAnimalStructSchema($target, $page, $json[$page]);
104 $targetFN = $this->farm_util->getRemoteFilename($target, $page, null, false);
105 $sourceFN = $this->farm_util->getRemoteFilename($source, $page, null, false);
116 $this->writeManualMerge($source, $target, $page, $content);
[all …]
/plugin/tabinclude/
Dhelper.php61 $page = trim($pages[$i]);
65 if($page[0]=='*'){
67 $page = substr($page,1);
69 $items = explode('|',$page);
71 list($page,$title)=$items;
76 if (preg_match('/\[\[(.+?)\]\]/', $page, $match)){
80 $p = substr($page,0,strpos($page,'[['));
81 $page = $match[1];
82 if($page=='') continue;
90 while($page[0]=='*'){
[all …]
/plugin/autolink3/
Dajax.php72 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)))
127 $text = link_replace($text, $elem[0], $elem[1], DOKU_PAGE.str_replace(':', '/', $page));
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';
[all …]
/plugin/acknowledge/db/
Dupdate0002.sql5 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,user,ack FROM acks_temp;
/plugin/ireadit/
Dhelper.php153 foreach ($current_user_pages as $page) {
154 $current_rev = p_get_metadata($page, 'last_change date');
156 $pages[$page] = [
169 $page = $row['page'];
172 if (isset($pages[$page])) {
173 $pages[$page]['last_read_rev'] = $rev;
174 $pages[$page]['timestamp'] = $timestamp;
179 foreach ($current_user_pages as $page) {
180 … if (!$this->use_approve_here($page)) continue; // ignore the pages where approve doesn't apply
181 $approved_revs = $this->get_approved_revs($page);
[all …]
/plugin/redirect2/
Dsyntax.php48 $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, $title);
59 $link = '<a href="'.hsc($page).'" class="urlextern">'.hsc($page).'</a>';
65 return array($page, $message);
/plugin/aichat/
DEmbeddings.php159 foreach ($pages as $pid => $page) {
163 !page_exists($page) ||
164 isHiddenPage($page) ||
165 filesize(wikiFN($page)) < 150 || // skip very small pages
166 ($skipRE && preg_match($skipRE, (string)$page)) ||
167 ($matchRE && !preg_match($matchRE, ":$page"))
170 $this->storage->deletePageChunks($page, $chunkID);
175 if ($firstChunk && @filemtime(wikiFN($page)) < $firstChunk->getCreated()) {
177 $this->storage->reusePageChunks($page, $chunkID);
178 if ($this->logger instanceof CLI) $this->logger->info("Reusing chunks for $page");
[all …]

12345678910>>...88