cvs: php-gtk-web / docs.php

From: Date: Sat, 08 Apr 2006 13:26:47 +0000
Subject: cvs: php-gtk-web / docs.php
Groups: php.gtk.webmaster 
Request: Send a blank email to php-gtk-webmaster+get-2965@lists.php.net to get a copy of this message
sfox Sat Apr 8 13:26:47 2006 UTC Modified files: /php-gtk-web docs.php Log: Looks OK on my box... http://cvs.php.net/viewcvs.cgi/php-gtk-web/docs.php?r1=1.12&r2=1.13&diff_format=u Index: php-gtk-web/docs.php diff -u php-gtk-web/docs.php:1.12 php-gtk-web/docs.php:1.13 --- php-gtk-web/docs.php:1.12 Mon Mar 27 13:08:09 2006 +++ php-gtk-web/docs.php Sat Apr 8 13:26:47 2006 @@ -1,6 +1,6 @@ <?php /* - * $Id: docs.php,v 1.12 2006/03/27 13:08:09 sfox Exp $ + * $Id: docs.php,v 1.13 2006/04/08 13:26:47 sfox Exp $ */ // Start output buffering in order to grab the data from the documentation @@ -49,7 +49,7 @@ <h1>Documentation</h1> -<p>The PHP-GTK manual is available online in a selection of languages. You can +<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> @@ -84,7 +84,55 @@ <?php foreach ($man_languages as $langnum => $langcode) { - echo '<a href="/manual1/'.$langcode.'/html/">'.$LANGUAGES[$langcode].'</a>'; + echo '<a href="/manual1/'.$langcode.'/html/index.html">'.$LANGUAGES[$langcode].'</a>'; + echo ($lastlang != $langnum) ? ", " : ""; +} + +?> + </td> + </tr> + <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> + + </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>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"> + <th>Formats</th> + <th>Languages</th> + </tr> + <tr> + <th bgcolor="#dddddd">View Online</th> + <td bgcolor="#eeeeee"> +<?php + +$lastlang = count($man2_languages) - 1; +foreach ($man2_languages as $langnum => $langcode) { + echo '<a href="/manual/'.$langcode.'/">'.$LANGUAGES[$langcode].'</a>'; + echo ($lastlang != $langnum) ? ", " : ""; +} + +?> + </td> + </tr> + <tr> + <th bgcolor="#dddddd">Printer friendly</th> + <td bgcolor="#eeeeee"> +<?php + +foreach ($man2_languages as $langnum => $langcode) { + echo '<a href="/manual/'.$langcode.'/html/index.html">'.$LANGUAGES[$langcode].'</a>'; echo ($lastlang != $langnum) ? ", " : ""; }

« previous php.gtk.webmaster (#2965) next »