svn: /web/php/trunk/include/ footer.inc layout.inc

From: Date: Thu, 12 Jan 2012 16:49:13 +0000
Subject: svn: /web/php/trunk/include/ footer.inc layout.inc
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-12795@lists.php.net to get a copy of this message
danbrown Thu, 12 Jan 2012 16:49:13 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=322143 Log: Automate Copyright year++. Changed paths: U web/php/trunk/include/footer.inc U web/php/trunk/include/layout.inc Modified: web/php/trunk/include/footer.inc =================================================================== --- web/php/trunk/include/footer.inc 2012-01-12 16:47:02 UTC (rev 322142) +++ web/php/trunk/include/footer.inc 2012-01-12 16:49:13 UTC (rev 322143) @@ -4,7 +4,7 @@ <footer> <div class="footer-content"> <ul class="footmenu copyright"> - <li><a href="/copyright.php">Copyright &copy; 2001-2011 The PHP Group</a></li> + <li><a href="/copyright.php">Copyright &copy; 2001-<?php echo date('Y'); ?> The PHP Group</a></li> </ul> <ul class="footmenu"> <li><a href="/my.php">My PHP.net</a></li> Modified: web/php/trunk/include/layout.inc =================================================================== --- web/php/trunk/include/layout.inc 2012-01-12 16:47:02 UTC (rev 322142) +++ web/php/trunk/include/layout.inc 2012-01-12 16:49:13 UTC (rev 322143) @@ -322,6 +322,9 @@ $layout_helper = ($PAGE_COLUMNS > 2 ? "</div>" : ""); //$functionsjs = (in_array("functionsjs", $config) ? "\n<script src=\"" . $_SERVER['STATIC_ROOT'] . '/functions.js" type="text/javascript"></script>' : ''); + // Automate the Copyright year + $current_year = date('Y'); + print <<<END_FOOTER </div> @@ -339,7 +342,7 @@ <div id="pagefooter"> <div id="copyright"> - <a href="/copyright.php">Copyright &copy; 2001-2011 The PHP Group</a><br /> + <a href="/copyright.php">Copyright &copy; 2001-{$current_year} The PHP Group</a><br /> All rights reserved. </div>

« previous php.webmaster (#12795) next »