3 * The funky URL used for the form action parameter is bogus.
4 * This is needed, otherwise the redirect to the real browser
5 * page won't work with some browsers. (NS4 and Mozilla 0.97 won't accept
6 * a redirect from a page to itself.)
10 <form method="post" name="editpage"
11 action="<?php echo $request->getPostURL() ?>"
12 accept-charset="UTF-8">
13 <table class="toolbar fullwidth">
16 <?php echo $PAGE_LOCKED_MESSAGE ?>
17 <?php echo $CONCURRENT_UPDATE_MESSAGE ?>
18 <?php if (!$IS_CURRENT) { ?>
19 <p class="warning_msg"><strong><?php echo _("Warning: You are editing an old revision.")?>
20 <?php echo _("Saving this page will overwrite the current version.")?></strong></p>
23 <td class="align-right">
24 <?php echo $PREVIEW_B ?>
25 <?php if ($SAVE_B) { ?>
26 <?php echo $SEP?> <?php echo $SAVE_B ?>
31 <a id="editarea"><?php echo $EDIT_TEXTAREA?></a>
33 <?php echo _("Summary")?>: <?php echo $SUMMARY_INPUT ?>
35 <?php echo fmt("Author will be logged as %s.", HTML::em($user->getId())) ?>
37 <?php echo $MINOR_EDIT_CB ?>
38 <?php echo fmt("I'm just doing minor edits. Please divert the usual logging to %s instead.",
39 WikiLink(_("RecentEdits"))) ?>
42 <?php echo _("Edit Area Size")?>: <b><?php echo _("H")?></b> <?php echo $HEIGHT_PREF?>
43 <b><?php echo _("W")?></b> <?php echo $WIDTH_PREF?>
44 <?php echo Button("submit:", _("Adjust"), 'wikiaction')?>
47 <?php if (isset($PREVIEW_CONTENT)) { ?>
49 <p><strong><?php echo _("Preview only! Changes not saved.")?></strong></p>
50 <?php echo $PREVIEW_CONTENT ?>
54 <div class="wiki-edithelp">
55 <!-- FIXME: do we need this at all? If so, it could probably be moved to TextFormattingRules -->
56 <p><?php echo fmt("See %s tips for editing.", WikiLink(_("Help")."/"._("GoodStyle"))) ?></p>
57 <?plugin IncludePage page=_("Help")."/"._("TextFormattingRules") section=_("Synopsis") quiet=1?>
59 <?php echo $HIDDEN_INPUTS?>