Skip to content

Commit 1afbd34

Browse files
committed
Fix footer missing year
1 parent 1c02cbe commit 1afbd34

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

_layouts/bootstrap.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,11 @@ <h3>Thanks to all our contributors</h3>
182182
</div>
183183
</div>
184184
<div id="copyright">
185-
© 2011&ndash;<span data-toggle="tooltip" alt="" title="YOU BROKE MY PHP! FIX IT ASAP!">&lt;?= date('Y') ?&gt;</span>
186-
<!-- You broke my PHP, man! -->
185+
© 2011&ndash;
186+
<script type="text/javascript">
187+
var currentYear = new Date().getFullYear();
188+
document.write(currentYear);
189+
</script>
187190
</div>
188191

189192

@@ -209,3 +212,5 @@ <h3>Thanks to all our contributors</h3>
209212

210213

211214
</body></html>
215+
216+

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy