|
@@ -805,13 +805,19 @@ function template_preprocess_materio_search_api_results(array &$vars) {
|
|
|
// 'The search found @count results '
|
|
|
// )
|
|
|
|
|
|
- $vars['search_performance'] = t('The search found @count result(s) with keywords @keys. @mat materials and @new news.', array(
|
|
|
+ $vars['search_performance'] = t('The search found @count result(s) with keywords @keys.', array(
|
|
|
"@count"=>$vars['result_count'],
|
|
|
- "@keys"=>$vars['keywords'],
|
|
|
- "@mat"=>4,
|
|
|
- "@new"=>7)
|
|
|
+ "@keys"=>$vars['keywords'])
|
|
|
);
|
|
|
|
|
|
+ // TODO indicate how many materials and how many news
|
|
|
+ // $vars['search_performance'] = t('The search found @count result(s) with keywords @keys. @mat materials and @new news.', array(
|
|
|
+ // "@count"=>$vars['result_count'],
|
|
|
+ // "@keys"=>$vars['keywords'],
|
|
|
+ // "@mat"=>4,
|
|
|
+ // "@new"=>7)
|
|
|
+ // );
|
|
|
+
|
|
|
}
|
|
|
|
|
|
//dsm($vars, '$vars');
|