mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 06:07:32 +02:00
Fixes #2923 - URL path issue.
This commit is contained in:
@@ -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>";*/
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user