Home
last modified time | relevance | path

Searched refs:REV (Results 1 – 22 of 22) sorted by last modified time

/dokuwiki/inc/
H A Dtemplate.php145 global $REV;
153 } elseif (($ACT == 'show' || str_starts_with($ACT, 'export')) && !$REV && $INFO['exists']) {
228 global $REV;
338 if (($ACT == 'show' || $ACT == 'export_xhtml') && !$REV) {
1184 global $REV;
1207 $url = ml($IMG, ['cache' => $INPUT->str('cache'), 'rev' => $REV], true, '&');
1208 $src = ml($IMG, ['cache' => $INPUT->str('cache'), 'rev' => $REV, 'w' => $w, 'h' => $h], true, '&');
1850 global $NS, $IMG, $JUMPTO, $REV, $lang, $fullscreen, $INPUT;
1858 if (isset($REV) && !$JUMPTO) $rev = $REV;
[all...]
H A Dcommon.php218 global $REV;
224 // include ID & REV not redundant, as some parts of DokuWiki may temporarily change $ID, e.g. p_wiki_xhtml
227 $info['rev'] = $REV;
237 if ($REV) {
239 if ($info['exists'] && ($info['currentrev'] == $REV)) {
240 $REV = '';
243 $REV = '';
248 $info['filepath'] = wikiFN($ID, $REV);
252 $info['rev'] = $REV;
266 if ($REV) {
[all...]
H A DAjax.php236 global $IMG, $JUMPTO, $REV, $fullscreen, $INPUT;
245 if (isset($REV) && !$JUMPTO) $rev = $REV;
H A Dmedia.php541 global $REV;
566 if ($REV) {
571 sprintf($lang['restored'], dformat($REV)),
572 $REV,
/dokuwiki/lib/exe/
H A Dmediamanager.php100 if ($INPUT->int('rev') && $conf['mediarevisions']) $REV = $INPUT->int('rev');
103 $JUMPTO = media_restore($INPUT->str('image'), $REV, $AUTH);
98 if ($INPUT->int('rev') && $conf['mediarevisions']) $REV = $INPUT->int('rev'); global() variable
H A Dfetch.php32 $REV = &$INPUT->ref('rev'); variable
34 $REV = preg_replace('/[^0-9]/', '', $REV);
44 [$STATUS, $STATUSMESSAGE] = checkFileStatus($MEDIA, $FILE, $REV, $WIDTH, $HEIGHT);
30 $REV = & $INPUT->ref('rev'); global() variable
H A Ddetail.php9 global $INPUT, $IMG, $ID, $REV, $SRC, $ERROR, $AUTH;
15 $REV = $INPUT->int('rev'); variable
32 $SRC = mediaFN($IMG, $REV);
/dokuwiki/inc/Menu/Item/
H A DEdit.php18 global $REV;
30 $this->params['rev'] = $REV;
37 $params['rev'] = $REV;
H A DRevert.php15 global $REV;
20 if (!$REV || !$INFO['writable'] || $INPUT->server->str('REMOTE_USER') === '') {
23 $this->params['rev'] = $REV;
/dokuwiki/inc/Ui/
H A DEditor.php29 global $REV;
55 $intro = ($REV) ? 'editrev' : 'edit';
68 $form->setHiddenField('rev', $REV);
H A DPageDiff.php121 global $INFO, $REV;
123 $REV = $this->rev1; // store revision back in $REV
H A DPageRevisions.php50 global $lang, $REV;
82 } elseif ($rev == $REV) {
H A DPageView.php37 global $REV;
43 if ($this->text !== null || $REV) {
62 if ($REV || $DATE_AT) {
64 $data = ['rev' => &$REV, 'date_at' => &$DATE_AT];
67 $html = p_wiki_xhtml($ID, $REV, true, $DATE_AT);
/dokuwiki/inc/Action/
H A DEdit.php53 global $REV;
61 [$PRE, $TEXT, $SUF] = rawWikiSlices($RANGE, $ID, $REV);
63 $TEXT = rawWiki($ID, $REV);
72 if ($REV) {
73 $SUM = sprintf($lang['restored'], dformat($REV));
H A DExport.php41 global $REV;
57 $output = rawWiki($ID, $REV);
79 $output = p_wiki_xhtml($ID, $REV, false);
87 $output = p_wiki_xhtml($ID, $REV, false);
90 $output = p_cached_output(wikiFN($ID, $REV), $mode, $ID);
H A DRevert.php35 global $REV;
42 if ($REV) {
43 $text = rawWiki($ID, $REV);
45 $sum = sprintf($lang['restored'], dformat($REV));
56 $REV = '';
H A DSource.php29 global $REV;
32 $TEXT = rawWiki($ID, $REV);
/dokuwiki/lib/plugins/revert/
H A Dadmin.php91 global $REV;
98 foreach ($old as $REV) {
99 $data = rawWiki($id, $REV);
106 printf('<li><div class="li">' . $this->getLang('reverted') . '</div></li>', $id, $REV);
/dokuwiki/
H A Ddoku.php23 global $ACT, $INPUT, $QUERY, $ID, $REV, $DATE_AT, $IDX,
45 $REV = $INPUT->int('rev');
75 //check for existing $REV related to $DATE_AT
81 $REV = null;
94 $REV = $DATE_AT; //will result in a page not exists message
96 $REV = $rev_t;
43 $REV = $INPUT->int('rev'); global() variable
78 $REV = null; global() variable
90 $REV = $DATE_AT; //will result in a page not exists message global() variable
92 $REV = $rev_t; global() variable
/dokuwiki/lib/tpl/dokuwiki/
H A Ddetail.php51 <?php if ($REV) echo p_locale_xhtml('showrev');?>
/dokuwiki/inc/Menu/
H A DMobileMenu.php59 global $REV;
67 if ($REV) $html .= '<input type="hidden" name="rev" value="' . $REV . '" />';
/dokuwiki/inc/File/
H A DPageFile.php89 global $REV;
106 'revertFrom' => $REV,
121 $data['changeInfo'] = $REV;