3.0.x : intranet results Removing missing features
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / catalogue / results.tmpl
index 098e86d..8185e0f 100644 (file)
@@ -4,6 +4,7 @@
 <script type="text/javascript" src="/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.highlight-3.js"></script>
 <script type="text/javascript">
 //<![CDATA[
+<!--TMPL_IF NAME="AmazonContent"-->
 // http://www.oreillynet.com/pub/a/javascript/2003/10/21/amazonhacks.html
 function verify_images() {
     $("img").each(function(i){
@@ -21,8 +22,7 @@ function verify_images() {
 $(window).load(function() {
     verify_images();
 });
-<!-- /TMPL_IF -->
-
+<!--/TMPL_IF-->
 var q_array = new Array();  // will hold search terms, if present
 
 $(document).ready(function() {
@@ -193,10 +193,6 @@ function yuiZ3950button() {
                 |
                 <a href="#" class="highlight_toggle" id="highlight_toggle_off">Unhighlight</a>
                 <a href="#" class="highlight_toggle" id="highlight_toggle_on">Highlight</a>
-                <!-- TMPL_IF NAME="CAN_user_reserveforothers" -->
-                  <input type="button" onclick="placeHold(); return false;" value="Place Hold"/>
-                <!-- /TMPL_IF -->
-                <input type="button" onclick="addToList(); return false;" value="Add to List"/>
             </div>
         </div>
     <!-- TMPL_IF NAME="stopwords_removed" --><div><p class="tip">Ignored the following common words: "<!-- TMPL_VAR NAME="stopwords_removed" -->"<p></div><!-- /TMPL_IF -->
@@ -349,33 +345,22 @@ function yuiZ3950button() {
                                         </a> <!-- TMPL_LOOP NAME="subtitle" --> , <!-- TMPL_VAR NAME="subfield" --> <!-- /TMPL_LOOP -->
 <!-- TMPL_IF name="volume" -->,<!-- TMPL_VAR name="volume" --><!-- /TMPL_IF --> <!-- TMPL_IF name="volumeddesc" -->, <!-- TMPL_VAR name="volumeddesc" --><!-- /TMPL_IF -->
                                 </p>
+                                                           <p>
+                                                           <!-- TMPL_UNLESS NAME="item-level_itypes" -->
+                                                           <!-- TMPL_UNLESS NAME="noItemTypeImages" --><!-- TMPL_IF name="imageurl" -->
+                                                           <img src="<!-- TMPL_VAR name="imageurl" -->" title="<!-- TMPL_VAR name="description" -->" style="float: left; margin: .1em;" alt="img" />
+                                                           <!-- /TMPL_IF --><!-- /TMPL_UNLESS -->
+                                                           <!-- /TMPL_UNLESS -->
+
+                                                               <!-- TMPL_IF NAME="author" -->
+                                                                       <a href="/cgi-bin/koha/catalogue/search.pl?q=au:<!-- TMPL_VAR NAME="author" ESCAPE="URL" -->" title="Search for this Author"><!-- TMPL_VAR NAME="author" --></a>
+                                                               <!-- TMPL_ELSE -->
+                                                                       &nbsp;
+                                                               <!-- /TMPL_IF -->
+
                                 <!-- TMPL_IF name="summary" -->
-                                        <!-- TMPL_IF NAME="author" -->
-                                            <a href="/cgi-bin/koha/catalogue/search.pl?q=au:<!-- TMPL_VAR NAME="author" ESCAPE="URL" -->" title="Search for this Author"><!-- TMPL_VAR NAME="author" --></a>
-                                        <!-- TMPL_ELSE -->
-                                            &nbsp;
-                                        <!-- /TMPL_IF -->
-                                    <p>
-                                    <!-- TMPL_UNLESS NAME="item-level_itypes" -->
-                                    <!-- TMPL_UNLESS NAME="noItemTypeImages" --><!-- TMPL_IF name="imageurl" -->
-                                    <img src="<!-- TMPL_VAR name="imageurl" -->" title="<!-- TMPL_VAR name="description" -->" style="float: left; margin: .1em;" alt="img" />
-                                    <!-- /TMPL_IF --><!-- /TMPL_UNLESS -->
-                                    <!-- /TMPL_UNLESS -->
                                     <!-- TMPL_VAR name="summary" --></p>
                                 <!-- TMPL_ELSE -->
-                                    <p>
-                                    <!-- TMPL_UNLESS NAME="item-level_itypes" -->
-                                    <!-- TMPL_UNLESS NAME="noItemTypeImages" --><!-- TMPL_IF name="imageurl" -->
-                                    <img src="<!-- TMPL_VAR name="imageurl" -->" title="<!-- TMPL_VAR name="description" -->" style="float: left; margin: .1em;" alt="img" />
-                                    <!-- /TMPL_IF --><!-- /TMPL_UNLESS -->
-                                    <!-- /TMPL_UNLESS -->
-
-                                        <!-- TMPL_IF NAME="author" -->
-                                            <a href="/cgi-bin/koha/catalogue/search.pl?q=au:<!-- TMPL_VAR NAME="author" ESCAPE="URL" -->" title="Search for this Author"><!-- TMPL_VAR NAME="author" --></a>
-                                        <!-- TMPL_ELSE -->
-                                            &nbsp;
-                                        <!-- /TMPL_IF -->
-                                        
                                         <!-- TMPL_IF name="publishercode" --><!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF -->
                                                                                <!-- TMPL_IF NAME="edition" -->Edition: <!-- TMPL_VAR NAME="edition" --><!-- /TMPL_IF -->
                                         Description: 
@@ -397,8 +382,7 @@ function yuiZ3950button() {
                                   <!-- /TMPL_LOOP -->
                                 </p>
                                 <!-- /TMPL_IF -->
-                                
-                                <!-- /TMPL_IF -->
+                            <!-- /TMPL_IF -->
                                   <!-- TMPL_IF NAME="norequests" -->
                                         No holds allowed
                                     <!-- TMPL_ELSE -->
@@ -456,7 +440,14 @@ function yuiZ3950button() {
                                         <!-- TMPL_IF NAME="location" --><!-- TMPL_VAR NAME="location" --><!-- /TMPL_IF -->
                                         <!-- TMPL_IF NAME="itemcallnumber" -->[<a href="/cgi-bin/koha/catalogue/search.pl?q=callnum:<!-- TMPL_VAR NAME="itemcallnumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="itemcallnumber" --></a>]<!-- /TMPL_IF -->
                                         <!-- TMPL_IF NAME="barcode" -->(<!-- TMPL_VAR NAME="barcode" -->)<!-- /TMPL_IF -->
-                                        (<!-- TMPL_VAR NAME="count" --><!-- TMPL_IF NAME="longoverdue" -->, <!-- TMPL_VAR NAME="longoverdue" --> long overdue<!-- /TMPL_IF -->) date due: <!-- TMPL_VAR NAME="due_date" --></li>
+                                        (<!-- TMPL_VAR NAME="count" --><!-- TMPL_IF NAME="longoverdue" -->, <!-- TMPL_VAR NAME="longoverdue" --> long overdue<!-- /TMPL_IF -->)
+                                        <!-- TMPL_IF NAME="date_due" --> 
+                                               date due: <!-- TMPL_VAR NAME="due_date" -->
+                                               <!-- TMPL_ELSIF NAME="reserved" -->
+                                                       On Hold
+                                               <!-- /TMPL_IF -->
+                                       </li>
+                                               
                                     <!-- /TMPL_LOOP --></ul>
                                     <!-- /TMPL_IF -->