1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-29 10:38:08 +01:00

Update download_shortcodes.php

This commit is contained in:
rica-carv 2016-04-16 22:43:35 +01:00
parent 4aba2f6149
commit 99bb24bc03

View File

@ -909,6 +909,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 .= '<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' />
@ -918,9 +919,11 @@ class download_shortcodes extends e_shortcode
$text .= '
<span class="input-group-btn">
<button class="btn btn-default" type="submit" name="s" value="1">
<span class="glyphicon glyphicon-search"></span>
</button>
<button class="btn btn-default" type="submit" name="s" value="1">';
$text .= $tp->toIcon('glyphicon-search.glyph');
$text .= '</button>
</span>
</div><!-- /input-group -->
</div></form>';