|
|
@ -165,22 +165,22 @@ function roblib_search_solr_site_block_info() { |
|
|
|
function roblib_search_solr_site_preprocess_panels_pane(&$variables, $hook){ |
|
|
|
function roblib_search_solr_site_preprocess_panels_pane(&$variables, $hook){ |
|
|
|
switch ($variables['pane']->subtype) { |
|
|
|
switch ($variables['pane']->subtype) { |
|
|
|
case 'roblib_search_solr_site-roblib_search_solr_site_bestbet': |
|
|
|
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>'; |
|
|
|
$variables['title_suffix'] = '</div>'; |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
|
|
|
|
case 'roblib_search_solr_site-roblib_search_solr_site_db': |
|
|
|
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>'; |
|
|
|
$variables['title_suffix'] = '</div>'; |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
|
|
|
|
case 'roblib_search_solr_site-roblib_search_solr_site_guides': |
|
|
|
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>'; |
|
|
|
$variables['title_suffix'] = '</div>'; |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
|
|
|
|
case 'roblib_search_solr_site-roblib_search_solr_site_results': |
|
|
|
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>'; |
|
|
|
$variables['title_suffix'] = '</div>'; |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|