Paul Pound
11 years ago
13 changed files with 85 additions and 91 deletions
@ -0,0 +1,19 @@ |
|||||||
|
<?php |
||||||
|
|
||||||
|
/** |
||||||
|
* @file roblib-search-other-sources.tpl.php |
||||||
|
* |
||||||
|
* |
||||||
|
* @see template_preprocess_roblib_search_other_sources() |
||||||
|
*/ |
||||||
|
?> |
||||||
|
|
||||||
|
<div class ="roblib-search-more" id="roblib-search-other-sources-more"></div> |
||||||
|
<div class ="roblib-search-content other-sources" id="roblib-search-content-other-sources"> |
||||||
|
<div class="roblib-search-row" id="roblib-search-google-scholar"> |
||||||
|
<a href="http://scholar.google.ca/scholar?q=<?php print ($query); ?>">Google Scholar</a>
|
||||||
|
</div> |
||||||
|
<div class="roblib-search-row" id="roblib-search-google-cse-carleton"> |
||||||
|
<a href="http://www.google.com/cse?cx=015121753026627038989:9jvssbo3xgo&ie=UTF-8&q=<?php print ($query); ?>&sa=Search">Gov Docs Google CSE</a>
|
||||||
|
</div> |
||||||
|
</div> |
@ -1,27 +0,0 @@ |
|||||||
<?php |
|
||||||
|
|
||||||
/** |
|
||||||
* @file islandora-solr-wrapper.tpl.php |
|
||||||
* Islandora solr search results wrapper template |
|
||||||
* |
|
||||||
* Variables available: |
|
||||||
* - $variables: all array elements of $variables can be used as a variable. e.g. $base_url equals $variables['base_url'] |
|
||||||
* - $base_url: The base url of the current website. eg: http://example.com . |
|
||||||
* - $user: The user object. |
|
||||||
* |
|
||||||
* |
|
||||||
* - $results: Rendered search results (primary profile) |
|
||||||
* |
|
||||||
* |
|
||||||
* @see template_preprocess_roblib_search_wrapper() |
|
||||||
*/ |
|
||||||
?> |
|
||||||
|
|
||||||
<div class ="roblib-search-content-wrapper"> |
|
||||||
|
|
||||||
<?php foreach($results as $result): ?> |
|
||||||
<div><?php print $result; ?> |
|
||||||
</div> |
|
||||||
<?php endforeach; ?> |
|
||||||
|
|
||||||
</div> |
|
Loading…
Reference in new issue