LiLi написал(а):
-------------------------------------------------------
> Добрый день.
> Простите, сможете поделиться кодом такой
> реализации размещения поиска одной строкой на
> главной странице?
Вот пример действующего кода на сайте ФБ ВМЕДА. Но его лучше анализировать в контексте работы сайта.
<form id="front_page_search_form" action="index.php" method="GET" name="b-custom-search__form">
<div class="b-custom-search__top">
<input type="hidden" value="com_irbis" name="option">
<input type="hidden" value="irbis" name="view">
<input type="hidden" value="115" name="Itemid">
<input type="hidden" value="set_static_req" name="task">
<input type="hidden" value="1" name="bl_id_string">
<input type="hidden" value="1" name="search_form_enable">
<input id="all" class="b-custom-search__input inputbox" type="text" name="all" autocomplete="off" size="70" placeholder="Введите текст запроса">
<input class="b-custom-search__button button" type="submit" value="Найти">
</div>
<div class="b-custom-search__params">
<input type="radio" id="e_catalog" name="bl_id_string" value="1" class="b-custom-search__radio">
<label for="e_catalog" class="b-custom-search__label">Электронный каталог</label>
<input type="radio" id="e_library" name="bl_id_string" value="10" class="b-custom-search__radio">
<label for="e_library" class="b-custom-search__label">Полнотекстовые ресурсы</label>
<a href="index.php?option=com_irbis&view=irbis&Itemid=115" class="b-custom-search__advanced">РАСШИРЕННЫЙ ПОИСК</a>
</div>
</form>