cvs: docweb /include docweb_language.class.php /scripts gen_picture_info_all_lang.php /www revcheck.php

From: Date: Sat, 30 Oct 2004 14:18:07 +0000
Subject: cvs: docweb /include docweb_language.class.php /scripts gen_picture_info_all_lang.php /www revcheck.php
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-362@lists.php.net to get a copy of this message
vincent Sat Oct 30 10:18:07 2004 EDT Modified files: /docweb/include docweb_language.class.php /docweb/scripts gen_picture_info_all_lang.php /docweb/www revcheck.php Log: - Stripslashes the translated entities - Strtoupper for a nicer looking graph - Start using entities for titles (most will be done later) http://cvs.php.net/diff.php/docweb/include/docweb_language.class.php?r1=1.1&r2=1.2&ty=u Index: docweb/include/docweb_language.class.php diff -u docweb/include/docweb_language.class.php:1.1 docweb/include/docweb_language.class.php:1.2 --- docweb/include/docweb_language.class.php:1.1 Wed Oct 27 12:43:01 2004 +++ docweb/include/docweb_language.class.php Sat Oct 30 10:18:03 2004 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Authors: Sean Coates <sean@php.net> | +----------------------------------------------------------------------+ -$Id: docweb_language.class.php,v 1.1 2004/10/27 16:43:01 sean Exp $ +$Id: docweb_language.class.php,v 1.2 2004/10/30 14:18:03 vincent Exp $ */ /** @@ -121,7 +121,7 @@ function get($ent) { if ($this->entities) { - return isset($this->entities[$ent]) ? $this->entities[$ent] : FALSE; + return isset($this->entities[$ent]) ? stripslashes($this->entities[$ent]) : FALSE; } else { return FALSE; } http://cvs.php.net/diff.php/docweb/scripts/gen_picture_info_all_lang.php?r1=1.5&r2=1.6&ty=u Index: docweb/scripts/gen_picture_info_all_lang.php diff -u docweb/scripts/gen_picture_info_all_lang.php:1.5 docweb/scripts/gen_picture_info_all_lang.php:1.6 --- docweb/scripts/gen_picture_info_all_lang.php:1.5 Fri Oct 29 10:33:04 2004 +++ docweb/scripts/gen_picture_info_all_lang.php Sat Oct 30 10:18:06 2004 @@ -102,7 +102,7 @@ $graph->Add($bplot); // Setup the titles -$graph->title->Set(ucfirst($TYPE)." documentation"); +$graph->title->Set(strtoupper($TYPE)." documentation"); $graph->xaxis->title->Set("Language"); $graph->yaxis->title->Set("Files up to date (%)"); http://cvs.php.net/diff.php/docweb/www/revcheck.php?r1=1.7&r2=1.8&ty=u Index: docweb/www/revcheck.php diff -u docweb/www/revcheck.php:1.7 docweb/www/revcheck.php:1.8 --- docweb/www/revcheck.php:1.7 Sat Oct 30 07:00:03 2004 +++ docweb/www/revcheck.php Sat Oct 30 10:18:06 2004 @@ -1,5 +1,5 @@ <?php -/* $Id: revcheck.php,v 1.7 2004/10/30 11:00:03 vincent Exp $ */ +/* $Id: revcheck.php,v 1.8 2004/10/30 14:18:06 vincent Exp $ */ include '../include/init.inc.php'; include '../include/lib_revcheck.inc.php'; @@ -7,7 +7,7 @@ $LANG = LANGC; if (SITE == 'www') { - echo site_header('Revcheck'); + echo site_header('docweb.common.header.revcheck'); echo revcheck_available_types(); echo site_footer(); die; @@ -18,7 +18,7 @@ $type = SITE; $langs = revcheck_available_languages($dbhandle); if(!$langs) { - echo site_header('Revcheck'); + echo site_header('docweb.common.header.revcheck'); ?> <div class="ColoredDiv"> <h2 class="c">Status of the translated <?php echo strtoupper(SITE); ?> Manual</h2> @@ -32,7 +32,7 @@ echo site_footer(); die(); } else { - echo site_header('Revcheck'); + echo site_header('docweb.common.header.revcheck'); echo " <p class=\"c\"> <img src=\"/images/revcheck/info_revcheck_" . SITE . "_all_lang.png\" alt=\"Info\" /> @@ -41,7 +41,7 @@ die(); } } else { - echo site_header('Revcheck'); + echo site_header('docweb.common.header.revcheck'); echo "Couldn't connect"; echo site_footer(); die(); @@ -54,7 +54,7 @@ // if table description don't exist, we exits because the documentation don't exist if( !$res ) { - echo site_header('Revcheck'); + echo site_header('docweb.common.header.revcheck'); ?> <div class="ColoredDiv"> <h2 class="c">Status of the translated <?php echo strtoupper(SITE); ?> Manual</h2> @@ -73,7 +73,7 @@ $charset = sqlite_fetch_single($res); define('ENCODING', $charset); sqlite_close($dbhandle); -echo site_header('Revcheck'); +echo site_header('docweb.common.header.revcheck'); if (isset($_GET['p'])) { $PART = $_GET['p']; } else {

« previous php.doc.web (#362) next »