]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/default/templates/browse.tmpl
Fine tune position and style of "Last edited" message.
[SourceForge/phpwiki.git] / themes / default / templates / browse.tmpl
1 <?php // -*-html-*- ?>
2 <!-- $Id: browse.tmpl,v 1.14 2002-02-03 21:32:08 carstenklapp Exp $ -->
3 <?php 
4   $mtime = $Theme->formatDateTime($revision->get('mtime'));
5
6   if ($revision->isCurrent())
7       $LastModifiedMsg = fmt("Last edited on %s.", $mtime);
8   else
9       $LastModifiedMsg = fmt("Version %s, saved on %s.",
10                              $revision->getVersion(), $mtime);
11 ?>
12
13 <div class="br"><br clear="all" class="ignore" /></div>
14
15 <?php if (! $revision->isCurrent()) { ?>
16   <p><strong><?=_("Note:")?></strong>
17      <?=_("You are viewing an old revision of this page.")?>
18   <?= Button('browse', _("View the current version"), $page)?>.
19   </p>
20   <hr class="ignore" noshade="noshade" />
21 <?php } ?>
22
23 <div class="wikitext"><?=$CONTENT?></div>
24 <hr class="ignore" noshade="noshade" />
25
26 <p class="editdate"><?= $LastModifiedMsg ?></p>
27 <div id="actionbar">
28 <hr class="toolbar" noshade="noshade" />
29 <?= Template('actionbar') ?>
30 <!-- RELATEDPAGES were here. -->
31 </div>