Bento box search with multiple targets
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<?php
|
|
|
|
|
|
|
|
/*
|
|
|
|
* To change this template, choose Tools | Templates
|
|
|
|
* and open the template in the editor.
|
|
|
|
*/
|
|
|
|
|
|
|
|
function roblib_search_preprocess_roblib_search_other_sources(&$variables) {
|
|
|
|
global $base_url;
|
|
|
|
if (!isset($query)) {
|
|
|
|
if (isset($_GET['roblib_query'])) {
|
|
|
|
$query = $_GET['roblib_query'];
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
$query = '';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$variables['query'] = urlencode($query);
|
|
|
|
}
|
|
|
|
?>
|