cvs: pearweb /public_html/map index.php
| From: | Greg Beaver | Date: | Wed, 13 Dec 2006 17:35:41 +0000 |
| Subject: | cvs: pearweb /public_html/map index.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-5264@lists.php.net to get a copy of this message | ||
cellog Wed Dec 13 17:35:41 2006 UTC
Modified files:
/pearweb/public_html/map index.php
Log:
honor \"show email\" setting
http://cvs.php.net/viewvc.cgi/pearweb/public_html/map/index.php?r1=1.7&r2=1.8&diff_format=u
Index: pearweb/public_html/map/index.php
diff -u pearweb/public_html/map/index.php:1.7 pearweb/public_html/map/index.php:1.8
--- pearweb/public_html/map/index.php:1.7 Tue Dec 12 21:15:39 2006
+++ pearweb/public_html/map/index.php Wed Dec 13 17:35:41 2006
@@ -16,7 +16,7 @@
* @author David Coallier <davidc@php.net>
* @copyright Copyright (c) 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License
- * @version $Id: index.php,v 1.7 2006/12/12 21:15:39 arnaud Exp $
+ * @version $Id: index.php,v 1.8 2006/12/13 17:35:41 cellog Exp $
*/
$map = '
<script type="text/javascript" language="javascript" src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAjPqDvnoTwt1l2d9kE7aeSRSaX3uuPis-gsi6PocQln0mfq-TehSSt5OZ9q0OyzKSOAfNu8NuLlNgWA"></script>
@@ -96,7 +96,7 @@
<?php
$sql = "
- SELECT latitude, longitude, handle, homepage, email
+ SELECT latitude, longitude, handle, homepage, IF(showemail,email,'') as email
FROM users
WHERE latitude <> ''
AND longitude <> ''