Home
last modified time | relevance | path

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

12345

/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/combo/ComboStrap/
H A DDokuPath.php63 private $rev; variable in ComboStrap\\DokuPath
89 * @param string|null $rev - the revision (mtime)
157 $this->rev = $rev;
178 if (!empty($rev)) {
179 $filePath = mediaFN($this->id, $rev);
185 if (!empty($rev)) {
186 $filePath = wikiFN($this->id, $rev);
364 return new DokuPath($mediaId, $type, $rev);
503 return $this->rev;
614 if ($this->rev !== null) {
[all …]
/plugin/publish/action/
H A Dmail.php111 $rev = filemtime(wikiFN($ID));
124 $oldrev = $changelog->getRelativeRevision($rev, -1);
138 $newlink = $this->revlink($ID, $rev);
142 $newlink = $this->revlink($ID, $rev);
146 $revinfo = $changelog->getRevisionInfo($rev);
178 $rev = $data['lastmod'];
180 $rev=$REV;
183 $revinfo = $changelog->getRevisionInfo($rev);
214 * @param string $rev The timestamp of the revision
217 function revlink($id, $rev) { 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/struct/_test/
H A DStructTest.php41 * @param int $rev allows to create schemas back in time
44 protected function loadSchemaJSON($schema, $json = '', $rev = 0) argument
54 if (!$importer->build($rev)) {
97 * @param int $rev allows to override the revision timestamp
100 protected function saveData($page, $table, $data, $rev = 0, $rid = 0) argument
103 if (AccessTable::isTypePage($page, $rev)) {
104 $access = AccessTable::getPageAccess($table, $page, $rev);
105 } elseif (AccessTable::isTypeSerial($page, $rev)) {
H A DSearchConfigParameter.test.php238 $rev = time();
246 …<tr class="row1" data-pid="page14" data-rev="' . $rev . '" data-rid="0"><td class="col0">6</td><td…
248 …<tr class="row2" data-pid="page15" data-rev="' . $rev . '" data-rid="0"><td class="col0">7</td><td…
250 …<tr class="row3" data-pid="page16" data-rev="' . $rev . '" data-rid="0"><td class="col0">8</td><td…
252 …<tr class="row4" data-pid="page17" data-rev="' . $rev . '" data-rid="0"><td class="col0">9</td><td…
254 …<tr class="row5" data-pid="page18" data-rev="' . $rev . '" data-rid="0"><td class="col0">10</td><t…
270 $this->assertEquals($rev, $tr1->attr('data-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],
204 foreach ($revs as $rev) {
205 $revInfo = $changelog->getRevisionInfo($rev);
207 $versions[$rev] = $version;
231 foreach ($revs as $rev) {
232 $revInfo = $changelog->getRevisionInfo($rev);
260 foreach ($revs as $rev) {
[all …]
H A Dapprove.php206 $rev = !$INFO['rev'] ? $last_change_date : $INFO['rev'];
212 WHERE page=? AND rev=?', $INFO['id'], $rev);
244 if ($rev != $last_change_date) {
257 } elseif ($last_approve['rev'] != $rev) {
288 if ($rev != $last_change_date) {
304 if ($rev == $last_change_date) {
407 $rev = $this->lastRevisionHasntApprovalData($id);
408 if ($rev) {
410 $last_change_date, $id, $rev);
430 $rev = $this->lastRevisionHasntApprovalData($id);
[all …]
H A Dnotification.php68 $rev = $notification['rev'];
85 'id' => $page.':'.$rev,
88 'timestamp' => (int)$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/gcalendar/
H A Dsyntax.php31 $rev = substr('$LastChangedRevision: 89 $',22);
32 $rev = trim(substr($rev,0,-1));
37 'date' => $lcDate.' Rev '.$rev,
/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/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/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/structsection/lib/
H A Dbundle.js1rev;if(i&&n){var u=jQuery('<div class="struct_inlineditor"><form></form><div class="err"></div></d…
/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,
/plugin/chat/
H A Dsyntax.php88 $rev = array_shift($revs);
89 $txt = rawWiki($dID, $rev);
90 $sum = $lang['chat_restored'] . $rev;
/plugin/watchcycle/
H A Daction.php296 … * @param int $rev revision of the last page edition by maintainer or -1 if no edition was made
300 protected function getLastMaintainerRev($meta, $maintainer, &$rev) argument
308 $rev = $meta['current']['last_change']['date'];
316 foreach ($revs as $rev) {
318 $revInfo = $changelog->getRevisionInfo($rev);
320 $rev = $revInfo['date'];
328 $rev = -1;
/plugin/photogallery/lightGallery/css/
H A Dlg-transitions.min.css1rev .lg-item{opacity:0}.lg-css3.lg-slide-skew-only-rev .lg-item.lg-next-slide,.lg-css3.lg-slide-sk…
/plugin/ireadit/action/
H A Dnotification.php62 $rev = $notification['rev'];
79 'id' => $page . ':' . $rev,
82 'timestamp' => (int)$rev

12345