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