]> dev.renevier.net Git - syj.git/commitdiff
use html5 <footer> element
authorarno <arno@renevier.net>
Thu, 14 Apr 2011 08:38:01 +0000 (10:38 +0200)
committerarno <arno@renevier.net>
Thu, 14 Apr 2011 08:38:01 +0000 (10:38 +0200)
application/layouts/scripts/footer.phtml
public/css/faq.css
public/css/generic.css
public/css/list.css
public/css/syjprint.css
public/css/termsofuse.css

index 514ea243e0bf3c58194a45f907043ec580b9503e..fa0450bd3eed8c20a41fc70eccccee4e851fbd45 100644 (file)
@@ -1,5 +1,7 @@
 <?php
-echo '<div id="footer">' . PHP_EOL;
+
+echo '<!--[if IE]><script>document.createElement("footer");</script><![endif]-->' . PHP_EOL;
+echo '<footer>' . PHP_EOL;
 echo '<div id="footer-padding"></div>' . PHP_EOL;
 
 /*
@@ -97,6 +99,6 @@ echo $this->footerLink(array(
     $this->translate("help"),
     false);
 
-echo '</div>' . PHP_EOL;
+echo '</footer>' . PHP_EOL;
 
 ?>
index f16ffe18f408c835ba8b1c39a8f2fabcdbf10443..0f079b8bbf4efc0c13969fe84c5d009bf95058c2 100644 (file)
@@ -5,7 +5,7 @@ body {
     text-indent: 0.6em;
 }
 
-#footer {
+footer {
     _position: static;
 }
 
index 9bc6e0f33c3f8d121ba86983d0465fe49b4a58fd..6ac1352d0d8cb01b8e89ab1273bf51616c5313da 100644 (file)
@@ -76,7 +76,7 @@ input {
 /*
  * footer
  */
-#footer {
+footer {
     position: fixed;
     _position: absolute;
     bottom: 0px;
index 303541eb9867d7b6acc9d7f60ad65daa690531de..c2feb52883f48b9707923855439a186b3a0b3757 100644 (file)
@@ -36,7 +36,7 @@
     text-align: center;
 }
 
-#footer {
+footer {
     position: fixed;
     z-index: 2000;
     background-color: white;
index 89b90fa482089e4644811c4b180e8748edda5f70..ebdef232f293c3eb46f2d928967bf37da051c800 100644 (file)
@@ -4,7 +4,7 @@
 .olControlPanZoom, .olControlAttribution, .olControlLayerSwitcher {
     display: none;
 }
-#message, #other-language, #menu, #user_area, #login_area, #newpwd_area, #termsofusearea, #footer, #map-overlay {
+#message, #other-language, #menu, #user_area, #login_area, #newpwd_area, #termsofusearea, footer, #map-overlay {
     display: none;
 }
 
index 330e1a771eb3c88b12103e477686c4fa9430254b..f169b7214b5074433d32bb765d32972558effc37 100644 (file)
@@ -5,6 +5,6 @@ body {
     text-indent: 0.6em;
 }
 
-#footer {
+footer {
     _position: static;
 }