Source for file user.php
Documentation is available at user.php
* This is the default template for the User info window in Geo Mashup maps.
* Don't modify this file! It will be overwritten by upgrades.
* Instead, copy this file to "geo-mashup-user.php" in your theme directory,
* or "user.php" in the Geo Mashup Custom plugin directory, if you have that
* installed. Those files take precedence over this one.
* For styling of the info window, see map-style-default.css.
<div class="locationinfo user-location-info">
<h2 class="center">Not Found</h2>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
* Template callback for GeoMashupQuery::list_users()
* @param object $user The user to display.
<div id="div-user- <?php echo esc_attr( $user->ID ); ?>" class="vcard">
<span class="type"> <?php _e( 'Display Name' ); ?></span>: <span class="value"> <?php echo esc_attr( $user->display_name ); ?></span>
<?php echo GeoMashup::location_info( 'fields=locality_name,admin_code&format=<div class="adr"><span class="locality">%s</span>, <span class="region">%s</span></div>' ); ?>
<?php if ( isset ( $user->user_url ) && strlen( $user->user_url ) > 7 ) : ?>
<span class="type"> <?php _e( 'Website' ); ?></span>: <a class="value" href=" <?php echo esc_attr( $user->user_url ); ?>"> <?php echo esc_attr( $user->user_url ); ?></a>
|