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