From 8b96adf641538fd10f1bbc11ab9d1bd21c910346 Mon Sep 17 00:00:00 2001 From: Paul Pound Date: Wed, 19 Jul 2017 14:46:54 -0300 Subject: [PATCH] updated misc sources block --- .../theme/roblib-search-passthru.tpl.php | 13 +++++++++++-- targets/passthru_results/theme/theme.inc | 3 ++- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/targets/passthru_results/theme/roblib-search-passthru.tpl.php b/targets/passthru_results/theme/roblib-search-passthru.tpl.php index bace589..61b29d4 100644 --- a/targets/passthru_results/theme/roblib-search-passthru.tpl.php +++ b/targets/passthru_results/theme/roblib-search-passthru.tpl.php @@ -9,7 +9,16 @@
- - +
+
+
+ Google Scholar +
+
+ Canadian Government Sites +
+
+ Films on Demand +
diff --git a/targets/passthru_results/theme/theme.inc b/targets/passthru_results/theme/theme.inc index c73925a..ee6b15b 100644 --- a/targets/passthru_results/theme/theme.inc +++ b/targets/passthru_results/theme/theme.inc @@ -12,9 +12,10 @@ function roblib_search_passthru_preprocess_roblib_search_passthru(&$variables) { $query = $_GET['roblib_query']; } else { - return ''; + $query = ''; } } + $variables['query'] = urlencode($query); $spinner_path = $base_url . '/' . drupal_get_path('module', 'roblib_search') . '/img/' . 'spinner.gif'; $variables['spinner_path'] = $spinner_path; $scholar_search_url = $base_url . '/roblib_search/passthru/scholar/ajax/' . urlencode($query);