]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/blog/templates/browse.tmpl
Do not show message "You are viewing an old revision of this page." when reverting
[SourceForge/phpwiki.git] / themes / blog / 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 <!--{{{ Content-->
15 <div id="content" class="narrowcolumn">
16
17 <?php echo $CONTENT?>
18
19 <!--{{{ Comments-->
20 <div class="comments">
21 </div>
22 <!--}}} Comments-->
23
24 <hr class="printer" noshade="noshade" />
25 <!--}}} Content-->
26 </div>
27
28 <!--{{{ Sidebar-->
29 <?php echo Template('sidebar')?>
30 <!--}}}-->