cvs: pearweb /include pear-manual.php /public_html/feeds feeds.php /public_html/manual index.php

From: Date: Fri, 18 Aug 2006 14:07:12 +0000
Subject: cvs: pearweb /include pear-manual.php /public_html/feeds feeds.php /public_html/manual index.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-41784@lists.php.net to get a copy of this message
mj Fri Aug 18 14:07:12 2006 UTC Modified files: /pearweb/include pear-manual.php /pearweb/public_html/feeds feeds.php /pearweb/public_html/manual index.php Log: http://cvs.php.net/viewvc.cgi/pearweb/include/pear-manual.php?r1=1.55&r2=1.56&diff_format=u Index: pearweb/include/pear-manual.php diff -u pearweb/include/pear-manual.php:1.55 pearweb/include/pear-manual.php:1.56 --- pearweb/include/pear-manual.php:1.55 Sun Oct 23 19:27:13 2005 +++ pearweb/include/pear-manual.php Fri Aug 18 14:07:12 2006 @@ -15,18 +15,18 @@ +----------------------------------------------------------------------+ | Authors: | +----------------------------------------------------------------------+ - $Id: pear-manual.php,v 1.55 2005/10/23 19:27:13 danielc Exp $ + $Id: pear-manual.php,v 1.56 2006/08/18 14:07:12 mj Exp $ */ require_once 'site.php'; $doc_languages = array('en' => 'English', - 'nl' => 'Dutch', 'fr' => 'French', 'de' => 'German', + 'ja' => 'Japanese', + 'nl' => 'Dutch', 'hu' => 'Hungarian', // 'it' => 'Italian', - 'ja' => 'Japanese', 'pl' => 'Polish', 'ru' => 'Russian', // 'es' => 'Spanish', http://cvs.php.net/viewvc.cgi/pearweb/public_html/feeds/feeds.php?r1=1.8&r2=1.9&diff_format=u Index: pearweb/public_html/feeds/feeds.php diff -u pearweb/public_html/feeds/feeds.php:1.8 pearweb/public_html/feeds/feeds.php:1.9 --- pearweb/public_html/feeds/feeds.php:1.8 Thu Jun 15 21:32:19 2006 +++ pearweb/public_html/feeds/feeds.php Fri Aug 18 14:07:12 2006 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Authors: Pierre-Alain Joye <pajoye@php.net> | +----------------------------------------------------------------------+ - $Id: feeds.php,v 1.8 2006/06/15 21:32:19 mj Exp $ + $Id: feeds.php,v 1.9 2006/08/18 14:07:12 mj Exp $ */ require_once "pepr/pepr.php"; @@ -27,8 +27,8 @@ } /* if file is given, the file will be used to store the rss feed */ -function rss_create($items, $channel_title, $channel_description, $dest_file=false) { - if (is_array($items) && count($items)>0) { +function rss_create($items, $channel_title, $channel_description, $dest_file = false) { + if (is_array($items) && count($items) > 0) { $rss_top = <<<EOT <?xml version="1.0" encoding="iso-8859-1"?> @@ -64,7 +64,6 @@ $title = $item['name']; } - //$node = $this->newItem($title, $url, $item['releasenotes'], $date); $items_xml .= '<rdf:li rdf:resource="' . $url . '"/>' . "\n"; $item_entries .= "<item rdf:about=" . '"' .$url . '"' . "> <title>$title</title> http://cvs.php.net/viewvc.cgi/pearweb/public_html/manual/index.php?r1=1.24&r2=1.25&diff_format=u Index: pearweb/public_html/manual/index.php diff -u pearweb/public_html/manual/index.php:1.24 pearweb/public_html/manual/index.php:1.25 --- pearweb/public_html/manual/index.php:1.24 Mon Aug 7 19:22:37 2006 +++ pearweb/public_html/manual/index.php Fri Aug 18 14:07:12 2006 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Authors: Martin Jansen <mj@php.net> | +----------------------------------------------------------------------+ - $Id: index.php,v 1.24 2006/08/07 19:22:37 mj Exp $ + $Id: index.php,v 1.25 2006/08/18 14:07:12 mj Exp $ */ response_header('Documentation'); @@ -31,8 +31,10 @@ <ul> <?php +$outdated_languages = array_slice($doc_languages, 4); + $i = 0; -foreach ($doc_languages as $domain => $name) { +foreach (array_slice($doc_languages, 0, 4) as $domain => $name) { echo '<li>'; if ($i++ == 0) { echo '<b>' . make_link('/manual/' . $domain . '/', $name) . '</b>'; @@ -45,6 +47,18 @@ </ul> +<p>The translations of the following languages are outdated but still available:</p> + +<ul> +<?php +foreach ($outdated_languages as $domain => $name) { + echo '<li>'; + echo make_link('/manual/' . $domain . '/', $name); + echo '</li>'; +} +?> +</ul> + <p>If you prefer to have an offline version of the documentation, you can download it in a variety of formats.</p> @@ -70,7 +84,11 @@ $bb->HeadRow('Type', 'Format', 'Size'); foreach ($doc_languages as $domain => $name) { - $bb->fullRow('<b>' . $name . '</b>'); + $language = '<strong>' . $name . '</strong>'; + if (array_key_exists($domain, $outdated_languages)) { + $language .= ' (outdated)'; + } + $bb->fullRow($language); foreach ($formats as $filename => $information) { if ($domain == "ru" && $information[1] == "chm") {

« previous php.pear.cvs (#41784) next »