Home
last modified time | relevance | path

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

/dokuwiki/inc/Subscriptions/
H A DBulkSubscriptionSender.php86 foreach ($changes as $rev) {
88 while (!is_null($rev) && $rev['date'] >= $lastupdate &&
91 $pagelog = new PageChangeLog($rev['id']);
92 $rev = $pagelog->getRevisions($n++, 1);
93 $rev = (count($rev) > 0) ? $rev[0] : null;
96 if (!is_null($rev) && $rev['date'] >= $lastupdate) {
98 $change_ids[] = $rev['id'];
200 $rev = $pagelog->getRevisions($n++, 1);
201 $rev = (count($rev) > 0) ? $rev[0] : null;
202 } while (!is_null($rev) && $rev > $lastupdate);
[all …]
H A DMediaSubscriptionSender.php18 * @param int|bool $rev Old revision if any
21 …public function sendMediaDiff($subscriber_mail, $template, $id, $rev = false, $current_rev = false) argument
34 if ($rev && $conf['mediarevisions']) {
35 $trep['OLD'] = ml($id, "rev=$rev", true, '&', true);
41 if ($rev) {
42 $headers['In-Reply-To'] = $this->getMessageID($id, $rev);
H A DPageSubscriptionSender.php20 * @param int|null $rev Old revision if any
26 …public function sendPageDiff($subscriber_mail, $template, $id, $rev = null, $summary = '', $curren… argument
39 if ($rev) {
41 $trep['OLDPAGE'] = wl($id, "rev=$rev", true, '&');
43 $old_content = rawWiki($id, $rev);
73 if ($rev) {
74 $headers['In-Reply-To'] = $this->getMessageID($id, $rev);
H A DSubscriptionSender.php23 …* @param string $rev The revision of the page, set to the current revision of the page $id if not …
27 protected function getMessageID($id, $rev = null) argument
37 if (is_null($rev)) {
38 $rev = @filemtime(wikiFN($id));
41 return "<$id?rev=$rev@$listid>";
/dokuwiki/inc/Ui/
H A DRevisions.php79 $rev = $info['date'];
86 } elseif (file_exists(mediaFN($id, $rev))) {
87 $form->addCheckbox('rev2[]')->val($rev);
150 $rev = $info['date'];
155 if (page_exists($id, $rev)) {
156 $form->addCheckbox('rev2[]')->val($rev);
226 'date' => $rev,
269 foreach ($revlist as $rev) {
378 $rev = $this->info['date'];
385 } elseif (file_exists(mediaFN($id, $rev))) {
[all …]
H A DDiff.php347 foreach ($l_revs as $rev) {
348 $info = $pagelog->getRevisionInfo($rev);
349 $l_revisions[$rev] = array(
351 'attrs' => ['title' => $rev],
353 … if ($r_rev ? $rev >= $r_rev : false) $l_revisions[$rev]['attrs']['disabled'] = 'disabled';
360 foreach ($r_revs as $rev) {
361 $info = $pagelog->getRevisionInfo($rev);
362 $r_revisions[$rev] = array(
364 'attrs' => ['title' => $rev],
366 if ($rev <= $l_rev) $r_revisions[$rev]['attrs']['disabled'] = 'disabled';
/dokuwiki/inc/ChangeLog/
H A DChangeLog.php72 * @param int $rev revision timestamp
85 public function getRevisionInfo($rev) argument
87 $rev = max($rev, 0);
261 $rev = max($rev, 0);
294 … if (($direction > 0 && $tmp['date'] > $rev) || ($direction < 0 && $tmp['date'] < $rev)) {
338 $rev = $rev2;
340 $rev1 = $rev;
397 * @param int $rev revision timestamp
403 protected function readloglines($rev) argument
444 if ($finger_rev > $rev) {
[all …]
/dokuwiki/inc/
H A Dpageutils.php270 if($rev !== '' && $date_at) {
274 $rev = $pagelog_rev;
304 return $cache[$id][$rev];
307 if(empty($rev)){
325 $cache[$id][$rev] = $fn;
411 if(empty($rev)){
508 * @param int|string $rev
513 if($rev !== '' && $date_at){
533 * @param string $rev
560 $rev = $pagelog_rev;
[all …]
H A Dfetch.functions.php139 * @param string $rev
144 function checkFileStatus(&$media, &$file, $rev = '', $width=0, $height=0) { argument
173 $file = mediaFN($media, $rev);
H A Dio.php67 * @param bool|int $rev revision timestamp
70 function io_readWikiPage($file, $id, $rev=false) { argument
71 if (empty($rev)) { $rev = false; }
72 $data = array(array($file, true), getNS($id), noNS($id), $rev);
186 * @param int|bool $rev timestamp of revision
189 function io_writeWikiPage($file, $content, $id, $rev=false) { argument
190 if (empty($rev)) { $rev = false; }
191 if ($rev===false) { io_createNamespace($id); } // create namespaces as needed
192 $data = array(array($file, $content, false), getNS($id), noNS($id), $rev);
H A Ddeprecated.php492 * @param int|null $rev Old revision if any
498 public function send_diff($subscriber_mail, $template, $id, $rev = null, $summary = '') { argument
501 return $subscriptionSender->sendPageDiff($subscriber_mail, $template, $id, $rev, $summary);
512 * @param int|bool $rev Old revision if any
516 public function send_media_diff($subscriber_mail, $template, $id, $rev = false) { argument
519 return $subscriptionSender->sendMediaDiff($subscriber_mail, $template, $id, $rev);
H A Dmedia.php955 media_preview($image, $auth, $rev, $meta);
957 media_details($image, $auth, $rev, $meta);
1029 if ($rev) {
1030 $more['rev'] = $rev;
1078 if ($auth >= $auth_ow && !$rev) {
1093 …if ($auth >= AUTH_UPLOAD && $rev && $conf['mediarevisions'] && file_exists(mediaFN($image, $rev)))…
1102 $form->setHiddenField('rev', $rev);
1118 * @param int|string $rev
1126 $info = getimagesize(mediaFN($image, $rev));
1489 function media_restore($image, $rev, $auth){ argument
[all …]
H A Dtemplate.php1422 * @param boolean $rev
1424 function tpl_mediaFileDetails($image, $rev) { argument
1435 if($rev && !file_exists(mediaFN($image, $rev))) $rev = false;
1460 $attributes = $rev ? ['rev' => $rev] : [];
1463 if($opened_tab === 'view' && $rev) {
1464 printf($lang['media_viewold'], $tabTitle, dformat($rev));
1474 media_tab_view($image, $ns, null, $rev);
1750 $rev = '';
1754 if(isset($REV) && !$JUMPTO) $rev = $REV;
1777 tpl_mediaFileDetails($image, $rev);
H A DAjax.php231 $rev = false;
232 if(isset($REV) && !$JUMPTO) $rev = $REV;
235 tpl_mediaFileDetails($image, $rev);
H A Dparserutils.php65 * @param string|int $rev revision timestamp or empty string
71 function p_wiki_xhtml($id, $rev='', $excuse=true,$date_at=''){ argument
72 $file = wikiFN($id,$rev);
80 if($rev || $date_at){
83 … $ret = p_render('xhtml',p_get_instructions(io_readWikiPage($file,$id,$rev)),$info,$date_at);
H A Dcommon.php1058 * @param string|int $rev timestamp when a revision of wikitext is desired
1061 function rawWiki($id, $rev = '') { argument
1062 return io_readWikiPage(wikiFN($id, $rev), $id, $rev);
1211 * @param string $rev optional, the revision timestamp
1214 function rawWikiSlices($range, $id, $rev = '') { argument
1215 $text = io_readWikiPage(wikiFN($id, $rev), $id, $rev);
1465 * @param int|string $rev Old page revision
1474 function notify($id, $who, $rev = '', $summary = '', $minor = false, $replace = array(), $current_r… argument
1501 return $subscription->sendPageDiff($to, $tpl, $id, $rev, $summary, $current_rev);
H A DDifferenceEngine.php549 $rev = $this;
550 $rev->edits = array();
552 $rev->edits[] = $edit->reverse();
554 return $rev;
636 $rev = $this->reverse();
637 if (serialize($to_lines) != serialize($rev->orig()))
639 if (serialize($from_lines) != serialize($rev->closing()))
/dokuwiki/inc/lang/sk/
H A Donceexisted.txt3 …am [[?do=revisions|predošlých revízií]] a zistíte, kedy a prečo bola stránka zmazaná. Tiež získate…
/dokuwiki/inc/Remote/
H A DApiCore.php213 public function rawPage($id, $rev = '') argument
219 $text = rawWiki($id, $rev);
295 public function htmlPage($id, $rev = '') argument
470 public function pageInfo($id, $rev = '') argument
476 $file = wikiFN($id, $rev);
484 if ($rev === '') {
485 $rev = $time;
495 'version' => $rev
869 foreach ($revisions as $rev) {
870 $file = wikiFN($id, $rev);
[all …]
/dokuwiki/inc/lang/ku/
H A Ddiff.txt3 Li vê derê cuyawaziyên nav revîziyona hilbijartî û verziyona aniha tên nîşan dan.
/dokuwiki/inc/File/
H A DMediaFile.php23 * @param string|int $rev optional revision
25 public function __construct($id, $rev = '') argument
28 $this->path = mediaFN($id, $rev);
/dokuwiki/
H A Dfeed.php314 $rev = $revs[0];
322 … if($rev && $size = media_image_preview_size($id, $rev, new JpegMeta(mediaFN($id, $rev)), 300)) {
323 $more = 'rev='.$rev.'&w='.$size[0].'&h='.$size[1];
329 $content .= '<tr><th width="50%">'.$rev.'</th>';
340 $rev = $revs[0];
342 if($rev) {
343 $df = new Diff(explode("\n", rawWiki($id, $rev)),
354 $content .= '<tr><th colspan="2" width="50%">'.$rev.'</th>';
/dokuwiki/inc/lang/en/
H A Dmailtext.txt13 happens, a message will be shown on the top of the rev page.
/dokuwiki/lib/plugins/authad/adLDAP/classes/
H A DadLDAPUtils.php148 $rev = hexdec(substr($hex_sid, 0, 2));
151 $result = "$rev-$auth";