mirror of
https://github.com/e107inc/e107.git
synced 2025-07-26 09:20:28 +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()
|
function sc_download_cat_search()
|
||||||
{
|
{
|
||||||
$tp = e107::getParser();
|
$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 .= '<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' />
|
$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' />
|
<input type='hidden' name='r' value='0' />
|
||||||
@@ -1043,13 +1043,13 @@ class download_shortcodes extends e_shortcode
|
|||||||
|
|
||||||
return $text;
|
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'>
|
<div class='input-group'>
|
||||||
<input class='tbox form-control search-query' type='text' name='q' size='30' value='' placeholder=\"".LAN_SEARCH."\" maxlength='50' />
|
<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>
|
<button class='btn btn-primary button' type='submit' name='s' value='1' />".LAN_GO."</button>
|
||||||
<input type='hidden' name='r' value='0' />
|
<input type='hidden' name='r' value='0' />
|
||||||
</div>
|
</div>
|
||||||
</form>";
|
</form>";*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -174,7 +174,7 @@ class forum_shortcodes extends e_shortcode
|
|||||||
|
|
||||||
// String candidate for USERLIST wrapper
|
// String candidate for USERLIST wrapper
|
||||||
return "
|
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'>
|
<div class='input-group'>
|
||||||
<input type='hidden' name='r' value='0' />
|
<input type='hidden' name='r' value='0' />
|
||||||
<input type='hidden' name='t' value='forum' />
|
<input type='hidden' name='t' value='forum' />
|
||||||
|
Reference in New Issue
Block a user