22 if (empty(
$vars[
'name'])) {
23 $vars[
'name'] =
'members';
26 $name = htmlspecialchars(
$name, ENT_QUOTES,
'UTF-8');
36 <
div class=
"elgg-user-picker" data-limit=
"<?php echo $limit ?>" data-name=
"<?php echo $name ?>" data-handler=
"<?php echo $handler ?>">
38 <
input type=
"checkbox" name=
"match_on" value=
"true" />
40 <
ul class=
"elgg-user-picker-list">
47 'input_name' =>
$vars[
'name'],
55 require([
'elgg/UserPicker'],
function (UserPicker) {
56 UserPicker.setup(
'.elgg-user-picker[data-name="<?php echo $name ?>"]');
$guid
Removes an admin notice.
elgg_extract($key, array $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
elgg echo
Translates a string.
elgg require
Throw an error if the required package isn't present.
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
elgg_load_js($name)
Load a JavaScript resource on this page.
elgg table input[type=checkbox]
if(empty($vars['name'])) $name
get_entity($guid)
Loads and returns an entity object from a guid.
if(file_exists($welcome)) $vars