summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorSimon2011-04-05 16:27:13 +0200
committerSimon2011-04-05 16:27:13 +0200
commit3def9f74091e1b8616ad2e1870574705e73fc1b1 (patch)
tree0c46536b4140d0d4bc8cb6c383296c035450ad44 /library
parentSession-Controller erstellt (diff)
downloadpbs2-3def9f74091e1b8616ad2e1870574705e73fc1b1.tar.gz
pbs2-3def9f74091e1b8616ad2e1870574705e73fc1b1.tar.xz
pbs2-3def9f74091e1b8616ad2e1870574705e73fc1b1.zip
Suche gefixt & Neues Recht für Session
Diffstat (limited to 'library')
-rw-r--r--library/Pbs/Search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/Pbs/Search.php b/library/Pbs/Search.php
index eb9d198..611c5e2 100644
--- a/library/Pbs/Search.php
+++ b/library/Pbs/Search.php
@@ -16,7 +16,7 @@ class Pbs_Search{
$highlight = array();
if($this->searchTerm != ''){
$str .= "<a href='/user/".$this->module."/'><img src='/media/img/delete.png' alt='Delete Client'/></a>";
- $str .= "<div>$this->countresult results found in $this->countall</div>";
+ $str .= "<div class='searchresult'>$this->countresult result".(($this->countresult==1)?'':'s')." found</div>";
$str .="<script type='text/javascript' src='/media/js/jquery.highlight-3.js'></script>";
foreach($this->getSearchTerms() as $term){
$highlight[] = "$('table').highlight('".$term."');";