Home
last modified time | relevance | path

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

/dokuwiki/inc/Action/
H A DRevert.php36 global $REV;
43 if ($REV) {
44 $text = rawWiki($ID, $REV);
46 $sum = sprintf($lang['restored'], dformat($REV));
57 $REV = '';
H A DEdit.php52 global $REV;
60 list($PRE, $TEXT, $SUF) = rawWikiSlices($RANGE, $ID, $REV);
62 $TEXT = rawWiki($ID, $REV);
71 if ($REV) {
72 $SUM = sprintf($lang['restored'], dformat($REV));
H A DSource.php28 global $REV;
31 $TEXT = rawWiki($ID, $REV);
H A DExport.php39 global $REV;
55 $output = rawWiki($ID, $REV);
77 $output = p_wiki_xhtml($ID, $REV, false);
85 $output = p_wiki_xhtml($ID, $REV, false);
88 $output = p_cached_output(wikiFN($ID, $REV), $mode, $ID);
/dokuwiki/inc/Menu/Item/
H A DRevert.php16 global $REV;
21 if (!$REV || !$INFO['writable'] || $INPUT->server->str('REMOTE_USER') === '') {
24 $this->params['rev'] = $REV;
H A DEdit.php17 global $REV;
29 $this->params['rev'] = $REV;
36 $params['rev'] = $REV;
/dokuwiki/inc/Ui/
H A DPageView.php37 global $REV;
43 if ($this->text !== null || $REV) {
63 if ($REV || $DATE_AT) {
65 $data = array('rev' => &$REV, 'date_at' => &$DATE_AT);
68 $html = p_wiki_xhtml($ID, $REV, true, $DATE_AT);
H A DEditor.php28 global $REV;
54 $intro = ($REV) ? 'editrev' : 'edit';
67 $form->setHiddenField('rev', $REV);
H A DDiff.php59 global $REV;
71 $rev1 = $REV;
119 $REV = $l_rev; // store revision back in $REV
/dokuwiki/lib/exe/
H A Ddetail.php9 global $INPUT, $IMG, $ID, $REV, $SRC, $ERROR, $AUTH;
15 $REV = $INPUT->int('rev'); variable
32 $SRC = mediaFN($IMG,$REV);
H A Dfetch.php30 $REV = & $INPUT->ref('rev'); variable
32 $REV = preg_replace('/[^0-9]/', '', $REV); variable
42 list($STATUS, $STATUSMESSAGE) = checkFileStatus($MEDIA, $FILE, $REV, $WIDTH, $HEIGHT);
H A Dmediamanager.php94 if ($INPUT->int('rev') && $conf['mediarevisions']) $REV = $INPUT->int('rev'); variable
97 $JUMPTO = media_restore($INPUT->str('image'), $REV, $AUTH);
/dokuwiki/
H A Ddoku.php21 global $ACT, $INPUT, $QUERY, $ID, $REV, $DATE_AT, $IDX,
43 $REV = $INPUT->int('rev'); variable
78 $REV = null; variable
86 $REV = $DATE_AT; //will result in a page not exists message variable
88 $REV = $rev_t; variable
/dokuwiki/inc/Menu/
H A DMobileMenu.php56 global $REV;
64 if($REV) $html .= '<input type="hidden" name="rev" value="' . $REV . '" />';
/dokuwiki/lib/plugins/revert/
H A Dadmin.php90 global $REV;
97 foreach ($old as $REV) {
98 $data = rawWiki($id, $REV);
105 printf('<li><div class="li">'.$this->getLang('reverted').'</div></li>', $id, $REV);
/dokuwiki/lib/tpl/dokuwiki/
H A Ddetail.php52 <?php if($REV) echo p_locale_xhtml('showrev');?>
/dokuwiki/inc/
H A Dcommon.php198 global $REV;
209 $info['rev'] = $REV;
218 if($REV) {
221 $REV = '';
224 $REV = '';
233 $info['rev'] = $REV;
248 if($REV) {
1333 global $REV;
1341 $svdta['revertFrom'] = $REV;
1353 if($REV) {
[all …]
H A DAjax.php223 global $IMG, $JUMPTO, $REV, $fullscreen, $INPUT;
232 if(isset($REV) && !$JUMPTO) $rev = $REV;
H A Dtemplate.php123 global $REV;
132 } elseif(($ACT == 'show' || substr($ACT, 0, 6) == 'export') && !$REV && $INFO['exists']) {
208 global $REV;
301 if(($ACT == 'show' || $ACT == 'export_xhtml') && !$REV) {
1098 global $REV;
1123 $url = ml($IMG, array('cache'=> $INPUT->str('cache'),'rev'=>$REV), true, '&');
1124 … $src = ml($IMG, array('cache'=> $INPUT->str('cache'),'rev'=>$REV, 'w'=> $w, 'h'=> $h), true, '&');
1746 global $NS, $IMG, $JUMPTO, $REV, $lang, $fullscreen, $INPUT;
1754 if(isset($REV) && !$JUMPTO) $rev = $REV;
H A Dmedia.php515 global $REV;
540 if($REV) {
545 sprintf($lang['restored'], dformat($REV)),
546 $REV,