Home
last modified time | relevance | path

Searched refs:rev (Results 1 – 25 of 130) sorted by relevance

123456

/plugin/etherpadlite/action/
Detherpadlite.php43 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/
Dstorage.php18 * @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/
Dcode.php18 $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/
Daction.php34 $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/
Dbanner.php100 * @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/
Dmail.php109 $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/
Dhelper.php72 $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/
DCHANGES.txt4 * 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/
DRevision.php23 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/
DWikiPath.php102 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 …]
DFetcherTraitWikiPath.php63 $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/
DStructTest.php44 * @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/
Dtpl.php22 $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/
Dsyntax.php31 $rev = substr('$LastChangedRevision: 89 $',22);
32 $rev = trim(substr($rev,0,-1));
37 'date' => $lcDate.' Rev '.$rev,
/plugin/tools/
Daction.php109 '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/
Ddb.php391 * @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/
DFarmSyncUtil.php278 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/
Dmain.js21 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/
Dupdate0001.sql44 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/
DStructtasksTest.php19 * @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/
Dupdate0003.sql9 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/
Detherpad-lite-client.php201 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/
Dbundle.js1rev;if(i&&n){var u=jQuery('<div class="struct_inlineditor"><form></form><div class="err"></div></d… property
/plugin/chat/
Dsyntax.php88 $rev = array_shift($revs);
89 $txt = rawWiki($dID, $rev);
90 $sum = $lang['chat_restored'] . $rev;
/plugin/struct/script/
DInlineEditor.js14 var rev = $self.parent().data('rev');
28 $form.append(jQuery('<input type="hidden" name="rev">').val(rev));
42 rev: rev, property

123456