diff options
Diffstat (limited to 'mod/groups/views/default/forms')
-rw-r--r-- | mod/groups/views/default/forms/groups/search.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mod/groups/views/default/forms/groups/search.php b/mod/groups/views/default/forms/groups/search.php new file mode 100644 index 000000000..fbb01513d --- /dev/null +++ b/mod/groups/views/default/forms/groups/search.php @@ -0,0 +1,13 @@ +<?php + +$tag_string = elgg_echo('groups:search:tags'); + +$params = array( + 'internalname' => 'tag', + 'class' => 'search-input', + 'value' => $tag_string, + 'onclick' => "if (this.value=='$tag_string') { this.value='' }", +); +echo elgg_view('input/text', $params); + +echo elgg_view('input/submit', array('value' => elgg_echo('search:go'))); |