Difference between revisions of "Widget:Koha Search"

From TSAS Library
Jump to: navigation, search
Line 1: Line 1:
  <form name="searchform" method="get" action="<!--{$url|validate:url}-->" id="searchform" target="_blank">
<form class="form-inline centered" name="searchform" method="get" action="<!--{$url|validate:url}-->" id="searchform" target="_blank">
   <input id="transl1" name="q" type="text"><p>
   <label for="masthead_search">Search the</label>
   <select name="idx" id="masthead_search">
   <select class="form-control-lg" name="idx" id="masthead_search">
  <option value="kw">Keyword</option>
                                    <option value="">library catalog</option>
  <option value="ti">Title</option>
                                    <option value="ti">book titles</option>
  <option value="au">Author</option>
                                    <option value="au">authors</option>
  <option value="su">Subject</option>
                                    <option value="su">subjects</option>
  <option value="nb">ISBN</option>
                                    <option value="nb">ISBNs</option>
  <option value="se">Series</option>
                                    <option value="se">series</option>
  <option value="callnum">Call Number</option>
                                    <option value="callnum,phr">call numbers</option>
  </select>
                                </select>
   <input value="Search" id="searchsubmit" type="submit">
   <input type="text" class="form-control form-control-lg transl1" id="translControl1" placeholder="for...">
  </p></form>
  <button type="submit" class="btn btn-primary btn-lg" id="searchsubmit">Go</button>
</form>

Revision as of 14:45, 22 July 2017

<form class="form-inline centered" name="searchform" method="get" action="" id="searchform" target="_blank">

 
 <select class="form-control-lg" name="idx" id="masthead_search">
                                   <option value="">library catalog</option>
                                   <option value="ti">book titles</option>
                                   <option value="au">authors</option>
                                   <option value="su">subjects</option>
                                   <option value="nb">ISBNs</option>
                                   <option value="se">series</option>
                                   <option value="callnum,phr">call numbers</option>
                               </select>
 <input type="text" class="form-control form-control-lg transl1" id="translControl1" placeholder="for...">
 <button type="submit" class="btn btn-primary btn-lg" id="searchsubmit">Go</button>

</form>