summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorot <ot@localhost>2007-09-11 04:44:49 +0000
committerot <ot@localhost>2007-09-11 04:44:49 +0000
commitf8f51757e8e38909496c9fb95225ebe38ae8bed8 (patch)
treec79193a54aee468f31e8c3083dd59a6d7b139f67
parent7b48cc06db58b7aa1954d4bb868952a00aa89ec0 (diff)
downloadmarkup-validator-f8f51757e8e38909496c9fb95225ebe38ae8bed8.zip
markup-validator-f8f51757e8e38909496c9fb95225ebe38ae8bed8.tar.gz
markup-validator-f8f51757e8e38909496c9fb95225ebe38ae8bed8.tar.bz2
* for revalidation after direct input/upload, using POST rather than get
(avoiding 414 Request-URI Too Large) * rewording of table header for source display textarea
-rw-r--r--share/templates/en_US/table.tmpl6
1 files changed, 5 insertions, 1 deletions
diff --git a/share/templates/en_US/table.tmpl b/share/templates/en_US/table.tmpl
index 6cb18a1..175bdd2 100644
--- a/share/templates/en_US/table.tmpl
+++ b/share/templates/en_US/table.tmpl
@@ -16,7 +16,11 @@
<TMPL_IF NAME="file_uri">
+<TMPL_IF NAME="is_upload">
+<form id="form" method="post" action="check">
+<TMPL_ELSE>
<form id="form" method="get" action="check">
+</TMPL_IF>
<table class="header">
<tr>
<th>Result:</th>
@@ -36,7 +40,7 @@
</tr>
<tr>
<TMPL_IF NAME="is_upload">
- <th>Direct Input:</th><td colspan="2"><textarea id="fragment" name="fragment" rows="12" cols="80"><TMPL_LOOP NAME="file_source"><TMPL_VAR NAME="file_source_line" ESCAPE="HTML">
+ <th>Uploaded Content:</th><td colspan="2"><textarea id="fragment" name="fragment" rows="12" cols="80"><TMPL_LOOP NAME="file_source"><TMPL_VAR NAME="file_source_line" ESCAPE="HTML">
</TMPL_LOOP></textarea></td>
<TMPL_ELSE>
<th><label title="Address of Page to Validate" for="uri">Address</label>:</th>