2 <!-- $Id: viewsource.tmpl,v 1.2 2002-01-21 06:55:47 dairiki Exp $ -->
3 <p><strong><?=_("Note:")?></strong>
4 <?=_("This page has been locked by the administrator and cannot be edited.")?>
5 <?php if (! $IS_CURRENT) { ?>
6 <br /><?=_("You are viewing an old revision of this page.")?>
7 <?= $ButtonFactory->makeActionButton('edit', _("View the current version"), $page->getCurrentRevision())?>.
10 <!-- Dummy form else NS4 doesn't like the textarea -->
11 <form method="post" action="<?= WikiUrl($PAGE) ?>" accept-charset="<?=CHARSET?>">
12 <!-- wrap=virtual is not HTML4, but without it NS4 doesn't wrap long lines -->
13 <textarea class="wikiedit"
15 rows="<?=$EDIT_AREA_HEIGHT?>"
16 cols="<?=$EDIT_AREA_WIDTH?>"
18 wrap="virtual"><?= $FORMVARS['content'] ?></textarea>
20 $mtime = $Theme->formatDateTime($revision->get('mtime'));
21 $PageHistoryB = $ButtonFactory->makeLabelActionPageButton($mtime, _("PageHistory"));
24 $LastModifiedMsg = fmt("(last edited %s)", $PageHistoryB);
26 $LastModifiedMsg = fmt("(version %s, saved on %s)", $VERSION, $PageHistoryB);
29 <input type="hidden" name="action" value="browse" />
30 <input type="hidden" name="pagename" value="<?=$FORMVARS['pagename']?>" />
31 <input type="hidden" name="version" value="<?=$FORMVARS['version']?>" />
34 <?= $LastModifiedMsg ?><br />