2 <!-- $Id: browse.tmpl,v 1.15 2002-02-03 22:12:33 carstenklapp Exp $ -->
4 $mtime = $revision->get('mtime');
5 $fmtime = $Theme->formatDateTime($mtime);
7 if ($revision->isCurrent()) {
8 if (istoday($mtime) || isyesterday($mtime))
9 $LastModifiedMsg = fmt("Last edited %s.", $fmtime);
11 $LastModifiedMsg = fmt("Last edited on %s.", $fmtime);
13 if (istoday($mtime) || isyesterday($mtime))
14 $LastModifiedMsg = fmt("Version %s, saved %s.",
15 $revision->getVersion(), $fmtime);
17 $LastModifiedMsg = fmt("Version %s, saved on %s.",
18 $revision->getVersion(), $fmtime);
22 <div class="br"><br clear="all" class="ignore" /></div>
24 <?php if (! $revision->isCurrent()) { ?>
25 <p><strong><?=_("Note:")?></strong>
26 <?=_("You are viewing an old revision of this page.")?>
27 <?= Button('browse', _("View the current version"), $page)?>.
29 <hr class="ignore" noshade="noshade" />
32 <div class="wikitext"><?=$CONTENT?></div>
33 <hr class="ignore" noshade="noshade" />
35 <p class="editdate"><?= $LastModifiedMsg ?></p>
37 <hr class="toolbar" noshade="noshade" />
38 <?= Template('actionbar') ?>
39 <!-- RELATEDPAGES were here. -->