svn: /web/php/trunk/ copyright.php searchbar.php
[email protected] (Hannes Magnusson)
| Newsgroups | php.webmaster |
|---|---|
| Message-ID | <[email protected]> |
bjori Sun, 02 Jan 2011 10:43:25 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=306975
Log:
year++
Changed paths:
U web/php/trunk/copyright.php
U web/php/trunk/searchbar.php
Modified: web/php/trunk/copyright.php
===================================================================
--- web/php/trunk/copyright.php 2011-01-02 03:27:28 UTC (rev 306974)
+++ web/php/trunk/copyright.php 2011-01-02 10:43:25 UTC (rev 306975)
@@ -18,7 +18,7 @@
<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>
Modified: web/php/trunk/searchbar.php
===================================================================
--- web/php/trunk/searchbar.php 2011-01-02 03:27:28 UTC (rev 306974)
+++ web/php/trunk/searchbar.php 2011-01-02 10:43:25 UTC (rev 306975)
@@ -15,6 +15,8 @@
$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 @@
</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>