-4 Removals
+7 Additions

Created by:phpboost

<div id="module-mini-search"# IF C_HIDDEN_WITH_SMALL_SCREENS # class="hidden-small-screens"# ENDIF #> <div role="search" id="module-mini-search"# IF C_HIDDEN_WITH_SMALL_SCREENS # class="hidden-small-screens"# ENDIF #>
<script> <script>
<!-- <!--
function check_search_mini_form_post() function check_search_mini_form_post()
{ {
var textSearched = document.getElementById('TxTMiniSearched').value; var textSearched = document.getElementById('TxTMiniSearched').value;
if (textSearched.length > 3) if (textSearched.length > 3)
{ {
textSearched = escape_xmlhttprequest(textSearched); textSearched = escape_xmlhttprequest(textSearched);
return true; return true;
} }
else else
{ {
alert('{WARNING_LENGTH_STRING_SEARCH}'); alert('{WARNING_LENGTH_STRING_SEARCH}');
return false; return false;
} }
} }
jQuery(document).ready(function() { jQuery(document).ready(function() {
jQuery('#search-token').val(TOKEN); jQuery('#search-token').val(TOKEN);
}); });
--> -->
</script> </script>
<form action="{U_FORM_VALID}" onsubmit="return check_search_mini_form_post();" method="post"> <form role="search" action="{U_FORM_VALID}" onsubmit="return check_search_mini_form_post();" method="post">
<div id="mini-search-form" class="input-element-button"> <div id="mini-search-form" class="input-element-button">
<input type="search" id="TxTMiniSearched" title="{L_SEARCH_TITLE}" name="q" value="{TEXT_SEARCHED}" placeholder="{L_SEARCH}..."> <input type="search" id="TxTMiniSearched" title="{L_YOUR_SEARCH}" name="q" value="{TEXT_SEARCHED}" placeholder="{L_SEARCH_TITLE}..." aria-labelledby="SearchButton">
<input type="hidden" id="search-token" name="token" value="{TOKEN}"> <input type="hidden" id="search-token" name="token" value="{TOKEN}">
<button type="submit" name="search_submit"><i class="fa fa-search"></i></button> <button id="SearchButton" class="submit" type="submit" name="search_submit"><i class="fa fa-search" aria-hidden="true"></i><span class="sr-only">{L_SEARCH}</span></button>
</div> </div>
# IF C_VERTICAL #<a href="{U_ADVANCED_SEARCH}" class="small">{L_ADVANCED_SEARCH}</a># ENDIF # # IF C_VERTICAL #<a href="{U_ADVANCED_SEARCH}" class="small">{L_ADVANCED_SEARCH}</a># ENDIF #
</form> </form>
</div> </div>
Editor
Original Text
Changed Text
Recommended videos