]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Crao/templates/browse.tmpl
fix revision can be empty
[SourceForge/phpwiki.git] / themes / Crao / templates / browse.tmpl
1 <?php // -*-html-*- ?>
2 <!-- $Id: browse.tmpl,v 1.4 2007-01-02 13:29:14 rurban Exp $ -->
3
4 <?php if ($revision and !$revision->isCurrent()) { ?>
5   <p><strong><?=_("Note:")?></strong>
6      <?=_("You are viewing an old revision of this page.")?>
7   <?= Button('browse', _("View the current version"), $page)?>.
8   </p>
9 <?php } ?>
10 <?php if (!empty($redirected)) { ?>
11   <p><?= $redirected ?></p>
12 <?php } ?>
13 <?=$CONTENT?>
14
15 <div id="revision">
16 <p class="editdate"><?= $WikiTheme->getLastModifiedMessage($revision) ?></p>
17 <?php
18 global $HIDE_TOOLBARS;
19 if (!$HIDE_TOOLBARS) {
20 ?>
21 </div>
22
23
24 <?php } ?>