summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorot <ot@localhost>2007-02-20 07:08:16 +0000
committerot <ot@localhost>2007-02-20 07:08:16 +0000
commit982e0bee0766c336b58a971b47b31646785f6328 (patch)
tree7803e8776f9ff76c371c919891717a9e755712e2
parente31e5cc8778e6319b0be2de7c1cd5c2b40b5e39e (diff)
downloadmarkup-validator-982e0bee0766c336b58a971b47b31646785f6328.zip
markup-validator-982e0bee0766c336b58a971b47b31646785f6328.tar.gz
markup-validator-982e0bee0766c336b58a971b47b31646785f6328.tar.bz2
Making sure the revalidation table has the proper preset options (according to user choice) for the options recently added (group errors, tidy)
-rw-r--r--share/templates/en_US/table.tmpl17
1 files changed, 15 insertions, 2 deletions
diff --git a/share/templates/en_US/table.tmpl b/share/templates/en_US/table.tmpl
index c467012..da419a1 100644
--- a/share/templates/en_US/table.tmpl
+++ b/share/templates/en_US/table.tmpl
@@ -93,7 +93,16 @@
<table class="header">
<tr>
- <td><input type="radio" name="group" id="group_no" value="0" checked="checked" /><label for="group_no">List Messages Sequentially</label> <input type="radio" name="group" id="group_yes" value="1" /><label for="group_yes">Group Error Messages by type</label></td>
+ <td><input type="radio" name="group" id="group_no" value="0"
+ <TMPL_UNLESS NAME="opt_group_errors">
+ checked="checked"
+ </TMPL_UNLESS>
+ /><label for="group_no">List Messages Sequentially</label>
+ <input type="radio" name="group" id="group_yes" value="1"
+ <TMPL_IF NAME="opt_group_errors">
+ checked="checked"
+ </TMPL_IF>
+ /><label for="group_yes">Group Error Messages by type</label></td>
<td><input type="checkbox" value="1" id="ss" name="ss"
<TMPL_IF NAME="opt_show_source">
checked="checked"
@@ -106,7 +115,11 @@
/><label title="Show an Outline of the document" for="outline">Show&nbsp;Outline</label></td>
</tr>
<tr>
- <td><input id="st" name="st" type="checkbox" value="1" /><label for="st">Clean up Markup with HTML Tidy</label></td>
+ <td><input id="st" name="st" type="checkbox" value="1"
+ <TMPL_IF NAME="opt_show_tidy">
+ checked="checked"
+ </TMPL_IF>
+ /><label for="st">Clean up Markup with HTML Tidy</label></td>
<td><input type="checkbox" value="1" id="No200" name="No200"
<TMPL_IF NAME="opt_no200">
checked="checked"