Elgg
Version 1.11
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
output
location.php
Go to the documentation of this file.
1
<?php
9
if
(isset(
$vars
[
'entity'
])) {
10
$vars
[
'value'
] =
$vars
[
'entity'
]->location;
11
unset(
$vars
[
'entity'
]);
12
}
13
14
// Fixes #4566 we used to allow arrays of strings for location
15
if
(is_array(
$vars
[
'value'
])) {
16
$vars
[
'value'
] = implode(
', '
,
$vars
[
'value'
]);
17
}
18
19
echo
elgg_view
(
'output/tag'
,
$vars
);
$vars
$vars['class']
Location input field.
Definition:
location.php:10
echo
elgg echo
Translates a string.
Definition:
languages.js:43
elgg_view
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition:
views.php:354
Generated on Sat Dec 21 2024 00:00:50 for Elgg by
1.8.11