4 <?php if (isset($PREVIEW_CONTENT)) { ?>
5 <p><strong><?=_("Preview only! Changes not saved.")?></strong>
6 <?= fmt("Please continue editing. (You'll find your %s at the bottom of the page.)",
7 /* HTML::a(array("href" => "#editarea"), */ _("edit area") /*) */) ?>
9 <?= $PREVIEW_CONTENT ?>
12 <?= $PAGE_LOCKED_MESSAGE ?>
13 <?= $CONCURRENT_UPDATE_MESSAGE ?>
15 <?php if (! $IS_CURRENT) { ?>
16 <p><strong><?=_("Warning: You are editing an old revision.")?>
17 <?=_("Saving this page will overwrite the current version.")?></strong></p>
21 * The funky URL used for the form action parameter is bogus.
22 * This is needed, otherwise the redirect to the real browser
23 * page won't work with some browsers. (NS4 and Mozilla 0.97 won't accept
24 * a redirect from a page to itself.)
26 <form method="post" id="editpage" name="editpage"
27 action="<?= $request->getPostURL() ?>"
28 accept-charset="<?=CHARSET?>">
29 <?php if (!empty($_GET['start_debug'])) echo '<input type="hidden" name="start_debug" value="1" >'; ?>
30 <?php /* To clear beyond a larger logo, such as in the Hawaiian theme */ ?>
31 <br clear="all" class="clear-floats" />
33 <tr><td><?= $EDIT_TOOLBAR ?></td>
34 <td align="right"><div id="editarea-size">
36 <label for="pref-editHeight"><b><?=_("H")?></b></label> <?=$HEIGHT_PREF?>
37 <label for="pref-editWidth"><b><?=_("W")?></b></label> <?=$WIDTH_PREF?>
38 <noscript><?=Button("submit:", _("Adjust"), 'wikiaction')?></noscript>
39 </div></td></tr></table>
40 <a name="editarea"></a><?=$EDIT_TEXTAREA?>
41 <div class="toolbar" style="text-align: center;">
42 <label for="edit-summary"><?=_("Summary").':'?></label> <?=$SUMMARY_INPUT?>
44 <table summary="Toolbar: Page editing options." class="toolbar" width="100%"
45 cellpadding="0" cellspacing="0" border="0">
48 <?=$MINOR_EDIT_CB ?> <label for="edit-minor_edit"><?=_("This is a minor change.")?></label><br />
52 <?php if ($SAVE_B) { ?>
53 <?=$SEP?><?= $SAVE_B ?>
55 <?=$SEP?><?= $CHANGES_B ?>
57 <td> <?=$AUTHOR_MESSAGE?></td>
61 <?php if ($user->isAdmin()) { ?>
62 <?= $LOCKED_CB ?> <label for="edit-locked" title="<?=_("Make the page read-only?")?>"><?=_("Locked")?></label>
63 <?php if (ENABLE_PAGE_PUBLIC) { ?>
64 <?= $PUBLIC_CB ?> <label for="edit-public" title="<?=_("Make the page public?")?>"><?=_("Public")?></label>
66 <?php if (ENABLE_EXTERNAL_PAGES) { ?>
67 <?= $EXTERNAL_CB ?> <label for="edit-external" title="<?=_("Make the page external?")?>"><?=_("External")?></label>
75 <hr noshade="noshade" />
77 <div class="wiki-edithelp">
78 <?php if (WIKI_NAME == "help") { ?>
79 <?plugin IncludePage page=_("Help/TextFormattingRules") section=_("Synopsis") quiet=1?>
81 <?plugin IncludePage page=_("TextFormattingRules") section=_("Synopsis") quiet=1?>