Patchwork [wwwdocs] Remove XHTML logo from footer and save space

login
register
mail settings
Submitter Gerald Pfeifer
Date April 12, 2011, 9:23 p.m.
Message ID <alpine.LNX.2.00.1104122311310.3701@gerinyyl.fvgr>
Download mbox | patch
Permalink /patch/90873/
State New
Headers show

Comments

Gerald Pfeifer - April 12, 2011, 9:23 p.m.
This was inspired by Mike, though he probably doesn't know it. :-)

Remove the XHTML button from the standard footer and merge the Last
Modified line with the first line, saving a fair amount of space.

For those inclined, the dot at the end of the first line still links
to the validator. :-)

Live on gcc.gnu.org.

Gerald
Mike Stump - April 13, 2011, 12:18 a.m.
On Apr 12, 2011, at 2:23 PM, Gerald Pfeifer wrote:
> This was inspired by Mike, though he probably doesn't know it. :-)

I recall the conversation...  :-)  Arguably, having a pre-commit hook would be even more whiz-bang.

Patch

Index: style.mhtml
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/style.mhtml,v
retrieving revision 1.114
diff -u -r1.114 style.mhtml
--- style.mhtml	10 Apr 2011 21:54:50 -0000	1.114
+++ style.mhtml	12 Apr 2011 20:32:00 -0000
@@ -233,7 +233,9 @@ 
 <div class="copyright">
 
 <p style="margin-top:0;">These pages are
-<a href="http://gcc.gnu.org/about.html">maintained by the GCC team</a>.</p>
+<a href="http://gcc.gnu.org/about.html">maintained by the GCC team</a>.
+Last modified <date::format-time "YYYY-MM-DD"><!-- IGNORE DIFF
+--><a href="http://validator.w3.org/check/referer">.</a></p>
 
 <address>For questions related to the use of GCC, please consult these web
 pages and the <a href="http://gcc.gnu.org/onlinedocs/">GCC manuals</a>. If
@@ -250,23 +252,6 @@ 
 Verbatim copying and distribution of this entire article is
 permitted in any medium, provided this notice is preserved.</p>
 
-<table width="100%" border="0"><tr><td>
-  <!-- IGNORE DIFF -->Last modified <date::format-time "YYYY-MM-DD">
-</td><td align="right" valign="bottom">
-  <a href="http://validator.w3.org/check/referer">
-  <if <var-exists XHTML>
-   <group
-    <img src="http://www.w3.org/Icons/valid-xhtml10"
-     alt="Valid XHTML 1.0" border="0" width="88" height="31" />
-   >
-   <group
-    <img src="http://www.w3.org/Icons/valid-html401"
-     alt="Valid HTML 4.01" border="0" width="88" height="31">
-   >
-  >
-  </a>
-</td></tr></table>
-
 </div>
 
 <!-- ==================================================================== -->