Overhaul to Koha's js-menu systems. New language-picker in the footer required more...
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / letters-search.inc
index ff102b5..b0eb78d 100644 (file)
@@ -1,5 +1,6 @@
-<!-- Begin Notices Resident Search Box -->
-<!-- TMPL_IF NAME="CircAutocompl" --><script type="text/javascript">
+
+<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl"><!-- TMPL_VAR NAME="LibraryName" --></a></h1><!-- Begin Notices Resident Search Box -->
+<!-- TMPL_IF NAME="CAN_user_circulate" --><!-- TMPL_IF NAME="CircAutocompl" --><script type="text/javascript">
 //<![CDATA[
 YAHOO.util.Event.onContentReady("header_search", function() {
     new function() {
@@ -42,15 +43,16 @@ YAHOO.util.Event.onContentReady("header_search", function() {
 }
 });    
 //]]>
-</script><!-- /TMPL_IF -->
+</script><!-- /TMPL_IF --><!-- /TMPL_IF -->
 <div id="header_search">
-       <div id="notices_search" class="residentsearch primary">
+       <div id="notices_search" class="residentsearch">
        <p class="tip">Search Existing Notices:</p>
 <form action="/cgi-bin/koha/tools/letter.pl" method="post">
                <input type="text" name="searchfield" size="40" value="" />
-                <input type="submit" name="Search" value="Search" />
+                <input type="submit" class="submit" name="search" value="Search" />
         </form>        
        </div>
+       <!-- TMPL_IF NAME="CAN_user_circulate" -->
        <div id="circ_search" class="residentsearch">
        <p class="tip">Enter patron card number or partial name:</p>
     <form action="/cgi-bin/koha/circ/circulation.pl" method="post">
@@ -68,21 +70,22 @@ YAHOO.util.Event.onContentReady("header_search", function() {
             <input id="findborrower" name="findborrower" size="40" class="focus" type="text" />
             <input name="branch" value="<!-- TMPL_VAR name="branch" -->" type="hidden" />
             <input name="printer" value="" type="hidden" />
-            <input value="Submit" type="submit" />
+            <input value="Submit" class="submit" type="submit" />
        <!-- /TMPL_IF -->
     </form>
-       </div>  
+       </div>  <!-- /TMPL_IF -->
+       <!-- TMPL_IF NAME="CAN_user_catalogue" -->
        <div id="catalog_search" class="residentsearch">
        <p class="tip">Enter search keywords:</p>
                <form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
                         <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="form-text" />
                                <input type="submit" name="op" value="Submit"  class="form-submit" />
                </form>
-       </div>
+       </div><!-- /TMPL_IF -->
                        <ul>
                        <li><a href="/cgi-bin/koha/admin/currency.pl#notices_search">Search Notices</a></li>
-                       <li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li>
-                       <li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the Catalog</a></li>
+                       <!-- TMPL_IF NAME="CAN_user_circulate" --><li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li><!-- /TMPL_IF -->
+                       <!-- TMPL_IF NAME="CAN_user_catalogue" --><li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the Catalog</a></li><!-- /TMPL_IF -->
                        </ul>   
 </div>
 <!-- End Notices Resident Search Box -->