Permalink
Browse files

* Reordering some HTML parameters for easier HTML buffer post-process…

…ing. Maybe one day I'll move over all of my Lestrades.com code to Wedge so you can see what I meant. (ManageModeration.template.php, ManagePlugins.template.php)
  • Loading branch information...
Nao committed May 23, 2018
1 parent 805a359 commit 1e2eaf9f43ca4e2370e301de85a398096235f879
Showing with 11 additions and 11 deletions.
  1. +7 −7 core/html/ManageModeration.template.php
  2. +4 −4 core/html/ManagePlugins.template.php
@@ -272,11 +272,11 @@ function template_modfilter_edit()
<div class="pagesection">
<div class="floatright">
<div class="additional_row right">
<input id="btnSave" type="submit" class="save" value="', $txt['modfilter_save_this_rule'], '">';
<input type="submit" id="btnSave" class="save" value="', $txt['modfilter_save_this_rule'], '">';
if (!empty($context['prev_id']))
echo '
<input name="delete" type="submit" class="delete" value="', $txt['modfilter_remove_this_rule'], '">';
<input type="submit" name="delete" class="delete" value="', $txt['modfilter_remove_this_rule'], '">';
echo '
</div>
@@ -395,7 +395,7 @@ function template_modfilter_groups()
</div>
<div class="pagesection ruleSave">
<div class="floatright">
<input class="new" type="submit" value="', $txt['modfilter_condition_done'], '" onclick="addGroups(e);">
<input type="submit" class="new" value="', $txt['modfilter_condition_done'], '" onclick="addGroups(e);">
</div>
</div>';
@@ -454,7 +454,7 @@ function template_modfilter_boards()
echo '
<div class="pagesection ruleSave">
<div class="floatright">
<input class="new" type="submit" value="', $txt['modfilter_condition_done'], '" onclick="addBoards(e);">
<input type="submit" class="new" value="', $txt['modfilter_condition_done'], '" onclick="addBoards(e);">
</div>
</div>';
@@ -523,7 +523,7 @@ function template_modfilter_warning()
<input size="5" name="warning" style="padding: 3px 5px 5px 5px" onchange="validateWarning();"> ', $txt['modfilter_warning_is_post'], '
<div class="pagesection ruleSave">
<div class="floatright">
<input class="new" type="submit" value="', $txt['modfilter_condition_done'], '" onclick="addWarning(e);">
<input type="submit" class="new" value="', $txt['modfilter_condition_done'], '" onclick="addWarning(e);">
</div>
</div>';
@@ -589,7 +589,7 @@ function template_regex_modfilter($type)
<label><input type="checkbox" name="casesens"> ', $txt['modfilter_be_case_sensitive'], '</label>
<div class="pagesection ruleSave">
<div class="floatright">
<input class="new" type="submit" value="', $txt['modfilter_condition_done'], '" onclick="add' . $utype . '(e);">
<input type="submit" class="new" value="', $txt['modfilter_condition_done'], '" onclick="add' . $utype . '(e);">
</div>
</div>';
@@ -646,7 +646,7 @@ function template_range_modfilter($type)
<input size="5" name="', $type, '" style="padding: 3px 5px 5px 5px" onchange="validate', $utype, '();">
<div class="pagesection ruleSave">
<div class="floatright">
<input class="new" type="submit" value="', $txt['modfilter_condition_done'], '" onclick="add', $utype, '(e);">
<input type="submit" class="new" value="', $txt['modfilter_condition_done'], '" onclick="add', $utype, '(e);">
</div>
</div>';
@@ -163,13 +163,13 @@ function template_remove()
<fieldset>
<legend>', $txt['remove_plugin_nodelete'], '</legend>
', $txt['remove_plugin_nodelete_desc'], '<br>
<input name="nodelete" type="submit" class="save floatright" value="', $txt['remove_plugin_nodelete'], '">
<input type="submit" name="nodelete" class="save floatright" value="', $txt['remove_plugin_nodelete'], '">
</fieldset>
<br>
<fieldset>
<legend>', $txt['remove_plugin_delete'], '</legend>
', $txt['remove_plugin_delete_desc'], '<br>
<input name="delete" type="submit" class="delete floatright" value="', $txt['remove_plugin_delete'], '"', !empty($context['requires_maint']) ? ' disabled' : '', '>';
<input type="submit" name="delete" class="delete floatright" value="', $txt['remove_plugin_delete'], '"', !empty($context['requires_maint']) ? ' disabled' : '', '>';
if (!empty($context['requires_maint']))
echo '
<div class="errorbox plugin_error">', $txt['remove_plugin_maint'], '</div>';
@@ -355,13 +355,13 @@ function template_upload_duplicate_detected()
<fieldset>
<legend>', $txt['plugin_duplicate_cancel'], '</legend>
', $txt['plugin_duplicate_cancel_desc'], '<br>
<input name="cancel" type="submit" class="delete floatright" value="', $txt['plugin_duplicate_cancel'], '">
<input type="submit" name="cancel" class="delete floatright" value="', $txt['plugin_duplicate_cancel'], '">
</fieldset>
<br>
<fieldset>
<legend>', $txt['plugin_duplicate_proceed'], '</legend>
', $txt['plugin_duplicate_proceed_desc'], '<br>
<input name="upgrade" type="submit" class="submit floatright" value="', $txt['plugin_duplicate_proceed'], '">
<input type="submit" name="upgrade" class="submit floatright" value="', $txt['plugin_duplicate_proceed'], '">
</fieldset>
</div>
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">

0 comments on commit 1e2eaf9

Please sign in to comment.