aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default/forms
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-01 22:58:44 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-01 22:58:44 +0000
commitecfeaf08fffd1e9f347543d8d88799a4efb50827 (patch)
treea574b3e89db6d18cdc6531a7b539fa91d95daf02 /mod/groups/views/default/forms
parent3e79004b04458c0ec11462a422dc67f2fb3c2bdb (diff)
downloadelgg-ecfeaf08fffd1e9f347543d8d88799a4efb50827.tar.gz
elgg-ecfeaf08fffd1e9f347543d8d88799a4efb50827.tar.bz2
updating the sidebar boxes to use the new module classes
git-svn-id: http://code.elgg.org/elgg/trunk@7809 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/views/default/forms')
-rw-r--r--mod/groups/views/default/forms/groups/search.php13
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')));