cvs: docweb /include lib_revcheck.inc.php /scripts gen_picture_info.php rev.php

From: Date: Fri, 05 Nov 2004 09:41:58 +0000
Subject: cvs: docweb /include lib_revcheck.inc.php /scripts gen_picture_info.php rev.php
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-422@lists.php.net to get a copy of this message
vincent Fri Nov 5 04:41:58 2004 EDT Modified files: /docweb/include lib_revcheck.inc.php /docweb/scripts gen_picture_info.php rev.php Log: Ignoring the files that may only be in the en tree also making the graph look better at a 100% uptodate translation http://cvs.php.net/diff.php/docweb/include/lib_revcheck.inc.php?r1=1.8&r2=1.9&ty=u Index: docweb/include/lib_revcheck.inc.php diff -u docweb/include/lib_revcheck.inc.php:1.8 docweb/include/lib_revcheck.inc.php:1.9 --- docweb/include/lib_revcheck.inc.php:1.8 Sat Oct 30 07:00:03 2004 +++ docweb/include/lib_revcheck.inc.php Fri Nov 5 04:41:56 2004 @@ -206,7 +206,8 @@ $result = sqlite_query($idx, $sql); $num = sqlite_num_rows($result); if ($num == 0) { - return false; + // only 'null' will produce a 0 with sizeof() + return null; } else { $tmp = array(); while ($r = sqlite_fetch_array($result, SQLITE_ASSOC)) { http://cvs.php.net/diff.php/docweb/scripts/gen_picture_info.php?r1=1.8&r2=1.9&ty=u Index: docweb/scripts/gen_picture_info.php diff -u docweb/scripts/gen_picture_info.php:1.8 docweb/scripts/gen_picture_info.php:1.9 --- docweb/scripts/gen_picture_info.php:1.8 Mon Nov 1 05:36:17 2004 +++ docweb/scripts/gen_picture_info.php Fri Nov 5 04:41:58 2004 @@ -1,5 +1,5 @@ <?php -/* $Id: gen_picture_info.php,v 1.8 2004/11/01 10:36:17 nlopess Exp $ */ +/* $Id: gen_picture_info.php,v 1.9 2004/11/05 09:41:58 vincent Exp $ */ include '../include/jpgraph/jpgraph.php'; include '../include/jpgraph/jpgraph_pie.php'; @@ -67,13 +67,15 @@ $pourcent[] = round($valeur * 100 / $total); } + + $noExplode = ($Total_files_lang == $up_to_date) ? 1 : 0; $legend = array($pourcent[0] . '%% up to date ('.$up_to_date.')', $pourcent[1] . '%% critical ('.$critical.')', $pourcent[2] . '%% old ('.$old.')', $pourcent[3] . '%% missing ('.$missing.')', $pourcent[4] . '%% without revtag ('.$no_tag.')'); $title = ucfirst($TYPE). ' : Details for '.$LANGUAGES[$lang].' Doc'; $graph = new PieGraph(530,300); $graph->SetShadow(); - + $graph->title->Set($title); $graph->title->Align('left'); $graph->title->SetFont(FF_FONT1,FS_BOLD); @@ -86,7 +88,9 @@ $p1 = new PiePlot3D($data); $p1->SetSliceColors(array("#68d888", "#ff6347", "#eee8aa", "#dcdcdc", "#f4a460")); - $p1->ExplodeAll(); + if ($noExplode != 1) { + $p1->ExplodeAll(); + } $p1->SetCenter(0.35,0.55); $p1->value->Show(false); http://cvs.php.net/diff.php/docweb/scripts/rev.php?r1=1.13&r2=1.14&ty=u Index: docweb/scripts/rev.php diff -u docweb/scripts/rev.php:1.13 docweb/scripts/rev.php:1.14 --- docweb/scripts/rev.php:1.13 Thu Nov 4 13:22:00 2004 +++ docweb/scripts/rev.php Fri Nov 5 04:41:58 2004 @@ -266,7 +266,9 @@ if ( (!is_dir($DOCS . 'en' . $dir.'/' .$file) && !in_array(substr($file, -3), array('xml','ent')) && substr($file, -13) != 'PHPEditBackup' ) || ($file == "functions.xml" && strpos($dir, '/reference') !== false) - || $dir == '/chmonly') { + || $dir == '/chmonly' + || $file == 'contributors.ent' || $file == 'contributors.xml' + || ($dir == '/appendices' && $file == 'reserved.constants.xml')) { continue; }

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