Exemple #1
0
    }
    ?>
						    	
						    	<span class="wppl-address"><?php 
    echo $address;
    ?>
</span>
						    </div>
		    			</div>
		    		
		    			<!--  Driving Distance -->
						<?php 
    if (isset($gmw['search_results']['by_driving'])) {
        ?>
		    				<?php 
        gmw_driving_distance($post, $gmw, false);
        ?>
		    			<?php 
    }
    ?>
		    			
		    			<!-- Get directions -->	 	
						<?php 
    if (isset($gmw['search_results']['get_directions'])) {
        ?>
							<div class="wppl-get-directions">
		    					<?php 
        gmw_directions_link($post, $gmw, $gmw['labels']['search_results']['directions']);
        ?>
		    				</div>
		    			<?php 
Exemple #2
0
        ?>
							<div class="get-directions-link">
		    					<?php 
        gmw_directions_link($member, $gmw, $gmw['labels']['search_results']['directions']);
        ?>
		    				</div>
		    			<?php 
    }
    ?>
	                
	               		<!--  Driving Distance -->
						<?php 
    if (isset($gmw['search_results']['by_driving'])) {
        ?>
		    				<?php 
        gmw_driving_distance($member, $gmw, false);
        ?>
		    			<?php 
    }
    ?>
                    
	                </div>           

			        <div class="bp-member-dir-buttons">
			            <?php 
    do_action('bp_directory_members_item_last');
    ?>
			        </div>

		        </div>
function gmw_gl_driving_distance($gmw, $member)
{
    if (!isset($gmw['search_results']['by_driving']) || $gmw['units_array'] == false) {
        return;
    }
    global $groups_template;
    _deprecated_function('gmw_gl_driving_distance', '2.5', 'gmw_driving_distance');
    gmw_driving_distance($groups_template->group, $gmw, false);
}