cvs: pearweb /public_html account-info.php
| From: | Helgi �ormar �orbj�rnsson | Date: | Fri, 21 Mar 2008 01:03:19 +0000 |
| Subject: | cvs: pearweb /public_html account-info.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-7347@lists.php.net to get a copy of this message | ||
dufuz Fri Mar 21 01:03:19 2008 UTC
Modified files:
/pearweb/public_html account-info.php
Log:
Adding geo data to our existing map url
http://cvs.php.net/viewvc.cgi/pearweb/public_html/account-info.php?r1=1.62&r2=1.63&diff_format=u
Index: pearweb/public_html/account-info.php
diff -u pearweb/public_html/account-info.php:1.62 pearweb/public_html/account-info.php:1.63
--- pearweb/public_html/account-info.php:1.62 Thu Mar 20 21:38:34 2008
+++ pearweb/public_html/account-info.php Fri Mar 21 01:03:19 2008
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: account-info.php,v 1.62 2008/03/20 21:38:34 dufuz Exp $
+ $Id: account-info.php,v 1.63 2008/03/21 01:03:19 dufuz Exp $
*/
@@ -179,8 +179,13 @@
echo '</li>' . "\n";
if (!empty($row['latitude']) && !empty($row['longitude'])) {
- echo ' <li>Map: ';
- echo make_link('http://' . PEAR_CHANNELNAME .
'/map/?handle=' . $handle);
+ echo ' <li class="geo">Map: ';
+ $geo = '<span class="latitude">'
+ . $row['latitude']
+ . '</span>, <span class="longitude">'
+ . $row['longitude']
+ . '</span>';
+ echo make_link('http://' . PEAR_CHANNELNAME .
'/map/?handle=' . $handle, $geo);
echo '</li>' . "\n";
}