svn: /phpdoc/ doc-base/trunk/configure.php doc-base/trunk/entities/version.ent.in en/trunk/bookinfo.xml en/trunk/make_chm_index.html
| From: | Richard Quadling | Date: | Tue, 05 Jan 2010 10:49:50 +0000 |
| Subject: | svn: /phpdoc/ doc-base/trunk/configure.php doc-base/trunk/entities/version.ent.in en/trunk/bookinfo.xml en/trunk/make_chm_index.html | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-5756@lists.php.net to get a copy of this message | ||
rquadling Tue, 05 Jan 2010 10:49:50 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=293139
Log:
Automate the copyright year using a new entity &php.copyright-year;
Changed paths:
U phpdoc/doc-base/trunk/configure.php
U phpdoc/doc-base/trunk/entities/version.ent.in
U phpdoc/en/trunk/bookinfo.xml
U phpdoc/en/trunk/make_chm_index.html
Modified: phpdoc/doc-base/trunk/configure.php
===================================================================
--- phpdoc/doc-base/trunk/configure.php 2010-01-05 10:21:11 UTC (rev 293138)
+++ phpdoc/doc-base/trunk/configure.php 2010-01-05 10:49:50 UTC (rev 293139)
@@ -265,6 +265,7 @@
'VERSION_FILES' => 'yes',
'HOWTO' => 'no',
'USE_BROKEN_TRANSLATION_FILENAME' => 'yes',
+ 'COPYRIGHT_YEAR' => date('Y'),
); // }}}
$ac = $acd;
Modified: phpdoc/doc-base/trunk/entities/version.ent.in
===================================================================
--- phpdoc/doc-base/trunk/entities/version.ent.in 2010-01-05 10:21:11 UTC (rev 293138)
+++ phpdoc/doc-base/trunk/entities/version.ent.in 2010-01-05 10:49:50 UTC (rev 293139)
@@ -1 +1,2 @@
<!ENTITY php.build-date "@PHP_BUILD_DATE@">
+<!ENTITY php.copyright-year "@COPYRIGHT_YEAR@">
Modified: phpdoc/en/trunk/bookinfo.xml
===================================================================
--- phpdoc/en/trunk/bookinfo.xml 2010-01-05 10:21:11 UTC (rev 293138)
+++ phpdoc/en/trunk/bookinfo.xml 2010-01-05 10:49:50 UTC (rev 293139)
@@ -7,14 +7,14 @@
&frontpage.editors;
<copyright>
- <year>1997-2010</year>
+ <year>1997-&php.copyright-year;</year>
<holder>the PHP Documentation Group</holder>
</copyright>
<legalnotice xml:id="copyright" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Copyright</title>
<simpara>
- Copyright © 1997 - 2010 by the PHP Documentation Group.
+ Copyright © 1997 - &php.copyright-year; by the PHP Documentation Group.
This material may be distributed only subject to the terms and
conditions set forth in the Creative Commons Attribution 3.0
License or later. A copy of the <link linkend="cc.license">Creative
Modified: phpdoc/en/trunk/make_chm_index.html
===================================================================
--- phpdoc/en/trunk/make_chm_index.html 2010-01-05 10:21:11 UTC (rev 293138)
+++ phpdoc/en/trunk/make_chm_index.html 2010-01-05 10:49:50 UTC (rev 293139)
@@ -32,7 +32,7 @@
Go to <A HREF="http://www.php.net/docs.php">http://www.php.net/docs.php</A>
to get the actual version.</P>
-<BR><P CLASS="copyright" ALIGN="CENTER"><A
HREF="copyright.html">Copyright</A> © 1997 - 2010 the PHP Documentation
Group</P>
+<BR><P CLASS="copyright" ALIGN="CENTER"><A
HREF="copyright.html">Copyright</A> © 1997 - &php.copyright-year; the PHP
Documentation Group</P>
</TD><TD><IMG SRC="spacer.gif" WIDTH="10"
HEIGHT="1"></TD></TR>
<TR><TD COLSPAN="3"><DIV CLASS="NAVFOOTER"><TABLE
BGCOLOR="#CCCCFF" BORDER="0"