mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
Fixes #2923 - URL path issue.
This commit is contained in:
parent
973e0dc009
commit
c1d23f34c8
@ -1023,7 +1023,7 @@ class download_shortcodes extends e_shortcode
|
||||
function sc_download_cat_search()
|
||||
{
|
||||
$tp = e107::getParser();
|
||||
$text = "<form class='form-search form-inline' method='get' action='".e_BASE."search.php'>";
|
||||
$text = "<form class='form-search form-inline' method='get' action='".e_HTTP."search.php'>";
|
||||
$text .= '<div><div class="input-group">';
|
||||
$text .= "<input class='tbox form-control search-query' type='text' name='q' size='30' value='' placeholder=\"".LAN_SEARCH."\" maxlength='50' />
|
||||
<input type='hidden' name='r' value='0' />
|
||||
@ -1043,13 +1043,13 @@ class download_shortcodes extends e_shortcode
|
||||
|
||||
return $text;
|
||||
|
||||
return "<form class='form-search form-inline' method='get' action='".e_BASE."search.php'>
|
||||
/* return "<form class='form-search form-inline' method='get' action='".e_HTTP."search.php'>
|
||||
<div class='input-group'>
|
||||
<input class='tbox form-control search-query' type='text' name='q' size='30' value='' placeholder=\"".LAN_SEARCH."\" maxlength='50' />
|
||||
<button class='btn btn-primary button' type='submit' name='s' value='1' />".LAN_GO."</button>
|
||||
<input type='hidden' name='r' value='0' />
|
||||
</div>
|
||||
</form>";
|
||||
</form>";*/
|
||||
}
|
||||
|
||||
|
||||
|
@ -174,7 +174,7 @@ class forum_shortcodes extends e_shortcode
|
||||
|
||||
// String candidate for USERLIST wrapper
|
||||
return "
|
||||
<form method='get' class='form-inline input-append' action='".e_BASE."search.php'>
|
||||
<form method='get' class='form-inline input-append' action='".e_HTTP."search.php'>
|
||||
<div class='input-group'>
|
||||
<input type='hidden' name='r' value='0' />
|
||||
<input type='hidden' name='t' value='forum' />
|
||||
|
Loading…
x
Reference in New Issue
Block a user