Home
last modified time | relevance | path

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

/dokuwiki/inc/Action/
DRevert.php35 global $REV;
42 if ($REV) {
43 $text = rawWiki($ID, $REV);
45 $sum = sprintf($lang['restored'], dformat($REV));
56 $REV = '';
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));
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);
93 $output = p_cached_output(wikiFN($ID, $REV), $mode, $ID);
DSource.php29 global $REV;
32 $TEXT = rawWiki($ID, $REV);
/dokuwiki/inc/Menu/Item/
DRevert.php15 global $REV;
20 if (!$REV || !$INFO['writable'] || $INPUT->server->str('REMOTE_USER') === '') {
23 $this->params['rev'] = $REV;
DEdit.php18 global $REV;
30 $this->params['rev'] = $REV;
37 $params['rev'] = $REV;
/dokuwiki/inc/Ui/
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);
DEditor.php29 global $REV;
55 $intro = ($REV) ? 'editrev' : 'edit';
68 $form->setHiddenField('rev', $REV);
DPageRevisions.php50 global $lang, $REV;
82 } elseif ($rev == $REV) {
DPageDiff.php121 global $INFO, $REV;
123 $REV = $this->rev1; // store revision back in $REV
/dokuwiki/_test/tests/inc/
Dtemplate_tpl_get_action.php15 global $REV;
18 $REV = '';
41 global $REV;
44 $REV = '1234';
67 global $REV;
70 $REV = '';
93 global $REV;
96 $REV = '';
118 global $REV;
121 $REV = '';
[all …]
Dcommon_pageinfo.test.php102 global $ID,$conf,$REV;
145 global $ID,$conf,$REV;
150 $REV = $rev - 100;
161 $info['rev'] = $REV;
163 $info['filepath'] = str_replace('pages','attic',substr($filename,0,-3).$REV.$ext);
166 $this->assertEquals($rev-100, $REV);
173 global $ID,$conf,$REV,$RANGE;
201 $this->assertFalse(isset($REV));
206 $REV = $rev;
210 $this->assertEquals('',$REV);
[all …]
Dcommon_saveWikiText.test.php98 global $REV;
208 $REV = $lastmod;
225 $REV = '';
/dokuwiki/lib/exe/
Ddetail.php9 global $INPUT, $INFO, $IMG, $ID, $REV, $SRC, $ERROR, $AUTH;
15 $REV = $INPUT->int('rev'); variable
32 $SRC = mediaFN($IMG, $REV);
Dfetch.php32 $REV = &$INPUT->ref('rev'); variable
34 $REV = preg_replace('/[^0-9]/', '', $REV); variable
44 [$STATUS, $STATUSMESSAGE] = checkFileStatus($MEDIA, $FILE, $REV, $WIDTH, $HEIGHT);
Dmediamanager.php100 if ($INPUT->int('rev') && $conf['mediarevisions']) $REV = $INPUT->int('rev'); variable
103 $JUMPTO = media_restore($INPUT->str('image'), $REV, $AUTH);
/dokuwiki/
Ddoku.php23 global $ACT, $INPUT, $QUERY, $ID, $REV, $DATE_AT, $IDX,
45 $REV = $INPUT->int('rev'); variable
81 $REV = null; variable
94 $REV = $DATE_AT; //will result in a page not exists message variable
96 $REV = $rev_t; variable
/dokuwiki/inc/Menu/
DMobileMenu.php59 global $REV;
67 if ($REV) $html .= '<input type="hidden" name="rev" value="' . $REV . '" />';
/dokuwiki/lib/plugins/revert/
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/lib/tpl/dokuwiki/
Ddetail.php51 <?php if ($REV) echo p_locale_xhtml('showrev');?>
/dokuwiki/inc/File/
DPageFile.php89 global $REV;
106 'revertFrom' => $REV,
121 $data['changeInfo'] = $REV;
/dokuwiki/inc/
DAjax.php236 global $IMG, $JUMPTO, $REV, $fullscreen, $INPUT;
245 if (isset($REV) && !$JUMPTO) $rev = $REV;
Dtemplate.php145 global $REV;
153 } elseif (($ACT == 'show' || str_starts_with($ACT, 'export')) && !$REV && $INFO['exists']) {
228 global $REV;
339 if (($ACT == 'show' || $ACT == 'export_xhtml') && !$REV) {
1186 global $REV;
1209 $url = ml($IMG, ['cache' => $INPUT->str('cache'), 'rev' => $REV], true, '&');
1210 …$src = ml($IMG, ['cache' => $INPUT->str('cache'), 'rev' => $REV, 'w' => $w, 'h' => $h], true, '&');
1852 global $NS, $IMG, $JUMPTO, $REV, $lang, $fullscreen, $INPUT;
1860 if (isset($REV) && !$JUMPTO) $rev = $REV;
Dcommon.php221 global $REV;
230 $info['rev'] = $REV;
240 if ($REV) {
242 if ($info['exists'] && ($info['currentrev'] == $REV)) {
243 $REV = '';
246 $REV = '';
251 $info['filepath'] = wikiFN($ID, $REV);
255 $info['rev'] = $REV;
269 if ($REV) {
270 $revinfo = $pagelog->getRevisionInfo($REV);
Dmedia.php541 global $REV;
566 if ($REV) {
571 sprintf($lang['restored'], dformat($REV)),
572 $REV,