]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/default/templates/browse.tmpl
Do not show message "You are viewing an old revision of this page." when reverting
[SourceForge/phpwiki.git] / themes / default / templates / browse.tmpl
1 <?php
2 $action = $request->getArg('action');
3 ?>
4 <?php if ($revision and !$revision->isCurrent() and ($action!='revert')) { ?>
5   <p><strong><?php echo _("Note:")?></strong>
6      <?php echo _("You are viewing an old revision of this page.")?>
7   <?php echo Button('browse', _("View the current version."), $page)?>
8   </p>
9 <?php } ?>
10 <?php if (!empty($redirected)) { ?>
11   <p><?php echo $redirected ?></p>
12 <?php } ?>
13
14 <?php echo $CONTENT?>
15
16 <div id="footer"><?php // for top & bottom toolbars stylesheet ?>
17   <?php echo Template('browse-footer')?>
18 </div>