From: <var...@us...> - 2014-07-31 10:34:44
|
Revision: 9040 http://sourceforge.net/p/phpwiki/code/9040 Author: vargenau Date: 2014-07-31 10:34:35 +0000 (Thu, 31 Jul 2014) Log Message: ----------- Whitespace Modified Paths: -------------- trunk/themes/Crao/templates/editpage.tmpl trunk/themes/Wordpress/templates/editpage.tmpl trunk/themes/default/templates/editpage.tmpl trunk/themes/fusionforge/templates/editpage.tmpl Modified: trunk/themes/Crao/templates/editpage.tmpl =================================================================== --- trunk/themes/Crao/templates/editpage.tmpl 2014-07-31 10:25:18 UTC (rev 9039) +++ trunk/themes/Crao/templates/editpage.tmpl 2014-07-31 10:34:35 UTC (rev 9040) @@ -17,12 +17,13 @@ <?php echo _("Saving this page will overwrite the current version.")?></strong></p> <?php } ?> <?php /* - * FIXME: Hack! + * 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.) - */ ?> + */ +?> <form method="post" id="editpage" name="editpage" action="<?php echo $request->getPostURL() ?>" accept-charset="UTF-8"> Modified: trunk/themes/Wordpress/templates/editpage.tmpl =================================================================== --- trunk/themes/Wordpress/templates/editpage.tmpl 2014-07-31 10:25:18 UTC (rev 9039) +++ trunk/themes/Wordpress/templates/editpage.tmpl 2014-07-31 10:34:35 UTC (rev 9040) @@ -7,9 +7,8 @@ * a redirect from a page to itself.) */ ?> - <div class="wikitext" id="editform"> -<form method="post" name="editpage" id="editpage" +<form method="post" id="editpage" name="editpage" action="<?php echo $request->getPostURL() ?>" accept-charset="UTF-8"> <?php if (!empty($_GET['start_debug'])) echo '<input type="hidden" name="start_debug" value="1">'; ?> Modified: trunk/themes/default/templates/editpage.tmpl =================================================================== --- trunk/themes/default/templates/editpage.tmpl 2014-07-31 10:25:18 UTC (rev 9039) +++ trunk/themes/default/templates/editpage.tmpl 2014-07-31 10:34:35 UTC (rev 9040) @@ -10,21 +10,20 @@ <?php echo $PREVIEW_CONTENT ?> <hr class="printer" /> <?php } ?> - <?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 } ?> <?php /* - * FIXME: Hack! + * 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.) - */ ?> + */ +?> <form method="post" id="editpage" name="editpage" action="<?php echo $request->getPostURL() ?>" accept-charset="UTF-8"> @@ -35,7 +34,7 @@ <tr><td><?php echo $EDIT_TOOLBAR ?></td> <td class="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-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> @@ -45,7 +44,7 @@ <a id="editarea"></a><?php echo $EDIT_TEXTAREA?> <!-- FIXME: fix layout, move CSS to CSS --> <div class="toolbar" style="text-align: center;"> - <label for="edit-summary"><?php echo _("Summary")._(":"); ?></label> <?php echo $SUMMARY_INPUT?> + <label for="edit-summary"><?php echo _("Summary")._(":"); ?></label> <?php echo $SUMMARY_INPUT ?> </div> <?php if (ENABLE_CAPTCHA) { ?> <div class="toolbar" style="text-align: center;"> @@ -63,20 +62,20 @@ <?php echo $WYSIWYG_B?><?php echo $SEP?> <?php } ?> <?php echo $PREVIEW_B ?> - <?php if ($SAVE_B) { ?> + <?php if ($SAVE_B) { ?> <?php echo $SEP?><?php echo $SAVE_B ?> <?php } ?> <?php echo $SEP?><?php echo $CHANGES_B ?> </td> - <td> <?php echo $AUTHOR_MESSAGE?></td> + <td><?php echo $AUTHOR_MESSAGE?></td> </tr> <tr> <td> - <?php if ($user->isAdmin()) { ?> - <?php echo $LOCKED_CB ?> <label for="edit-locked" title="<?php echo _("Make the page read-only?")?>"><?php echo _("Locked")?></label> - <?php if (ENABLE_PAGE_PUBLIC) { ?> - <?php echo $PUBLIC_CB ?> <label for="edit-public" title="<?php echo _("Export to a separate public area?")?>"><?php echo _("Public")?></label> - <?php }} ?> + <?php if ($user->isAdmin()) { ?> + <?php echo $LOCKED_CB ?> <label for="edit-locked" title="<?php echo _("Make the page read-only?")?>"><?php echo _("Locked")?></label> + <?php if (ENABLE_PAGE_PUBLIC) { ?> + <?php echo $PUBLIC_CB ?> <label for="edit-public" title="<?php echo _("Export to a separate public area?")?>"><?php echo _("Public")?></label> + <?php }} ?> </td> <td colspan="2" class="align-right"> <?php if (!$user->isAuthenticated()) { ?> @@ -88,9 +87,7 @@ <?php echo $HIDDEN_INPUTS?> </form> <div style="width:100%;text-align:center;"><?php /*plugin UpLoad autolink=0 mode=edit size=30 */?></div> - <hr /> - <div 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> Modified: trunk/themes/fusionforge/templates/editpage.tmpl =================================================================== --- trunk/themes/fusionforge/templates/editpage.tmpl 2014-07-31 10:25:18 UTC (rev 9039) +++ trunk/themes/fusionforge/templates/editpage.tmpl 2014-07-31 10:34:35 UTC (rev 9040) @@ -4,10 +4,8 @@ </p> <?php echo $PREVIEW_CONTENT ?> <?php } ?> - <?php echo $PAGE_LOCKED_MESSAGE ?> <?php echo $CONCURRENT_UPDATE_MESSAGE ?> - <?php if (! $IS_CURRENT) { ?> <p class="warning_msg"> <?php echo _("Warning: You are editing an old revision. Saving this page will overwrite the current version.")?> @@ -106,9 +104,7 @@ </table> <?php echo $HIDDEN_INPUTS?> </form> - <hr /> - <div class="wiki-edithelp"> <?php if (WIKI_NAME == "help") { ?> <?plugin IncludePage page="Help/TextFormattingRules" section="Synopsis" quiet=1?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |