openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit a8972f50a70a4a4edec7fef2ac05a0d07fc3dc3a
parent f6e16c48b0263bd74ee640194d9f763320538449
Author: dankert <devnull@localhost>
Date:   Fri, 25 Sep 2009 23:56:49 +0200

Optimierung der Suchfunktion

Diffstat:
actionClasses/SearchAction.ini.php | 14++++++--------
language/de.ini.php | 3+--
language/en.ini.php | 3+--
themes/default/templates/search/content.tpl.src.php | 2+-
themes/default/templates/search/result.tpl.src.php | 12+++++++++---
5 files changed, 18 insertions(+), 16 deletions(-)

diff --git a/actionClasses/SearchAction.ini.php b/actionClasses/SearchAction.ini.php @@ -3,27 +3,25 @@ goto=prop [quicksearch] -menu=prop +menu=search goto=result [result] -menu=prop +menu=search [prop] -menu=prop +menu=search target=searchprop [content] -menu=content +menu=search target=searchcontent [searchcontent] goto=result -menu=content + [searchprop] goto=result -menu=prop [menu] -prop=prop -content=content +search=prop,content diff --git a/language/de.ini.php b/language/de.ini.php @@ -792,8 +792,7 @@ MENU_TITLE_PROFILE_EDIT =Persönliche Einstellungen MENU_TITLE_PROJECT_EDIT =Projekt bearbeiten MENU_TITLE_PROJECT_LISTING =Projektübersicht MENU_TITLE_PROJECT_LIST = Projektübersicht -MENU_TITLE_SEARCH_CONTENT="Suche nach Inhalt" -MENU_TITLE_SEARCH_PROP="Suche nach Eigenschaften" +MENU_TITLE_SEARCH_SEARCH="Suchen" MENU_TITLE_TEMPLATE_EDIT =Inhalt der Vorlage MENU_TITLE_TEMPLATE_EL =Liste der Platzhalter MENU_TITLE_TEMPLATE_LISTING =Liste der Vorlagen diff --git a/language/en.ini.php b/language/en.ini.php @@ -798,8 +798,7 @@ MENU_TITLE_PROFILE_EDIT =Profile MENU_TITLE_PROJECT_EDIT =Edit project MENU_TITLE_PROJECT_LISTING =Project overview MENU_TITLE_PROJECT_LIST = Project overview -MENU_TITLE_SEARCH_CONTENT="Search for value" -MENU_TITLE_SEARCH_PROP="Search for property" +MENU_TITLE_SEARCH_SEARCH="Suchen"="Search" MENU_TITLE_TEMPLATE_EDIT =Template content MENU_TITLE_TEMPLATE_EL =List of elements MENU_TITLE_TEMPLATE_LISTING =List of templates diff --git a/themes/default/templates/search/content.tpl.src.php b/themes/default/templates/search/content.tpl.src.php @@ -5,7 +5,7 @@ page cell radio name:type value:lastchange_user label for:type value:lastchange_user - text key:user_lastchange_user + text key:lastchange_user cell selectbox list:users name:userid default:var:act_userid row diff --git a/themes/default/templates/search/result.tpl.src.php b/themes/default/templates/search/result.tpl.src.php @@ -1,11 +1,17 @@ page - window icon:search widths:50%,50% + window icon:search widths:70%,30% + row + cell class:help + text key:GLOBAL_NAME + cell class:help + text key:GLOBAL_LASTCHANGE + list list:result extract:true - row + row class:data cell link url:var:url target:cms_main image type:var:type - text text:var:name title:var:desc + text var:name title:var:desc cell date date:var:lastchange_date \ No newline at end of file