]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/default/templates/browse.tmpl
Split toolbars into their own subtemplates.
[SourceForge/phpwiki.git] / themes / default / templates / browse.tmpl
1 <?php // -*-html-*- ?>
2 <!-- $Id: browse.tmpl,v 1.4 2002-01-18 19:23:11 dairiki Exp $ -->
3 <?php
4   $mtime = $Theme->formatDateTime($revision->get('mtime'));
5   if ($IS_CURRENT)
6       $LastModifiedMsg = sprintf(_("Last edited on %s."), $mtime);
7   else
8       $LastModifiedMsg = __sprintf("Version %s, saved on %s.",
9                                    $VERSION, $mtime);
10 ?>
11
12 <div class="br"><br clear="all" class="ignore" /></div>
13
14 <?php if (! $IS_CURRENT) { ?>
15   <p><strong><?=_("Note:")?></strong>
16      <?=_("You are viewing an old revision of this page.")?>
17      <a href="<?= WikiURL($page->getName()) ?>"
18         ><?=_("View the current version")?></a>.</p>
19   <hr class="ignore" noshade="noshade" />
20 <?php } ?>
21
22 <div class="wikitext"><?=$CONTENT?></div>
23 <hr class="ignore" noshade="noshade" />
24
25 <p><?= $LastModifiedMsg ?></p>
26 <hr noshade="noshade" class="toolbar" />
27 <?= new WikiTemplate('actionbar') ?>
28 <!-- RELATEDPAGES were here. -->