SF.net SVN: phpwiki:[10830] trunk/themes

vargenau--- via phpwiki-checkins <[email protected]> Wed, 05 Jan 2022 17:45:47 +0000
Newsgroups gmane.comp.web.wiki.phpwiki.checkins
Message-ID <[email protected]>
Revision: 10830
          http://sourceforge.net/p/phpwiki/code/10830
Author:   vargenau
Date:     2022-01-05 17:45:47 +0000 (Wed, 05 Jan 2022)
Log Message:
-----------
Add label

Modified Paths:
--------------
    trunk/themes/Portland/templates/editpage.tmpl
    trunk/themes/Wordpress/templates/editpage.tmpl

Modified: trunk/themes/Portland/templates/editpage.tmpl
===================================================================
--- trunk/themes/Portland/templates/editpage.tmpl	2022-01-05 17:45:25 UTC (rev 10829)
+++ trunk/themes/Portland/templates/editpage.tmpl	2022-01-05 17:45:47 UTC (rev 10830)
@@ -3,33 +3,35 @@
       accept-charset="UTF-8">
 <table class="toolbar fullwidth">
 <tr class="bottom">
-  <td>
-    <?php echo $PAGE_LOCKED_MESSAGE ?>
-    <?php echo $CONCURRENT_UPDATE_MESSAGE ?>
-    <?php if (!$IS_CURRENT) { ?>
+<td>
+<?php echo $PAGE_LOCKED_MESSAGE ?>
+<?php echo $CONCURRENT_UPDATE_MESSAGE ?>
+<?php if (!$IS_CURRENT) { ?>
       <p class="warning_msg">
       <strong><?php echo _("Warning")._(": ") ?></strong>
       <?php echo _("You are editing an old revision.") ?>
       <?php echo _("Saving this page will overwrite the current version.") ?>
       </p>
-    <?php } ?>
-  </td>
+<?php } ?>
+</td>
 </tr>
 </table>
 <div id="editarea"><?php echo $EDIT_TEXTAREA?></div>
 <br />
-<?php echo _("Summary")._(":") ?> <?php echo $SUMMARY_INPUT ?>
+<?php echo _("Summary")._(":") ?><?php echo $SUMMARY_INPUT ?>
 <br />
-    <?php echo $PREVIEW_B ?>
-    <?php if ($SAVE_B) { ?>
-      <?php echo $SEP?><?php echo $SAVE_B ?>
-    <?php } ?>
+<?php echo $PREVIEW_B ?>
+<?php if ($SAVE_B) { ?>
+  <?php echo $SEP?><?php echo $SAVE_B ?>
+<?php } ?>
 <br />
 <?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 if (isset($PREVIEW_CONTENT)) { ?>
   <hr />
@@ -39,7 +41,6 @@
 <?php } ?>
 
 <div class="wiki-edithelp">
-<?php // 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>
 <<IncludePage page=_("Help/TextFormattingRules") section=_("Synopsis") quiet=1>>
 </div>

Modified: trunk/themes/Wordpress/templates/editpage.tmpl
===================================================================
--- trunk/themes/Wordpress/templates/editpage.tmpl	2022-01-05 17:45:25 UTC (rev 10829)
+++ trunk/themes/Wordpress/templates/editpage.tmpl	2022-01-05 17:45:47 UTC (rev 10830)
@@ -5,19 +5,19 @@
   <?php if (!empty($_GET['start_debug'])) echo '<input type="hidden" name="start_debug" value="1">'; ?>
 <table class="toolbar fullwidth">
 <tr class="bottom">
-  <td>
-    <?php echo $PAGE_LOCKED_MESSAGE ?>
-    <?php echo $CONCURRENT_UPDATE_MESSAGE ?>
-    <?php if (!$IS_CURRENT) { ?>
+<td>
+<?php echo $PAGE_LOCKED_MESSAGE ?>
+<?php echo $CONCURRENT_UPDATE_MESSAGE ?>
+<?php if (!$IS_CURRENT) { ?>
       <p class="warning_msg">
       <strong><?php echo _("Warning")._(": ") ?></strong>
       <?php echo _("You are editing an old revision.") ?>
       <?php echo _("Saving this page will overwrite the current version.") ?>
       </p>
-    <?php } ?>
-  </td>
-  <td>
-  </td>
+<?php } ?>
+</td>
+<td>
+</td>
 </tr>
 </table>
 <?php if (isset($EDIT_TOOLBAR)) { ?>
@@ -25,7 +25,8 @@
 <?php } ?>
 <a id="editarea"></a><?php echo $EDIT_TEXTAREA?>
 <p>
-<?php echo _("Summary")._(":") ?><?php echo $SUMMARY_INPUT ?>
+<label for="edit-summary"><?php echo _("Summary")._(":") ?></label>
+<?php echo $SUMMARY_INPUT ?>
 </p>
 <p>
 <?php echo $PREVIEW_B ?>
@@ -35,14 +36,16 @@
 </p>
 <?php if (ENABLE_CAPTCHA) { ?>
   <?php echo $CAPTCHA_IMAGE ?><br/>
-  <?php echo $CAPTCHA_LABEL ?><?php echo $CAPTCHA_INPUT ?><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>
+<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 if ($user->isAdmin()) { ?>
     <?php echo $SEP?><?php echo $LOCKED_CB ?> <label for="edit-locked"><?php echo _("Locked")?></label>
@@ -56,7 +59,6 @@
 <?php } ?>
 
 <div class="wiki-edithelp">
-<?php // 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>
 <<IncludePage page=_("Help/TextFormattingRules") section=_("Synopsis") quiet=1>>
 </div>

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.