bug #335 network search broken after new ssl policy settings
This commit is contained in:
parent
805087af67
commit
224dfa848b
|
@ -638,7 +638,7 @@ if(! function_exists('search')) {
|
|||
function search($s,$id='search-box',$url='/search',$save = false) {
|
||||
$a = get_app();
|
||||
$o = '<div id="' . $id . '">';
|
||||
$o .= '<form action="' . $a->get_baseurl() . $url . '" method="get" >';
|
||||
$o .= '<form action="' . $a->get_baseurl((stristr($url,'network')) ? true : false) . $url . '" method="get" >';
|
||||
$o .= '<input type="text" name="search" id="search-text" value="' . $s .'" />';
|
||||
$o .= '<input type="submit" name="submit" id="search-submit" value="' . t('Search') . '" />';
|
||||
if($save)
|
||||
|
|
|
@ -90,7 +90,7 @@ function saved_searches($search) {
|
|||
$o = replace_macros($tpl, array(
|
||||
'$title' => t('Saved Searches'),
|
||||
'$add' => t('add'),
|
||||
'$searchbox' => search($search,'netsearch-box',$a->get_baseurl(true) . $srchurl,true),
|
||||
'$searchbox' => search($search,'netsearch-box',$srchurl,true),
|
||||
'$saved' => $saved,
|
||||
));
|
||||
|
||||
|
|
Loading…
Reference in a new issue