cvs: docweb /scripts gen_picture_info.php
| From: | Vincent Gevers | Date: | Fri, 05 Nov 2004 10:49:10 +0000 |
| Subject: | cvs: docweb /scripts gen_picture_info.php | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-423@lists.php.net to get a copy of this message | ||
vincent Fri Nov 5 05:49:10 2004 EDT
Modified files:
/docweb/scripts gen_picture_info.php
Log:
Add the generation date and time.
(mainly for debug and caches)
http://cvs.php.net/diff.php/docweb/scripts/gen_picture_info.php?r1=1.9&r2=1.10&ty=u
Index: docweb/scripts/gen_picture_info.php
diff -u docweb/scripts/gen_picture_info.php:1.9 docweb/scripts/gen_picture_info.php:1.10
--- docweb/scripts/gen_picture_info.php:1.9 Fri Nov 5 04:41:58 2004
+++ docweb/scripts/gen_picture_info.php Fri Nov 5 05:49:10 2004
@@ -1,5 +1,5 @@
<?php
-/* $Id: gen_picture_info.php,v 1.9 2004/11/05 09:41:58 vincent Exp $ */
+/* $Id: gen_picture_info.php,v 1.10 2004/11/05 10:49:10 vincent Exp $ */
include '../include/jpgraph/jpgraph.php';
include '../include/jpgraph/jpgraph_pie.php';
@@ -86,6 +86,13 @@
$graph->subtitle->Align('left');
$graph->subtitle->SetColor('darkred');
+ $t1 = new Text(date('dmyGi'));
+ $t1->Pos(522,294);
+ $t1->SetFont(FF_FONT1,FS_NORMAL);
+ $t1->Align("right", 'bottom');
+ $t1->SetColor("black");
+ $graph->AddText($t1);
+
$p1 = new PiePlot3D($data);
$p1->SetSliceColors(array("#68d888", "#ff6347", "#eee8aa",
"#dcdcdc", "#f4a460"));
if ($noExplode != 1) {