Page title

Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
bachy
2012-11-09 11:51:55 +01:00
parent b1bf1c9387
commit 948913bc82
12 changed files with 178 additions and 25 deletions

View File

@@ -144,7 +144,7 @@ function materio_search_api_results_search(){
foreach ($words[0] as $word) {
// $word = preg_replace('/\b-/', '\-', trim($word));
// dsm($word);
$keys[] = $word;
$keys[] = trim($word);
}
$index_machine_name = variable_get('mainsearchindex', -1);
@@ -224,6 +224,7 @@ function materio_search_api_results_search(){
$ret['results']['#view_mode'] = $viewmode;
$ret['results']['#keys'] = $keys;
drupal_set_title('<i class="icon-materio-search"></i>'.check_plain($typed), PASS_THROUGH);
// Load pager.
// if ($results['result count'] > $page->options['per_page']) {
@@ -305,7 +306,7 @@ function materio_search_api_actuality(){
}
}
drupal_set_title(t('Actualities'));
return theme('materio_search_api_actuality', array(
'items' => $items,