cvs: pearweb /public_html account-info.php
| From: | Helgi �ormar �orbj�rnsson | Date: | Sun, 13 Jan 2008 20:54:44 +0000 |
| Subject: | cvs: pearweb /public_html account-info.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-50298@lists.php.net to get a copy of this message | ||
dufuz Sun Jan 13 20:54:44 2008 UTC
Modified files:
/pearweb/public_html account-info.php
Log:
Request #10903 Search the map for specific developer
Linked from each developers page if they have it set, additionally deal with if the user in
question does not exist.
Also made it so we don't try to access the google apis unless we have the info we need to
really show a map.
http://cvs.php.net/viewvc.cgi/pearweb/public_html/account-info.php?r1=1.59&r2=1.60&diff_format=u
Index: pearweb/public_html/account-info.php
diff -u pearweb/public_html/account-info.php:1.59 pearweb/public_html/account-info.php:1.60
--- pearweb/public_html/account-info.php:1.59 Sat Jan 12 23:43:10 2008
+++ pearweb/public_html/account-info.php Sun Jan 13 20:54:44 2008
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: account-info.php,v 1.59 2008/01/12 23:43:10 dufuz Exp $
+ $Id: account-info.php,v 1.60 2008/01/13 20:54:44 dufuz Exp $
*/
@@ -174,6 +174,12 @@
echo make_link('http://' .
htmlspecialchars($_SERVER['HTTP_HOST']) . '/feeds/user_' . $handle .
'.rss');
echo '</li>' . "\n";
+if (!empty($row['latitude']) && !empty($row['longitude'])) {
+ echo ' <li>Map: ';
+ echo make_link('http://' .
htmlspecialchars($_SERVER['HTTP_HOST']) . '/map/?handle=' . $handle);
+ echo '</li>' . "\n";
+}
+
echo ' <li>Bug Statistics: <br />' . "\n";
echo ' <ul>' . "\n";