cvs: peclweb /public_html package-stats.php
| From: | Greg Beaver | Date: | Wed, 18 Oct 2006 19:29:42 +0000 |
| Subject: | cvs: peclweb /public_html package-stats.php | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-6515@lists.php.net to get a copy of this message | ||
cellog Wed Oct 18 19:29:42 2006 UTC
Modified files:
/peclweb/public_html package-stats.php
Log:
fix Bug #5468: Interactive download stats graph broken
http://cvs.php.net/viewvc.cgi/peclweb/public_html/package-stats.php?r1=1.57&r2=1.58&diff_format=u
Index: peclweb/public_html/package-stats.php
diff -u peclweb/public_html/package-stats.php:1.57 peclweb/public_html/package-stats.php:1.58
--- peclweb/public_html/package-stats.php:1.57 Wed Oct 18 19:24:40 2006
+++ peclweb/public_html/package-stats.php Wed Oct 18 19:29:42 2006
@@ -16,7 +16,7 @@
| Authors: Martin Jansen <mj@php.net> |
| Richard Heyes <richard@php.net> |
+----------------------------------------------------------------------+
- $Id: package-stats.php,v 1.57 2006/10/18 19:24:40 cellog Exp $
+ $Id: package-stats.php,v 1.58 2006/10/18 19:29:42 cellog Exp $
*/
require_once 'HTML/Form.php';
@@ -186,7 +186,7 @@
/*
* Print the graph
*/
- printf('<br /><img
src="package-stats-graph.php?pid=%s&releases=%s_339900"
name="stats_graph" width="543" height="200" alt=""
/>',
+ printf('<br /><img
src="package-stats-graph.php?pid=%s&releases=%s_339900" name="stats_graph"
width="543" height="200" alt="" />',
$_GET['pid'],
isset($_GET['rid']) ? (int)$_GET['rid'] : ''
);
@@ -248,7 +248,7 @@
}
}
graphForm.update.value = 'Updating...';
- document.images['stats_graph'].src =
'package-stats-graph.php?pid=<?php echo $_GET['pid'];
?>&releases=' + releases_qs;
+ document.images['stats_graph'].src =
'package-stats-graph.php?pid=<?php echo $_GET['pid']; ?>&releases=' +
releases_qs;
graphForm.update.value = 'Update graph';
} else {