aboutsummaryrefslogtreecommitdiff
path: root/views/default/group/search
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-05-22 14:07:05 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-05-22 14:07:05 +0000
commit6615b6f4d827811046564cd004bd167b4c3c38bf (patch)
treea8b13babab0bb2741e9612f46d0e6a113bd29026 /views/default/group/search
parent18dd81e15a1159e73f0371e91b62640db3f5e9bf (diff)
downloadelgg-6615b6f4d827811046564cd004bd167b4c3c38bf.tar.gz
elgg-6615b6f4d827811046564cd004bd167b4c3c38bf.tar.bz2
Closes #1030: Group title and description search added, refs #965
git-svn-id: https://code.elgg.org/elgg/trunk@3300 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/group/search')
-rw-r--r--views/default/group/search/finishblurb.php15
-rw-r--r--views/default/group/search/startblurb.php8
2 files changed, 23 insertions, 0 deletions
diff --git a/views/default/group/search/finishblurb.php b/views/default/group/search/finishblurb.php
new file mode 100644
index 000000000..af3ba3fd2
--- /dev/null
+++ b/views/default/group/search/finishblurb.php
@@ -0,0 +1,15 @@
+<?php
+
+ if ($vars['count'] > $vars['threshold']) {
+
+?>
+<div class="contentWrapper"><a href="<?php echo $vars['url']; ?>search/groups.php?tag=<?php echo urlencode($vars['tag']); ?>"><?php
+
+ echo elgg_echo("group:search:finishblurb");
+
+ ?></a></div>
+<?php
+
+ }
+
+?> \ No newline at end of file
diff --git a/views/default/group/search/startblurb.php b/views/default/group/search/startblurb.php
new file mode 100644
index 000000000..c7f3a4e55
--- /dev/null
+++ b/views/default/group/search/startblurb.php
@@ -0,0 +1,8 @@
+
+<div class="contentWrapper">
+ <?php
+
+ echo sprintf(elgg_echo("group:search:startblurb"),$vars['tag']);
+
+ ?>
+</div> \ No newline at end of file