cvs: php-gtk-web / docs.php
[email protected] ("Steph Fox")
| Newsgroups | php.gtk.webmaster |
|---|---|
| Message-ID | <cvssfox1144517125@cvsserver> |
sfox Sat Apr 8 17:25:25 2006 UTC
Modified files:
/php-gtk-web docs.php
Log:
v2 on top, v1 below...
http://cvs.php.net/viewcvs.cgi/php-gtk-web/docs.php?r1=1.13&r2=1.14&diff_format=u
Index: php-gtk-web/docs.php
diff -u php-gtk-web/docs.php:1.13 php-gtk-web/docs.php:1.14
--- php-gtk-web/docs.php:1.13 Sat Apr 8 13:26:47 2006
+++ php-gtk-web/docs.php Sat Apr 8 17:25:25 2006
@@ -1,6 +1,6 @@
<?php
/*
- * $Id: docs.php,v 1.13 2006/04/08 13:26:47 sfox Exp $
+ * $Id: docs.php,v 1.14 2006/04/08 17:25:25 sfox Exp $
*/
// Start output buffering in order to grab the data from the documentation
@@ -49,15 +49,12 @@
<h1>Documentation</h1>
-<p>The PHP-GTK 1 manual is available online in a selection of languages. You can
- choose between the printer friendly and graphically designed versions.
- Please pick a language and format from the table below.</p>
+<p>The documentation for PHP-GTK 2 is a work in progress, as can be seen from the
+ updates list to the right. Translations are very much in the early stages, and
+ will be added here as they start to come in.</p>
-<p> Note, that many languages are just under translation, and the untranslated
- parts are still in English. Also some translated parts might be outdated.
- The translation teams are open to contributions. Please send an e-mail to
- <a href="mailto:php-gtk-doc+at+lists+dot+php+dot+net">php-gtk-doc at lists
- dot php dot net</a> to offer your help.</p>
+<p>Note that, in translated versions of the manual, untranslated sections will
+ still be in English.</p>
<table border="0" cellpadding="3" cellspacing="2" width="100%">
<tr bgcolor="#cccccc">
@@ -69,9 +66,9 @@
<td bgcolor="#eeeeee">
<?php
-$lastlang = count($man_languages) - 1;
-foreach ($man_languages as $langnum => $langcode) {
- echo '<a href="/manual1/'.$langcode.'/">'.$LANGUAGES[$langcode].'</a>';
+$lastlang = count($man2_languages) - 1;
+foreach ($man2_languages as $langnum => $langcode) {
+ echo '<a href="/manual/'.$langcode.'/">'.$LANGUAGES[$langcode].'</a>';
echo ($lastlang != $langnum) ? ", " : "";
}
@@ -83,8 +80,8 @@
<td bgcolor="#eeeeee">
<?php
-foreach ($man_languages as $langnum => $langcode) {
- echo '<a href="/manual1/'.$langcode.'/html/index.html">'.$LANGUAGES[$langcode].'</a>';
+foreach ($man2_languages as $langnum => $langcode) {
+ echo '<a href="/manual/'.$langcode.'/html/index.html">'.$LANGUAGES[$langcode].'</a>';
echo ($lastlang != $langnum) ? ", " : "";
}
@@ -94,18 +91,19 @@
<tr>
<th bgcolor="#dddddd">Downloads</th>
<td bgcolor="#eeeeee">For other downloadable formats, please visit
- our <a href="download-docs.php">documentation downloads</a>
- page.</td>
-
+ our <a href="download-docs.php">documentation downloads</a> page.</td>
</tr>
</table>
-<p>The documentation for PHP-GTK 2 is a work in progress, as can be seen from the
- updates list to your right. Translations are very much in the early stages, and
- will be added here as they start to come in.</p>
+<p>The PHP-GTK 1 manual is available online in a selection of languages. You can
+ choose between the printer friendly and graphically designed versions.
+ Please pick a language and format from the table below.</p>
-<p>Note that, in translated versions of the manual, untranslated sections will
- still be in English.</p>
+<p> Note, that many languages are just under translation, and the untranslated
+ parts are still in English. Also some translated parts might be outdated.
+ The translation teams are open to contributions. Please send an e-mail to
+ <a href="mailto:php-gtk-doc+at+lists+dot+php+dot+net">php-gtk-doc at lists
+ dot php dot net</a> to offer your help.</p>
<table border="0" cellpadding="3" cellspacing="2" width="100%">
<tr bgcolor="#cccccc">
@@ -117,9 +115,9 @@
<td bgcolor="#eeeeee">
<?php
-$lastlang = count($man2_languages) - 1;
-foreach ($man2_languages as $langnum => $langcode) {
- echo '<a href="/manual/'.$langcode.'/">'.$LANGUAGES[$langcode].'</a>';
+$lastlang = count($man_languages) - 1;
+foreach ($man_languages as $langnum => $langcode) {
+ echo '<a href="/manual1/'.$langcode.'/">'.$LANGUAGES[$langcode].'</a>';
echo ($lastlang != $langnum) ? ", " : "";
}
@@ -131,8 +129,8 @@
<td bgcolor="#eeeeee">
<?php
-foreach ($man2_languages as $langnum => $langcode) {
- echo '<a href="/manual/'.$langcode.'/html/index.html">'.$LANGUAGES[$langcode].'</a>';
+foreach ($man_languages as $langnum => $langcode) {
+ echo '<a href="/manual1/'.$langcode.'/html/index.html">'.$LANGUAGES[$langcode].'</a>';
echo ($lastlang != $langnum) ? ", " : "";
}