make the page (at least a bit) w3c compliant
[grml.org.git] / static_bottom.inc
index f36ce01..ea42103 100644 (file)
@@ -1,15 +1,16 @@
-      <div class="sponsors">
+[% IF ! sponsors %]
+<div class="sponsors">
       <h3>Sponsors</h3>
       <p>
         Grml is sponsored by several companies. For more information about our sponors check out the <a href="/sponsors/">Sponsors webpage</a>. Our main sponsor is:
       </p>
       <div>
         <a href="http://www.hostway.de/" target="_blank">
-        <img src="/sponsors/hostway.jpg" width="300" height="100"/>
+        <img src="/sponsors/hostway.jpg" width="300" height="100" alt="hostway logo"/>
         </a>
       </div>
-      </div>
-
+</div>
+[% END %]
 <!-- Piwik -->
 <script type="text/javascript">
 var pkBaseURL = (("https:" == document.location.protocol) ? "https://stats.grml.org/piwik/" : "http://stats.grml.org/piwik/");
@@ -22,6 +23,6 @@ try {
 } catch( err ) {}
 </script><noscript><p><img src="http://stats.grml.org/piwik/piwik.php?idsite=1" style="border:0" alt="" /></p></noscript>
 <!-- End Piwik Tracking Code -->
-
+</div>
 </body>
 </html>