5 if (empty($revision)) $revision = $page->getCurrentRevision(false);
6 if ($page->get('locked') && !$user->isAdmin()) { ?>
7 <p><strong><?php echo _("Note:")?></strong>
8 <?php echo _("This page has been locked and cannot be edited.")?>
11 <?php if (! $revision->isCurrent()) { ?>
12 <p><?php echo _("You are viewing an old revision of this page.")?>
13 <?php echo Button('edit', _("View the current version"), $page) ?>.
16 <!-- Dummy form else NS4 does not like the textarea -->
17 <form method="post" id="editcontent"
18 action="<?php echo $request->getPostURL()?>" accept-charset="<?php echo CHARSET?>">
19 <br class="clear-floats" />
20 <textarea class="wikiedit"
22 rows="<?php echo $request->getPref('editHeight')?>"
23 cols="<?php echo $request->getPref('editWidth')?>"
25 ><?php echo $PAGE_SOURCE ?></textarea>
26 <?php echo $HIDDEN_INPUTS?>