16 if (isset(
$vars[
'class'])) {
17 $vars[
'class'] =
"elgg-input-autocomplete {$vars['class']}";
19 $vars[
'class'] =
"elgg-input-autocomplete";
30 if (isset(
$vars[
'match_on'])) {
32 unset(
$vars[
'match_on']);
34 if (isset(
$vars[
'match_owner'])) {
36 unset(
$vars[
'match_owner']);
45 <script
type=
"text/javascript">
46 elgg.provide(
'elgg.autocomplete');
47 elgg.autocomplete.url =
"<?php echo elgg_get_site_url() . 'livesearch?' . $ac_url_params; ?>";
elgg echo
Translates a string.
elgg_format_attributes(array $attrs=array())
Converts an associative array into a string of well-formed attributes.
if(isset($vars['match_on'])) if(isset($vars['match_owner'])) $ac_url_params
elgg_load_js($name)
Load a JavaScript resource on this page.
elgg table input[type=checkbox]