updated the donation/sponsorship program to use w3c-include.js
authorThomas Gambet <tgambet@w3.org>
Thu, 12 Sep 2013 19:41:16 +0200
changeset 3299 dc96e62b8106
parent 3298 38450fd96a7a
child 3300 99e323c651d6
updated the donation/sponsorship program to use w3c-include.js
htdocs/intro.html
htdocs/style/base.css
share/templates/en_US/table.tmpl
--- a/htdocs/intro.html	Tue Mar 19 15:39:11 2013 -0400
+++ b/htdocs/intro.html	Thu Sep 12 19:41:16 2013 +0200
@@ -13,8 +13,10 @@
     </p>
 </div>
 
-<div class="intro" id="don_program"></div>  
-<script type="text/javascript" src="http://www.w3.org/QA/Tools/don_prog.js"></script>
+<div id="w3c-include">
+    <script type="text/javascript" src="http://www.w3.org/QA/Tools/w3c-include.js"></script>
+</div>
+
 
 <p id="test_warning"><img src="images/info_icons/warning.png" alt="Important" /> 
   This instance of the validator is either a development version used for testing purposes, or a local copy of the <a href="http://validator.w3.org/source/">W3C Markup Validator software</a>  used for development and testing purposes.<br />
--- a/htdocs/style/base.css	Tue Mar 19 15:39:11 2013 -0400
+++ b/htdocs/style/base.css	Thu Sep 12 19:41:16 2013 +0200
@@ -743,9 +743,6 @@
 
 /* donation and sponsorship program */
 
-div#don_program { border: 1px solid #55b05a; padding: .5em; line-height: 150%; text-align: center; margin-top: .5em; }
-div#don_program span#don_program_img {float: left; width: 150px; height: 60px;}
-div#don_program span#don_program_img img {vertical-align: middle;}
-div#don_program span#don_program_text { }
-div#don_program span#don_program_text a {font-weight: bold;}
+#w3c-include {}
+
 /* @end */
--- a/share/templates/en_US/table.tmpl	Tue Mar 19 15:39:11 2013 -0400
+++ b/share/templates/en_US/table.tmpl	Thu Sep 12 19:41:16 2013 +0200
@@ -110,8 +110,9 @@
 </TMPL_IF>
   </table>
 
-<div id="don_program"></div>
-<script type="text/javascript" src="http://www.w3.org/QA/Tools/don_prog.js"></script>
+<div id="w3c-include">
+    <script type="text/javascript" src="http://www.w3.org/QA/Tools/w3c-include.js"></script>
+</div>
 
         <fieldset id="revalidate_opts">
                  <legend>Options</legend>