Commit: 6d989c7a72f1328c77eea0ec93691d285c7ba9a3 Author: Hannes Magnusson <[email protected]> Sun, 2 Jan 2011 10:43:25 +0000 Parents: e3dd450298d08a47235fc76e57e002f756234b4b Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=6d989c7a72f1328c77eea0ec93691d285c7ba9a3 Log: year++ Changed paths: M copyright.php M searchbar.php Diff: diff --git a/copyright.php b/copyright.php index cffe439..1138d60 100644 --- a/copyright.php +++ b/copyright.php @@ -18,7 +18,7 @@ site_header("Copyright", array("current" => "footer")); <p> The code, text, PHP logo, and graphical elements on this website - and the mirror websites (the "Site") are Copyright © 2001-2010 + and the mirror websites (the "Site") are Copyright © 2001-<?php echo date("Y") ?> The PHP Group. All rights reserved. </p> diff --git a/searchbar.php b/searchbar.php index 51a6db7..8f96736 100644 --- a/searchbar.php +++ b/searchbar.php @@ -15,6 +15,8 @@ if (isset($EXPL_LANG)) { $lang_input = " <input type=\"hidden\" name=\"lang\" value=\"{$EXPL_LANG}\" />\n"; } else { $lang_input = ""; } +$curryear = date("Y"); + echo <<<SEARCHBAR_END <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> @@ -53,7 +55,7 @@ echo <<<SEARCHBAR_END </p> </form> <p class="copyright"> - <a href="/copyright.php"{$target}>Copyright © 2002 - 2010 The PHP Group</a><br />All rights reserved. + <a href="/copyright.php"{$target}>Copyright © 2002 - {$curryear} The PHP Group</a><br />All rights reserved. </p> </body> </html> -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
