[mail-web] Make copyright year on footer dynamic
- From: Tom Tryfonidis <tomtryf src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mail-web] Make copyright year on footer dynamic
- Date: Tue, 18 Oct 2016 21:36:33 +0000 (UTC)
commit 6656e6d400c07a7c249a912cd79fbc1e152ccc95
Author: Tom Tryfonidis <tomtryf gmail com>
Date: Wed Oct 19 00:36:18 2016 +0300
Make copyright year on footer dynamic
index.html | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/index.html b/index.html
index ccc8c6d..4de91b5 100644
--- a/index.html
+++ b/index.html
@@ -277,7 +277,7 @@
</div>
<div id="footnotes" class="grid_9">
- <p> Copyright © 2004 - <script type="text/javascript">document.write(new
Date().getFullYear());</script> <a href="https://www.gnome.org/"><strong>The GNOME Project</strong></a>.<br />
+ <p> Copyright © 2004 - <span id="current-year"></span> <a
href="https://www.gnome.org/"><strong>The GNOME Project</strong></a>.<br />
<small><a href="http://validator.w3.org/check/referer">Optimised</a> for <a href=
"http://www.w3.org/">standards</a>. Hosted by <a href="http://www.redhat.com/">Red Hat</a>.
Powered by <a href="http://www.list.org/">MailMan</a>, <a href="http://www.python.org/">Python</a>
and <a href="http://www.gnu.org/">GNU</a>.</small></p>
@@ -287,3 +287,4 @@
</body>
</html>
+<script type="text/javascript">document.getElementById('current-year').innerHTML = new
Date().getFullYear();</script>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]