From e5e65c03c4d1879c4cf4ef5e0f77a80e7eb73ece Mon Sep 17 00:00:00 2001
From: Simon
Date: Mon, 4 Apr 2011 16:33:59 +0200
Subject: highlight für suche eingebaut
---
application/modules/user/controllers/ClientController.php | 4 +++-
application/modules/user/views/scripts/client/index.phtml | 15 ++++++++++++++-
2 files changed, 17 insertions(+), 2 deletions(-)
(limited to 'application/modules')
diff --git a/application/modules/user/controllers/ClientController.php b/application/modules/user/controllers/ClientController.php
index 2a57cf0..acb6a65 100644
--- a/application/modules/user/controllers/ClientController.php
+++ b/application/modules/user/controllers/ClientController.php
@@ -53,7 +53,9 @@ class User_ClientController extends Zend_Controller_Action
if($search != ''){
$this->view->search = $search;
$mySearch = new Pbs_Search();
- $clientsInGroup = $mySearch->search($clientsInGroup,$search);
+ $mySearch->setSearchTerm($search);
+ $clientsInGroup = $mySearch->search($clientsInGroup);
+ $this->view->searchterms = $mySearch->getSearchTerms();
}
// Pagination
diff --git a/application/modules/user/views/scripts/client/index.phtml b/application/modules/user/views/scripts/client/index.phtml
index 0442d95..ca78db1 100644
--- a/application/modules/user/views/scripts/client/index.phtml
+++ b/application/modules/user/views/scripts/client/index.phtml
@@ -5,7 +5,20 @@
search)){
- echo "
";
+ ?>
+
+
+
+
+
--
cgit v1.2.3-55-g7522