0byt3m1n1
Path:
/
data
/
applications
/
aps
/
phpwiki
/
1.4.0-0
/
standard
/
htdocs
/
themes
/
Wordpress
/
templates
/
[
Home
]
File: editpage.tmpl
<?php // -*-php-*- // rcs_id('$Id: editpage.tmpl 7678 2010-09-08 11:17:03Z vargenau $'); /* * FIXME: Hack! * The funky URL used for the form action parameter is bogus. * This is needed, otherwise the redirect to the real browser * page won't work with some browsers. (NS4 and Mozilla 0.97 won't accept * a redirect from a page to itself.) */ ?> <div class="wikitext" id="editform"> <form method="post" name="editpage" id="editpage" action="<?php echo $request->getPostURL() ?>" accept-charset="<?php echo CHARSET?>"> <?php if (!empty($_GET['start_debug'])) echo '<input type="hidden" name="start_debug" value="1" >'; ?> <table summary="Toolbar: Save, Preview, and edit warnings." class="toolbar" width="100%" cellpadding="0" cellspacing="0" border="0"> <tr align="bottom"> <td> <?php echo $PAGE_LOCKED_MESSAGE ?> <?php echo $CONCURRENT_UPDATE_MESSAGE ?> <?php if (!$IS_CURRENT) { ?> <p class="warning_msg"><strong><?php echo _("Warning: You are editing an old revision.")?> <?php echo _("Saving this page will overwrite the current version.")?></strong></p> <?php } ?> </td> <td> <?php echo $PREVIEW_B ?> <?php if ($SAVE_B) { ?> <?php echo $SEP?> <?php echo $SAVE_B ?> <?php } ?> </td> </tr> </table> <table width="100%"> <tr><td><?php echo $EDIT_TOOLBAR ?></td> <td align="right"><div id="editarea-size"> <?php echo _("Size").':'?> <label for="pref-editHeight"><b><?php echo _("H")?></b></label> <?php echo $HEIGHT_PREF?> <label for="pref-editWidth"><b><?php echo _("W")?></b></label> <?php echo $WIDTH_PREF?> <noscript><?php echo Button("submit:", _("Adjust"), 'wikiaction')?></noscript> </div></td></tr></table> </p> <a id="editarea"><?php echo $EDIT_TEXTAREA?></a> <br /><small> <?php echo _("Summary")?>: <?php echo $SUMMARY_INPUT ?> <br /> <?php if (ENABLE_CAPTCHA) { ?> <?php echo $CAPTCHA_IMAGE ?><br/> <?php echo $CAPTCHA_LABEL ?><?php echo $CAPTCHA_INPUT ?><br/> <?php } ?> <?php echo fmt("Author will be logged as %s.", HTML::em($user->getId())) ?> <br /> <?php echo $MINOR_EDIT_CB ?> <label for="edit-minor_edit"> <?php echo fmt("I'm just doing minor edits. Please divert the usual logging to %s instead.", WikiLink(_("RecentEdits"))) ?></label> <br /> <?php echo $OLD_MARKUP_CB?> <label for="useOldMarkup"><?php echo _("Use old markup")?> </label> <?php echo $OLD_MARKUP_CONVERT?> <?php if ($user->isAdmin()) { ?> <?php echo $SEP?><?php echo $LOCKED_CB ?> <label for="edit-locked"><?php echo _("Locked")?></label> <?php } ?> </small> <br /> <?php if (isset($PREVIEW_CONTENT)) { ?> <hr /> <p><strong><?php echo _("Preview only! Changes not saved.")?></strong></p> <?php echo $PREVIEW_CONTENT ?> <hr /> <?php } ?> <script type="text/javascript"> <!-- function showOldMarkupRules(show) { if (document.getElementById) { if (!show) { document.getElementById('newMarkup').style.display="block"; document.getElementById('oldMarkup').style.display="none"; } else { document.getElementById('newMarkup').style.display="none"; document.getElementById('oldMarkup').style.display="block"; } } } // --> </script> <div id="oldMarkup" class="wiki-edithelp"> <!-- FIXME: do we need this at all? If so, it could probably be moved to TextFormattingRules --> <p><?php echo fmt("See %s tips for editing.", WikiLink(_("Help/GoodStyle"))) ?></p> <?plugin IncludePage page=_("Help/OldTextFormattingRules") section=_("Synopsis") quiet=1?> </div> <div id="newMarkup" class="wiki-edithelp"> <!-- FIXME: do we need this at all? If so, it could probably be moved to TextFormattingRules --> <p><?php echo fmt("See %s tips for editing.", WikiLink(_("Help/GoodStyle"))) ?></p> <?plugin IncludePage page=_("Help/TextFormattingRules") section=_("Synopsis") quiet=1?> </div> <?php echo $HIDDEN_INPUTS?> </form> </div> <script type="text/javascript"> <!-- if (document.getElementById) { showOldMarkupRules(document.getElementById('useOldMarkup').checked); } // --> </script> <hr />