diff options
author | ot <ot@localhost> | 2007-02-20 02:05:43 +0000 |
---|---|---|
committer | ot <ot@localhost> | 2007-02-20 02:05:43 +0000 |
commit | 5b1ff22dd41fd83c5f3534577af30388ca776945 (patch) | |
tree | 8bea33b9d8820096e214a3899744f803e8b2a925 | |
parent | 96e808023b514b965b5b17135fbcec10c1adf5fb (diff) | |
download | markup-validator-5b1ff22dd41fd83c5f3534577af30388ca776945.zip markup-validator-5b1ff22dd41fd83c5f3534577af30388ca776945.tar.gz markup-validator-5b1ff22dd41fd83c5f3534577af30388ca776945.tar.bz2 |
* adding "back to top" link after long sections
* sections headed by h3, only page result is h2
-rw-r--r-- | share/templates/en_US/backtop.tmpl | 1 | ||||
-rw-r--r-- | share/templates/en_US/opt_show_esis.tmpl | 2 | ||||
-rw-r--r-- | share/templates/en_US/opt_show_outline.tmpl | 2 | ||||
-rw-r--r-- | share/templates/en_US/opt_show_parsetree.tmpl | 2 | ||||
-rw-r--r-- | share/templates/en_US/opt_show_raw_errors.tmpl | 2 | ||||
-rw-r--r-- | share/templates/en_US/opt_show_source.tmpl | 4 | ||||
-rw-r--r-- | share/templates/en_US/opt_show_tidy.tmpl | 3 |
7 files changed, 10 insertions, 6 deletions
diff --git a/share/templates/en_US/backtop.tmpl b/share/templates/en_US/backtop.tmpl new file mode 100644 index 0000000..204fd4d --- /dev/null +++ b/share/templates/en_US/backtop.tmpl @@ -0,0 +1 @@ +<p class="backtop"><a href="#jumpbar">↑ Top</a></p>
\ No newline at end of file diff --git a/share/templates/en_US/opt_show_esis.tmpl b/share/templates/en_US/opt_show_esis.tmpl index 9619796..e4ccc64 100644 --- a/share/templates/en_US/opt_show_esis.tmpl +++ b/share/templates/en_US/opt_show_esis.tmpl @@ -1,6 +1,6 @@ <div id="raw_esis" class="mtb"> <hr /> - <h2><a name="raw_esis">Raw ESIS Output</a></h2> + <h3><a name="raw_esis">Raw ESIS Output</a></h3> <pre> <TMPL_VAR NAME="file_esis"> </pre> diff --git a/share/templates/en_US/opt_show_outline.tmpl b/share/templates/en_US/opt_show_outline.tmpl index 53d058d..a21fc29 100644 --- a/share/templates/en_US/opt_show_outline.tmpl +++ b/share/templates/en_US/opt_show_outline.tmpl @@ -1,5 +1,5 @@ <div id="outlineresult"> - <h2>Outline</h2> + <h3>Document Outline</h3> <p> Below is an outline for this document, automatically generated from the heading tags (<code><h1></code> through <code><h6></code>.) diff --git a/share/templates/en_US/opt_show_parsetree.tmpl b/share/templates/en_US/opt_show_parsetree.tmpl index 90c6585..52dd1c7 100644 --- a/share/templates/en_US/opt_show_parsetree.tmpl +++ b/share/templates/en_US/opt_show_parsetree.tmpl @@ -1,5 +1,5 @@ <div id="parse"> - <h2>Parse Tree</h2> + <h3>Parse Tree</h3> <p class="note"> <TMPL_IF NAME="file_parsetree_noatt"> I am excluding the attributes, as you requested. diff --git a/share/templates/en_US/opt_show_raw_errors.tmpl b/share/templates/en_US/opt_show_raw_errors.tmpl index 03c9cdd..3c5b981 100644 --- a/share/templates/en_US/opt_show_raw_errors.tmpl +++ b/share/templates/en_US/opt_show_raw_errors.tmpl @@ -1,6 +1,6 @@ <div id="raw_errors" class="mtb"> <hr /> - <h2><a name="raw_errors">Raw Error Output</a></h2> + <h3><a name="raw_errors">Raw Error Output</a></h3> <pre> <TMPL_VAR NAME="file_raw_errors"> </pre> diff --git a/share/templates/en_US/opt_show_source.tmpl b/share/templates/en_US/opt_show_source.tmpl index 502f71d..a1c4ddd 100644 --- a/share/templates/en_US/opt_show_source.tmpl +++ b/share/templates/en_US/opt_show_source.tmpl @@ -1,5 +1,5 @@ <div id="source"> - <h2>Source Listing</h2> + <h3>Source Listing</h3> <p>Below is the source input I used for this validation:</p> <ol class="source"> @@ -7,4 +7,6 @@ <li id="line-<TMPL_VAR NAME="__counter__">"><TMPL_VAR NAME="file_source_line" ESCAPE="HTML"></li> </TMPL_LOOP> </ol> + <TMPL_INCLUDE NAME="backtop.tmpl"> + </div> diff --git a/share/templates/en_US/opt_show_tidy.tmpl b/share/templates/en_US/opt_show_tidy.tmpl index a7793f3..c034d06 100644 --- a/share/templates/en_US/opt_show_tidy.tmpl +++ b/share/templates/en_US/opt_show_tidy.tmpl @@ -1,5 +1,5 @@ <div id="tidy"> - <h2>Cleaned-up Source Listing</h2> + <h3>Cleaned-up Source Listing</h3> <p>Below is the <em>cleaned up</em> markup for your document, as processed through <a href="http://tidy.sourceforge.net/">HTML Tidy</a>.</p> @@ -9,5 +9,6 @@ <TMPL_VAR NAME="tidy_output" ESCAPE="HTML"> </pre> + <TMPL_INCLUDE NAME="backtop.tmpl"> </div> |