X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Finclude%2Ffunctions_helpviewer.inc;h=13a528d7d7e7df9ef51f8f2ce2e201a49c1d7a48;hb=7b9eac53d0a01b7a79fc31199e8983c333c86a43;hp=df7fc436c0fb9d1ec231b14d7a2f0e8dc0392fbe;hpb=424c35d26074594c939a3190ab34e50365a2d4b1;p=gosa.git diff --git a/gosa-core/include/functions_helpviewer.inc b/gosa-core/include/functions_helpviewer.inc index df7fc436c..13a528d7d 100644 --- a/gosa-core/include/functions_helpviewer.inc +++ b/gosa-core/include/functions_helpviewer.inc @@ -273,9 +273,9 @@ function search($arr,$word) $useablewords =array(); // Temporary searchword handling $tryword = ""; // Temporary searchword handling $result['global']['maxhit'] = 0; - session::global_un_set('lastresults'); - session::global_un_set('parsed_search_keyword'); - session::global_set('parsed_search_keyword',""); + session::un_set('lastresults'); + session::un_set('parsed_search_keyword'); + session::set('parsed_search_keyword',""); error_reporting(E_ALL | E_STRICT); @@ -292,7 +292,7 @@ function search($arr,$word) /* Filter words smaler than 3 chars */ if(strlen($tryword)>=$minwordlength) { - session::global_set('parsed_search_keyword', session::global_get('parsed_search_keyword').$tryword." "); + session::set('parsed_search_keyword', session::get('parsed_search_keyword').$tryword." "); $useablewords[]=$tryword; } } @@ -344,7 +344,7 @@ function search($arr,$word) } /* Save result in Session, so we can mark words later, or go back to search, without searching again*/ - session::global_set('lastresults',$result); + session::set('lastresults',$result); return($result); } @@ -387,7 +387,7 @@ function searchlist($arr,$res,$maxresults) $ret.= "
".sprintf(_("%s results for your search with the keyword %s"), "".count($topten)."", - "".session::global_get('parsed_search_keyword').""); + "".session::get('parsed_search_keyword').""); $ret.="

"; return($ret);