5 <?php if ($page->get('locked') && !$user->isAdmin()) { ?>
6 <p><strong><?=_("Note:")?></strong>
7 <?=_("This page has been locked by the administrator and cannot be edited.")?></p>
10 <?php if ($revision and !$revision->isCurrent()) { ?>
11 <p><?=_("You are viewing an old revision of this page.")?>
12 <?= Button('viewsource', _("View the current version"), $page)?>.</p>
15 <!-- Dummy form else NS4 does not like the textarea -->
16 <form method="post" action="<?=$request->getPostURL()?>" accept-charset="<?=CHARSET?>">
17 <textarea class="wikiedit"
19 rows="<?=$request->getPref('editHeight')?>"
20 cols="<?=$request->getPref('editWidth')?>"
22 ><?= $PAGE_SOURCE ?></textarea>
23 <?= HiddenInputs($request->getArgs()) ?>
26 <a href="<?=WikiURL($page,array('action'=>_("PageHistory")))?>"
27 ><?= $WikiTheme->getLastModifiedMessage($revision) ?></a>