com web/doc: Update label on charts: scripts/gen_picture_in fo.php
| From: | sobak@php.net | Date: | Tue, 24 Jun 2014 05:53:58 +0000 |
| Subject: | com web/doc: Update label on charts: scripts/gen_picture_in fo.php | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-2393@lists.php.net to get a copy of this message | ||
Commit: 67c7ede0bbea6f2b005edc828b1267a47687d153
Author: Sobak <msobaczewski@gmail.com> Tue, 24 Jun 2014 07:53:58 +0200
Parents: 0c34ec2edb304f216417b230a942a05f1bf0f704
Branches: master
Link: http://git.php.net/?p=web/doc.git;a=commitdiff;h=67c7ede0bbea6f2b005edc828b1267a47687d153
Log:
Update label on charts
Changed paths:
M scripts/gen_picture_info.php
Diff:
diff --git a/scripts/gen_picture_info.php b/scripts/gen_picture_info.php
index 57b7a55..f6b8996 100644
--- a/scripts/gen_picture_info.php
+++ b/scripts/gen_picture_info.php
@@ -60,7 +60,7 @@ function generate_image($lang, $idx) {
$percent[] = round($value * 100 / $total);
}
- $legend = array($percent[0] . '%% up to date ('.$up_to_date.')',
$percent[1] . '%% critical ('.$critical.')', $percent[2] . '%% old
('.$old.')', $percent[3] . '%% missing ('.$missing.')',
$percent[4] . '%% without revtag ('.$no_tag.')');
+ $legend = array($percent[0] . '%% up to date ('.$up_to_date.')',
$percent[1] . '%% critical ('.$critical.')', $percent[2] . '%% old
('.$old.')', $percent[3] . '%% missing ('.$missing.')',
$percent[4] . '%% without EN-Revision ('.$no_tag.')');
$title = 'Details for '.$LANGUAGES[$lang].' PHP Manual';
$graph = new PieGraph(530,300);