Home
last modified time | relevance | path

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

123456

/plugin/etherpadlite/action/
H A Detherpadlite.php43 global $meta, $rev;
44 assert(is_array($meta[$rev]));
48 return $meta[$rev]["pageid"];
55 assert(is_array($meta[$rev]));
123 if ($rev == 0) {
131 if (isset($meta[$rev])) {
151 if (isset($meta[$rev]) && ($meta[$rev]["owner"] != $this->client)) {
175 if (isset($meta[$rev]) && ($meta[$rev]["owner"] != $this->client) && $_POST["isSaveable"]) {
337 unset($meta[$rev]);
368 if (!isset($meta[$rev])) {
[all …]
/plugin/cite/
H A 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/
H A 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/
H A Dbanner.php96 * @param Revision $rev
99 protected function getBannerText($name, $rev, $diff = '') argument
101 if ($rev === null) {
106 '{user}' => userlink($rev->getUser()),
107 '{revision}' => $this->makeLink($rev->getId(), $rev->getRev(), dformat($rev->getRev())),
108 '{datetime}' => $this->makeLink($rev->getId(), $rev->getRev(), dformat($rev
136 makeLink($id, $rev, $text) global() argument
[all...]
/plugin/publish/action/
H A Dmail.php109 $rev = filemtime(wikiFN($ID));
122 $oldrev = $changelog->getRelativeRevision($rev, -1);
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);
212 * @param string $rev The timestamp of the revision
215 function revlink($id, $rev) { argument
[all …]
/plugin/structpublish/meta/
H A DRevision.php22 protected $rev; variable in dokuwiki\\plugin\\structpublish\\meta\\Revision
39 * @param int $rev revision
41 public function __construct($id, $rev) argument
44 $this->rev = $rev;
56 $values = $this->getCoreData(['revision=' . $this->rev]);
107 return $this->rev;
221 'revision' => $this->rev,
269 * If $rev is specified, "latest" means relative to the $rev revisio
270 getLatestPublishedRevision($rev = null) global() argument
[all...]
/plugin/tline/
H A DCHANGES.txt25 -- LarryK rev 1623
38 -- LarryK rev 1629
47 -- LarryK rev 1638
82 -- LarryK rev 1655
106 -- LarryK rev 1661
114 -- LarryK rev 1661
200 -- eob rev 1589
237 (LarryK) rev 1569
241 (LarryK) rev 1560
243 (LarryK) rev 1560
[all …]
/plugin/combo/ComboStrap/
H A DWikiPath.php77 const REV_ATTRIBUTE = "rev";
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): WikiPath argument
274 return new WikiPath($parameterPath, self::MARKUP_DRIVE, $rev);
323 $defaultWikiPath = new WikiPath($defaultPath, self::MARKUP_DRIVE, $rev);
352 createMediaPathFromPath($path, $rev = null) global() argument
449 createMediaPathFromId($id, $rev = null) global() argument
508 createMarkupPathFromId($id, $rev = null) global() argument
570 createWikiPath($path, $drive, string $rev = '') global() argument
718 createFromPath(string $path, string $drive, string $rev = null) global() argument
[all...]
H A DFetcherTraitWikiPath.php63 $rev = $tagAttributes->getValueAndRemove(WikiPath::REV_ATTRIBUTE);
70 $wikiPath = WikiPath::createMarkupPathFromPath($path, $rev);
72 $wikiPath = WikiPath::createFromPath($path, $drive, $rev);
97 * Add media and rev to url
113 $rev = $this->path->getRevision();
114 $url->addQueryParameter(WikiPath::REV_ATTRIBUTE, $rev);
116 // ok no rev
/plugin/approve/action/
H A Dmigration.php121 foreach ($versions as $rev => $version) {
124 'rev' => $rev,
125 'approved' => date('c', $rev),
126 'approved_by' => $revision_editors[$rev],
137 'rev' => $last_change_date,
204 foreach ($revs as $rev) {
205 $revInfo = $changelog->getRevisionInfo($rev);
207 $versions[$rev] = $version;
231 foreach ($revs as $rev) {
[all...]
H A Dapprove.php69 if ($last_approved_rev == $INFO['rev']) {
161 if ($INFO['rev'] != 0) return;
173 header("Location: " . wl($INFO['id'], ['rev' => $last_approved_rev], false, '&'));
205 $rev = !$INFO['rev'] ? $last_change_date : $INFO['rev'];
211 WHERE page=? AND rev=?', $INFO['id'], $rev);
221 if ($approve['approved'] && $rev == $last_approved_rev) {
246 if ($rev !
[all...]
/plugin/ireadit/
H A Dhelper.php102 public function use_ireadit_here($id, $rev) { argument
105 if ($rev == $last_approved_rev) { // this is last approved version
108 … } elseif ($rev == p_get_metadata($id, 'last_change date')) { // check if it is last page revision
114 public function user_can_read_page($ireadit_data, $id, $rev, $user) { argument
115 if (!$this->use_ireadit_here($id, $rev)) return false;
129 ORDER BY timestamp', $id, $rev);
174 $rev = (int) $row['rev'];
177 $pages[$page]['last_read_rev'] = $rev;
202 $rev = (int) $row['rev'];
203 if (in_array($rev, $approved_revs)) {
[all …]
/plugin/gcalendar/
H A Dsyntax.php31 $rev = substr('$LastChangedRevision: 89 $',22);
32 $rev = trim(substr($rev,0,-1));
37 'date' => $lcDate.' Rev '.$rev,
/plugin/tools/
H A 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/
H A Ddb.php391 * @param int $rev
405 if (!$util->isValidTimeStamp($rev)) {
408 if ((int)$rev === 0) {
409 $rev = filemtime(wikiFN($page));
411 $rev_info = $changelog->getRevisionInfo($rev);
421 'rev' => $rev,
436 * @param int $rev
442 public function savePageRev($page, $rev, $summary, $user) argument
444 if (blank($page) || blank($rev) || blank($user)) {
449 if (!$util->isValidTimeStamp($rev)) {
[all …]
/plugin/farmsync/meta/
H A 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…
320 $rev = substr($changelogLine, 0, 10);
321 if (!$this->isValidTimeStamp($rev)) {
328 if (substr($line, 0, 10) == $rev) {
333 if (substr($line, 0, 10) > $rev) {
355 if (substr($line, 0, 10) == $rev) {
363 $revisionsToAdjust = array($rev);
365 $revisionsToAdjust[] = $rev - ($i + 1);
[all …]
/plugin/structsection/script/
H A Dmain.js21 const { rev } = JSINFO.plugin_structsection;
36 $form.append(jQuery('<input type="hidden" name="rev">').val(rev));
50 rev,
85 JSINFO.plugin_structsection.rev = saved.rev;
/plugin/issuelinks/db/
H A 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/
H A 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/
H A Dupdate0001.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/
H A 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/
H A Dbundle.js1rev;if(i&&n){var u=jQuery('<div class="struct_inlineditor"><form></form><div class="err"></div></d…
/plugin/chat/
H A Dsyntax.php88 $rev = array_shift($revs);
89 $txt = rawWiki($dID, $rev);
90 $sum = $lang['chat_restored'] . $rev;
/plugin/publish/lang/sk/
H A Dmailchangetext.txt7 @APRPRE@ revízia : @OLDPAGE@
8 Nová revízia : @NEWPAGE@
15 Prosím preskúmajte zmeny a schváľte revíziu na adrese @NEWPAGE@ alebo zašlite spätnú väzbu používat…
/plugin/struct/script/
H A DInlineEditor.js14 var rev = $self.parent().data('rev');
27 $form.append(jQuery('<input type="hidden" name="rev">').val(rev));
41 rev: rev,
78 $self.parent().data('rev', saved['rev']);

123456