2 <!-- $Id: viewsource.tmpl,v 1.21 2003-02-26 22:27:18 dairiki Exp $ -->
4 <?php if ($page->get('locked') && !$user->isAdmin()) { ?>
5 <p><strong><?=_("Note:")?></strong>
6 <?=_("This page has been locked by the administrator and cannot be edited.")?>
9 <?php if (! $revision->isCurrent()) { ?>
10 <p><?=_("You are viewing an old revision of this page.")?>
11 <?= Button('edit', _("View the current version"), $page) ?>.
14 <!-- Dummy form else NS4 does not like the textarea -->
15 <form method="post" action="<?=$request->getPostURL()?>" accept-charset="<?=CHARSET?>">
16 <?php /* To clear beyond a larger logo, such as in the Hawaiian theme */ ?>
18 <!-- wrap=virtual is not HTML4, but without it NS4 does not wrap long lines -->
19 <textarea class="wikiedit"
21 rows="<?=$request->getPref('editHeight')?>"
22 cols="<?=$request->getPref('editWidth')?>"
24 wrap="virtual"><?= $PAGE_SOURCE ?></textarea>
26 <div id="footer"><!-- for top & bottom toolbars stylesheet -->
27 <?=Template('browse-footer')?>
30 <?= HiddenInputs($request->getArgs()) ?>