aboutsummaryrefslogtreecommitdiff
path: root/views/default/output/location.php
blob: e3619d2e19c2e7679da8939f9fdcf0641517efbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php
/**
 * Display a location
 *
 * @uses $vars['entity'] The ElggEntity that has a location
 * @uses $vars['value']  The location string if the entity is not passed
 */

if (isset($vars['entity'])) {
	$vars['value'] = $vars['entity']->location;
	unset($vars['entity']);
}

echo elgg_view('output/tag', $vars);