cvs: docweb /scripts gen_picture_info.php

[email protected] ("Philip Olson")
Newsgroups php.doc.web
Message-ID <cvsphilip1173972053@cvsserver>
philip		Thu Mar 15 15:20:53 2007 UTC

  Modified files:              
    /docweb/scripts	gen_picture_info.php 
  Log:
  Skip languages 'en' and 'all'
  
  
http://cvs.php.net/viewvc.cgi/docweb/scripts/gen_picture_info.php?r1=1.12&r2=1.13&diff_format=u
Index: docweb/scripts/gen_picture_info.php
diff -u docweb/scripts/gen_picture_info.php:1.12 docweb/scripts/gen_picture_info.php:1.13
--- docweb/scripts/gen_picture_info.php:1.12	Thu Mar 15 08:12:37 2007
+++ docweb/scripts/gen_picture_info.php	Thu Mar 15 15:20:53 2007
@@ -1,5 +1,5 @@
 <?php
-/* $Id: gen_picture_info.php,v 1.12 2007/03/15 08:12:37 philip Exp $ */
+/* $Id: gen_picture_info.php,v 1.13 2007/03/15 15:20:53 philip Exp $ */
 
 include '../include/jpgraph/jpgraph.php';
 include '../include/jpgraph/jpgraph_pie.php';
@@ -22,8 +22,11 @@
 
 
 foreach ($LANGS as $lang) {
+    if ($lang === 'en' || $lang === 'all') {
+        continue;
+    }
     if (!generation_image($TYPE, $lang) ) {
-        echo "The $TYPE documentation for $lang language don't exist.\n";
+        echo "The $TYPE documentation for $lang language does not exist.\n";
     } else {
         echo " Generated images/revcheck/info_revcheck_" . $TYPE . "_" . $lang . ".png\n";
     }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.