/plugin/etherpadlite/action/ |
D | etherpadlite.php | 43 global $meta, $rev; 44 assert(is_array($meta[$rev])); 46 return $this->groupid."\$".$meta[$rev]["pageid"]; 48 return $meta[$rev]["pageid"]; 53 global $meta, $rev, $ID, $pageid; 55 assert(is_array($meta[$rev])); 61 $newpageid = md5(uniqid("dokuwiki:".md5($ID).":$rev:", true)); 69 $meta[$rev]["pageid"] = $newpageid; 106 global $conf, $ID, $REV, $INFO, $rev, $meta, $pageid, $USERINFO; 122 $rev = (int) (($INFO['rev'] == '') ? $INFO['lastmod'] : $INFO['rev']); [all …]
|
/plugin/renderrevisions/helper/ |
D | storage.php | 18 * @param int $rev 21 public function getFilename($id, $rev) argument 24 return $conf['olddir'] . '/' . utf8_encodeFN($id) . '.' . $rev . '.renderevision.xhtml'; 31 * @param int $rev 35 public function saveRevision($id, $rev, $content) argument 37 $file = $this->getFilename($id, $rev); 45 * @param int $rev 48 public function getRevision($id, $rev) argument 50 if(!$this->hasRevision($id, $rev)) return false; 51 $file = $this->getFilename($id, $rev); [all …]
|
/plugin/cite/ |
D | code.php | 18 $rev = $REV; //$REV includes converted DATE_AT as well 19 if (!$rev) { 20 $rev = $INFO['lastmod']; 24 return wl($ID, ['rev' => $rev], true); 37 $rev = $REV; //$REV includes converted DATE_AT as well 38 if (!$rev) { 39 $rev = $INFO['lastmod']; 43 return wl($ID, ['rev' => $rev, 'do' => 'cite'], true);
|
/plugin/prettyprint/ |
D | action.php | 34 $rev = $REV; 35 if(!$rev) { $rev = $meta['last_change']['date']; } 41 $longdate = dformat($rev); 45 if($meta['approval'][$rev]) { 47 if(is_array($meta['approval'][$rev])) { 48 $approver = $meta['approval'][$rev][1]; 49 if(!$approver) { $approver = $meta['approval'][$rev][2]; } 50 if(!$approver) { $approver = $meta['approval'][$rev][0]; } 52 $approver = $meta['approval'][$rev];
|
/plugin/structpublish/action/ |
D | banner.php | 100 * @param Revision $rev 103 protected function getBannerText($name, $rev, $diff = '') argument 105 if ($rev === null) { 110 '{user}' => userlink($rev->getUser()), 111 '{revision}' => $this->makeLink($rev->getId(), $rev->getRev(), dformat($rev->getRev())), 112 … '{datetime}' => $this->makeLink($rev->getId(), $rev->getRev(), dformat($rev->getTimestamp())), 113 '{version}' => hsc($rev->getVersion()), 121 if ($diff && $diff !== $rev->getRev()) { 122 … $link = wl($rev->getId(), ['do' => 'diff', 'rev2[0]' => $rev->getRev(), 'rev2[1]' => $diff]); 136 * @param int $rev revision to link to [all …]
|
/plugin/publish/action/ |
D | mail.php | 109 $rev = filemtime(wikiFN($ID)); 118 $difflink = $this->hlp->getDifflink($ID, $oldrev, $rev); 122 $oldrev = $changelog->getRelativeRevision($rev, -1); 123 $difflink = $this->hlp->getDifflink($ID, $oldrev, $rev); 136 $newlink = $this->revlink($ID, $rev); 140 $newlink = $this->revlink($ID, $rev); 144 $revinfo = $changelog->getRevisionInfo($rev); 176 $rev = $data['lastmod']; 178 $rev=$REV; 181 $revinfo = $changelog->getRevisionInfo($rev); [all …]
|
/plugin/ireadit/ |
D | helper.php | 72 $approved_revs = array_filter($revs, function ($rev) { 73 return $rev['status'] == 'approved'; 98 public function use_ireadit_here($id, $rev) { argument 101 if ($rev == $last_approved_rev) { // this is last approved version 104 … } elseif ($rev == p_get_metadata($id, 'last_change date')) { // check if it is last page revision 110 public function user_can_read_page($ireadit_data, $id, $rev, $user) { argument 111 if (!$this->use_ireadit_here($id, $rev)) return false; 125 ORDER BY timestamp', $id, $rev); 170 $rev = (int) $row['rev']; 173 $pages[$page]['last_read_rev'] = $rev; [all …]
|
/plugin/tline/ |
D | CHANGES.txt | 4 * Added test 5, really long labels, to test example page rev 1601, LarryK 9 src/webapp/examples/test_example/test.html -- LarryK rev 1598 11 Issue tracker #20 -- LarryK rev 1598 25 -- LarryK rev 1623 31 -- Hunt Culver and LarryK rev 1628 38 -- LarryK rev 1629 41 See issue 16 -- LarryK rev 1630 47 -- LarryK rev 1638 69 -- LarryK rev 1630, 1643 70 * Updated License to refer to JQuery -- LarryK rev 1643 [all …]
|
/plugin/structpublish/meta/ |
D | Revision.php | 23 protected $rev; variable in dokuwiki\\plugin\\structpublish\\meta\\Revision 40 * @param int $rev revision 42 public function __construct($id, $rev) argument 45 $this->rev = $rev; 55 $values = $this->getCoreData(['revision=' . $this->rev]); 106 return $this->rev; 220 'revision' => $this->rev, 271 * @param int|null $rev 274 public function getLatestPublishedRevision($rev = null) argument 277 if ($rev) { [all …]
|
/plugin/combo/ComboStrap/ |
D | WikiPath.php | 102 private $rev; variable in ComboStrap\\WikiPath 121 * @param string|null $rev - the revision (mtime) 132 protected function __construct(string $path, string $drive, string $rev = null) argument 245 $this->rev = $rev; 257 * @param string|null $rev - the revision (ie timestamp in number format) 261 …public static function createMarkupPathFromPath(string $parameterPath, string $rev = null): WikiPa… argument 274 return new WikiPath($parameterPath, self::MARKUP_DRIVE, $rev); 323 $defaultWikiPath = new WikiPath($defaultPath, self::MARKUP_DRIVE, $rev); 336 … $markupWikiPath = new WikiPath($parameterPath . '.' . $markupExtension, self::MARKUP_DRIVE, $rev); 352 static function createMediaPathFromPath($path, $rev = null): WikiPath argument [all …]
|
D | FetcherTraitWikiPath.php | 63 $rev = $tagAttributes->getValueAndRemove(WikiPath::REV_ATTRIBUTE); 70 $wikiPath = WikiPath::createMarkupPathFromPath($path, $rev); 72 $wikiPath = WikiPath::createFromPath($path, $drive, $rev); 113 $rev = $this->path->getRevision(); 114 $url->addQueryParameter(WikiPath::REV_ATTRIBUTE, $rev);
|
/plugin/struct/_test/ |
D | StructTest.php | 44 * @param int $rev allows to create schemas back in time 46 protected function loadSchemaJSON($schema, $json = '', $rev = 0) argument 56 if (!$importer->build($rev)) { 70 * @param int $rev allows to override the revision timestamp 73 protected function saveData($page, $table, $data, $rev = 0, $rid = 0) argument 76 if (AccessTable::isTypePage($page, $rev)) { 77 $access = AccessTable::getPageAccess($table, $page, $rev); 78 } elseif (AccessTable::isTypeSerial($page, $rev)) {
|
/plugin/approve/helper/ |
D | tpl.php | 22 $rev = !$INFO['rev'] ? $last_change_date : $INFO['rev']; 28 $page_revision = $db->getPageRevision($INFO['id'], $rev); 32 if ($page_revision['status'] == 'approved' && $rev == $last_approved_rev) { 55 if ($rev != $last_change_date) { 62 } elseif ($last_approved_rev != $rev) { 85 if ($rev != $last_change_date) { 101 if ($rev == $last_change_date) {
|
/plugin/gcalendar/ |
D | syntax.php | 31 $rev = substr('$LastChangedRevision: 89 $',22); 32 $rev = trim(substr($rev,0,-1)); 37 'date' => $lcDate.' Rev '.$rev,
|
/plugin/tools/ |
D | action.php | 109 'print' => wl($ID, array("rev" =>(int)$rev, "mddo" => "print"), false, "&") 110 ,'email' => wl($ID, array('rev' =>(int)$rev, 'do' => 'tellafriend'), false, '&') 111 ,'odt' => wl($ID, array("rev" =>(int)$rev, "do" => "export_odt"), false, "&") 112 ,'pdf' => wl($ID, array("rev" =>(int)$rev, "do" => "export_pdf"), false, "&") 113 ,'csv' => wl($ID, array("rev" =>(int)$rev, "do" => "export_csv"), false, "&") 114 ,'timeline' => wl($ID, array("rev" =>(int)$rev, "do" => "export_timeline"), false, "&") 115 ,'bookcreator' => wl($ID, array("rev" =>(int)$rev, "do" => "addtobook"), false, "&")
|
/plugin/issuelinks/helper/ |
D | db.php | 391 * @param int $rev 401 …public function savePageRevIssues($page, $rev, $serviceName, $project, $issue_id, $isMergeRequest,… argument 405 if (!$util->isValidTimeStamp($rev)) { 408 if ((int)$rev === 0) { 409 $rev = filemtime(wikiFN($page)); 411 $rev_info = $changelog->getRevisionInfo($rev); 413 $this->savePageRev($page, $rev, $rev_info['sum'], $user); 421 'rev' => $rev, 436 * @param int $rev 442 public function savePageRev($page, $rev, $summary, $user) argument [all …]
|
/plugin/farmsync/meta/ |
D | FarmSyncUtil.php | 278 foreach ($oldrevisions as $rev) { 279 …if (!file_exists($this->getRemoteFilename($source, $page, $rev)) && $rev != $sourceMtime) continue; 280 …sourceArchiveText = $rev == $sourceMtime ? $this->readRemotePage($source, $page) : $this->readRemo… 281 $targetArchiveText = $this->readRemotePage($target, $page, null, $rev); 320 $rev = substr($changelogLine, 0, 10); 321 if (!$this->isValidTimeStamp($rev)) { 328 if (substr($line, 0, 10) == $rev) { 329 $revisionsToAdjust = $this->freeChangelogRevision($lines, $rev); 333 if (substr($line, 0, 10) > $rev) { 349 * @param string $rev The timestamp which should not have an entry [all …]
|
/plugin/structsection/script/ |
D | main.js | 21 const { rev } = JSINFO.plugin_structsection; 36 $form.append(jQuery('<input type="hidden" name="rev">').val(rev)); 50 rev, property 85 JSINFO.plugin_structsection.rev = saved.rev;
|
/plugin/issuelinks/db/ |
D | update0001.sql | 44 rev INTEGER NOT NULL CHECK(rev > 0), field 50 PRIMARY KEY (page, rev, service, project_id, issue_id, is_mergerequest, type), 56 FOREIGN KEY (rev) REFERENCES pagerevs(rev)
|
/plugin/structtasks/_test/ |
D | StructtasksTest.php | 19 * @param int $rev allows to create schemas back in time 22 protected function loadSchemaJSON($schema, $json = '', $rev = 0) argument 33 if (!$importer->build($rev)) {
|
/plugin/approve/db/ |
D | update0003.sql | 9 rev INTEGER NOT NULL, field 16 PRIMARY KEY (page, rev) 31 ON revision (current, page, rev, ready_for_approval, approved, version);
|
/plugin/etherpadlite/externals/etherpad-lite-client/ |
D | etherpad-lite-client.php | 201 public function getText($padID, $rev=null){ argument 203 if (isset($rev)){ 204 $params["rev"] = $rev; 210 public function getHTML($padID, $rev=null){ argument 212 if (isset($rev)){ 213 $params["rev"] = $rev;
|
/plugin/structsection/lib/ |
D | bundle.js | 1 …rev;if(i&&n){var u=jQuery('<div class="struct_inlineditor"><form></form><div class="err"></div></d… property
|
/plugin/chat/ |
D | syntax.php | 88 $rev = array_shift($revs); 89 $txt = rawWiki($dID, $rev); 90 $sum = $lang['chat_restored'] . $rev;
|
/plugin/struct/script/ |
D | InlineEditor.js | 14 var rev = $self.parent().data('rev'); 28 $form.append(jQuery('<input type="hidden" name="rev">').val(rev)); 42 rev: rev, property
|