Skip to content
Browse files

year++

  • Loading branch information...
1 parent 75af810 commit 5da58f8f77946e4996130e73407e73908678c574 @bjori bjori committed Jan 2, 2011
Showing with 4 additions and 2 deletions.
  1. +1 −1 copyright.php
  2. +3 −1 searchbar.php
View
2 copyright.php
@@ -18,7 +18,7 @@
<p>
The code, text, PHP logo, and graphical elements on this website
- and the mirror websites (the "Site") are Copyright &copy; 2001-2010
+ and the mirror websites (the "Site") are Copyright &copy; 2001-<?php echo date("Y") ?>
The PHP Group. All rights reserved.
</p>
View
4 searchbar.php
@@ -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 &copy; 2002 - 2010 The PHP Group</a><br />All rights reserved.
+ <a href="/copyright.php"{$target}>Copyright &copy; 2002 - {$curryear} The PHP Group</a><br />All rights reserved.
</p>
</body>
</html>

0 comments on commit 5da58f8

Please sign in to comment.
Something went wrong with that request. Please try again.