Re: com web/shared: Use date() instead of hardcoding the year(Derick): templates/footer.inc
| From: | Peter Cowburn | Date: | Tue, 22 Nov 2016 09:14:53 +0000 |
| Subject: | Re: com web/shared: Use date() instead of hardcoding the year(Derick): templates/footer.inc | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-25348@lists.php.net to get a copy of this message | ||
On 22 November 2016 at 07:14, Kalle Sommer Nielsen <kalle@php.net> wrote:
> Commit: e17b0f9349f06cfa33485c170d44c9a443e291d4
> Author: Kalle Sommer Nielsen <kalle@php.net> Tue, 22 Nov 2016
> 08:14:37 +0100
> Parents: 5cbeccbc73531360297d7270d9611093409f33e9
> Branches: master
>
> Link: ô
> Í7�Ë8‹"þs‘ï¢http://git.php.net/?p=web/shared.git;a=commitdiff;h=
> e17b0f9349f06cfa33485c170d44c9a443e291d4
>
> Log:
> Use date() instead of hardcoding the year(Derick)
>
> Changed paths:
> M templates/footer.inc
>
>
> Diff:
> diff --git a/templates/footer.inc b/templates/footer.inc
> index 0b2731c..8137bde 100644
> --- a/templates/footer.inc
> +++ b/templates/footer.inc
> @@ -24,7 +24,7 @@ $ROOT = substr($_SERVER["SERVER_NAME"], -8) == ".php.net"
> ? "//shared.php.net" :
> <footer>
> <nav class="fullscreen">
> <ul>
> - <li><a href="//php.net/copyright">Copyright © 2001-2016
> The
> PHP Group</a></li>
> + <li><a href="//php.net/copyright">Copyright © 2001-<?php echo
> date('y'); ?> The PHP Group</a></li>
>
Was making it a two-digit year deliberate?
> <li><a href="//php.net/sites">Other PHP.net
> sites</a></li>
> <li><a href="//php.net/privacy">Privacy
> policy</a></li>
> </ul>
>
>
> --
> PHP Webmaster List Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>