mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Update download_shortcodes.php
This commit is contained in:
@@ -909,6 +909,7 @@ class download_shortcodes extends e_shortcode
|
|||||||
|
|
||||||
function sc_download_cat_search()
|
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_BASE."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' />
|
||||||
@@ -918,9 +919,11 @@ class download_shortcodes extends e_shortcode
|
|||||||
|
|
||||||
$text .= '
|
$text .= '
|
||||||
<span class="input-group-btn">
|
<span class="input-group-btn">
|
||||||
<button class="btn btn-default" type="submit" name="s" value="1">
|
<button class="btn btn-default" type="submit" name="s" value="1">';
|
||||||
<span class="glyphicon glyphicon-search"></span>
|
|
||||||
</button>
|
$text .= $tp->toIcon('glyphicon-search.glyph');
|
||||||
|
|
||||||
|
$text .= '</button>
|
||||||
</span>
|
</span>
|
||||||
</div><!-- /input-group -->
|
</div><!-- /input-group -->
|
||||||
</div></form>';
|
</div></form>';
|
||||||
|
Reference in New Issue
Block a user