diff --git a/footer.php b/footer.php index f1375b411b77ee87f4ebf6ee3b9118d552a55a6b..e801c4499540e69663797a97edeae96f870a15c4 100644 --- a/footer.php +++ b/footer.php @@ -1,9 +1,11 @@ <div class="main-wrap"> <footer id="bottom"> - <span class="odd"> - Pour toute demande, contactez nous par courriel: <a href="mailto:contact@tetras-libre.fr">contact@tetras-libre.fr</a>. - </span> - <span class="even"> + <div class="odd"> + <p><?php echo html_meta('contact'); ?></p> + <p><?php echo html_meta('site_licence'); ?></p> + <p><?php echo html_meta('legal_informations'); ?></p> + </div> + <div class="even"> <ul class="navigation"> <li><a href="<?php echo rss_url(); ?>">RSS</a></li> <?php if(twitter_account()): ?> @@ -14,27 +16,8 @@ <li><a href="<?php echo base_url(); ?>" title="Retour à l'accueil.">Accueil</a></li> </ul> - </span> - <span class="odd"> - <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="CC-BY-SA" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /></a> - <?php echo date('Y'); ?> <?php echo site_name(); ?>. - Sauf mention contraire, tout le contenu de ce site est placé sous licence creative commons. - - </span> - <span class="even"> - <a href="https://validator.w3.org/check?uri=referer"><img class="middle" - src="https://www.w3.org/Icons/valid-html40" alt="Valid HTML 4.0" height="31" width="88" /></a> - <a href="https://jigsaw.w3.org/css-validator/check/referer"> - <img class="middle" - src="https://jigsaw.w3.org/css-validator/images/vcss" - alt="Valid CSS!" /></a> - </span> - - <?php if(legal_informations()): ?> - <span> - <p><?php echo legal_informations(); ?></p> - </span> - <?php endif; ?> + <p><?php echo html_meta('w3c'); ?></p> + </div> </footer> </div> </div> diff --git a/functions.php b/functions.php index 05b5c87ca49928bd8d4d4f3eec6ecfbce0efeb42..a8f21abdd8c0a73a1f3e810d6724d44e0a3da50b 100644 --- a/functions.php +++ b/functions.php @@ -59,8 +59,13 @@ function relative_time($date) { } } +function html_meta($key) { + $output = html_entity_decode(site_meta($key)); + echo $output; +} + function twitter_account() { - return ""; //site_meta('twitter', 'tetras_libre'); + return site_meta('twitter', 'tetras_libre'); } function twitter_url() {