2 <!-- $Id: viewsource.tmpl,v 1.3 2004-06-14 11:26:51 rurban Exp $ -->
4 <div class="wikitext" id="viewform">
6 <?php if ($page->get('locked') && !$user->isAdmin()) { ?>
7 <p><strong><?=_("Note:")?></strong>
8 <?=_("This page has been locked by the administrator and cannot be edited.")?></p>
11 <?php if (! $revision->isCurrent()) { ?>
12 <p><?=_("You are viewing an old revision of this page.")?>
13 <?= Button('viewsource', _("View the current version"), $page)?>.</p>
16 <!-- Dummy form else NS4 does not like the textarea -->
17 <form method="post" action="<?=$request->getPostURL()?>" accept-charset="<?=CHARSET?>">
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>
25 <?= HiddenInputs($request->getArgs()) ?>
28 <a href="<?=WikiURL($page,array('action'=>_("PageHistory")))?>"
29 ><?= $WikiTheme->getLastModifiedMessage($revision) ?></a>