Buttons. Toolbar icons and generic "submit" style.
[koha-ffzg.git] / koha-tmpl / intranet-tmpl / prog / en / includes / sysprefs-admin-search.inc
index 681b396..f323b4b 100644 (file)
@@ -1,5 +1,6 @@
-<!-- Begin Stopwords 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 Stopwords 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() {
@@ -41,7 +42,7 @@ YAHOO.util.Event.onContentReady("header_search", function() {
         this.oAutoComp.formatResult = this.fnCustomFormatter;
 }
 });     //]]>
-</script><!-- /TMPL_IF -->
+</script><!-- /TMPL_IF --><!-- /TMPL_IF -->
 <div id="header_search">
        <div id="syspref_search" class="residentsearch">
        <p class="tip">System preference search:</p>
@@ -51,7 +52,8 @@ YAHOO.util.Event.onContentReady("header_search", function() {
         <input type="submit" name="ok" value="Search" />
     </form>
        </div>
-       <div id="circ_search" class="residentsearch">
+<!-- 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">
     <!-- TMPL_IF NAME="CircAutocompl" -->
@@ -68,21 +70,24 @@ 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" value="Submit"  class="form-submit" />
+                               <input type="submit" value="Submit"  class="submit" />
                </form>
        </div>
+       <!-- /TMPL_IF -->
                        <ul>
                        <li><a href="/cgi-bin/koha/admin/roadtype.pl#syspref_search">Search System Preferences</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 Stopwords Resident Search Box -->