|
|
|
@ -165,22 +165,22 @@ function roblib_search_solr_site_block_info() {
|
|
|
|
|
function roblib_search_solr_site_preprocess_panels_pane(&$variables, $hook){ |
|
|
|
|
switch ($variables['pane']->subtype) { |
|
|
|
|
case 'roblib_search_solr_site-roblib_search_solr_site_bestbet': |
|
|
|
|
$variables['title_prefix'] = '<div class="roblib-search-solr-bestbet-header">'; |
|
|
|
|
$variables['title_prefix'] = '<div class="roblib-search-header roblib-search-solr-bestbet-header">'; |
|
|
|
|
$variables['title_suffix'] = '</div>'; |
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
case 'roblib_search_solr_site-roblib_search_solr_site_db': |
|
|
|
|
$variables['title_prefix'] = '<div class="roblib-search-solr-db-header">'; |
|
|
|
|
$variables['title_prefix'] = '<div class="roblib-search-header roblib-search-solr-db-header">'; |
|
|
|
|
$variables['title_suffix'] = '</div>'; |
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
case 'roblib_search_solr_site-roblib_search_solr_site_guides': |
|
|
|
|
$variables['title_prefix'] = '<div class="roblib-search-solr-guides-header">'; |
|
|
|
|
$variables['title_prefix'] = '<div class="roblib-search-header roblib-search-solr-guides-header">'; |
|
|
|
|
$variables['title_suffix'] = '</div>'; |
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
case 'roblib_search_solr_site-roblib_search_solr_site_results': |
|
|
|
|
$variables['title_prefix'] = '<div class="roblib-search-solr-results-header">'; |
|
|
|
|
$variables['title_prefix'] = '<div class="roblib-search-header roblib-search-solr-results-header">'; |
|
|
|
|
$variables['title_suffix'] = '</div>'; |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|