2 <!-- $Id: viewsource.tmpl,v 1.1 2002-01-20 02:49:03 carstenklapp 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 = sprintf(_("(last edited %s)"), $PageHistoryB->asHTML());
26 $LastModifiedMsg = __sprintf(_("(version %s, saved on %s)"),
27 $VERSION, $PageHistoryB->asHTML());
30 <input type="hidden" name="action" value="browse" />
31 <input type="hidden" name="pagename" value="<?=$FORMVARS['pagename']?>" />
32 <input type="hidden" name="version" value="<?=$FORMVARS['version']?>" />
35 <?= $LastModifiedMsg ?><br />