[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] cvs: phpdoc /scripts gen-phpdoc-tz-list.php
From: "Richard Quadling" <rquadling () php ! net>
Date: 2008-02-26 17:28:49
Message-ID: cvsrquadling1204046929 () cvsserver
[Download RAW message or body]
rquadling Tue Feb 26 17:28:49 2008 UTC
Modified files:
/phpdoc/scripts gen-phpdoc-tz-list.php
Log:
Generate correct number of columns and the correct XML tags for DocBook.
http://cvs.php.net/viewvc.cgi/phpdoc/scripts/gen-phpdoc-tz-list.php?r1=1.7&r2=1.8&diff_format=u
Index: phpdoc/scripts/gen-phpdoc-tz-list.php
diff -u phpdoc/scripts/gen-phpdoc-tz-list.php:1.7 \
phpdoc/scripts/gen-phpdoc-tz-list.php:1.8
--- phpdoc/scripts/gen-phpdoc-tz-list.php:1.7 Fri Sep 8 14:27:42 2006
+++ phpdoc/scripts/gen-phpdoc-tz-list.php Tue Feb 26 17:28:48 2008
@@ -27,10 +27,10 @@
$groupedList['Others'] = $others;
?>
<?php echo '<?'; ?>xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<!-- AUTO GENERATED, DO NOT MODIFY BY HAND -->
-<appendix id="timezones">
+<appendix xml:id="timezones" xmlns="http://docbook.org/ns/docbook" \
xmlns:xlink="http://www.w3.org/1999/xlink"> <title>List of Supported \
Timezones</title> <para>
Here you'll find the complete list of timezones supported by PHP, which are
@@ -39,14 +39,14 @@
<note>
<simpara>
The latest version of the timezone database can be installed via PECL's
- <ulink url="&url.pecl.package.get;timezonedb">timezonedb</ulink>.
+ <link xlink:href="&url.pecl.package.get;timezonedb">timezonedb</link>.
For Windows users, a pre-compiled DLL can be downloaded from the PECL4Win
- site: <ulink url="&url.pecl.timezonedb.dll;">php_timezonedb.dll</ulink>.
+ site: <link xlink:href="&url.pecl.timezonedb.dll;">php_timezonedb.dll</link>.
</simpara>
</note>
<?php foreach ($groupedList as $group => $zones) { ?>
- <sect1 id="timezones.<?php echo strtolower($group); ?>">
+ <sect1 xml:id="timezones.<?php echo strtolower($group); ?>">
<title>List of timezones in the group <?php echo $group; ?></title>
<table>
<title><?php echo $group; ?></title>
@@ -65,6 +65,9 @@
}
}
if ($c % 5 != 0) {
+ while($c++ % 5 != 0) {
+ echo " <entry></entry>\n";
+ }
echo " </row>\n";
}
?>
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic