Fixing some call number and item type display issues. Still need item type images...
[srvgit] / koha-tmpl / opac-tmpl / prog / en / modules / opac-detail.tmpl
index fe25014..d6461b8 100755 (executable)
@@ -18,7 +18,7 @@
 <body>
 <!--TMPL_INCLUDE NAME="masthead.inc" -->
 
-<div id="doc3" class="yui-t1">
+<!-- TMPL_IF NAME="OpacNav" --><div id="doc3" class="yui-t1"><!-- TMPL_ELSE --><div id="doc3" class="yui-t7"><!-- /TMPL_IF -->
    <div id="bd">
        <div id="yui-main">
        <div class="yui-b"><div class="yui-ge">
@@ -28,9 +28,9 @@
     <!-- TMPL_IF NAME="AmazonContent" -->
        <div id="bookcover"> <!-- TMPL_IF NAME="isbn" -->
         <a href="http://www.amazon.com/gp/reader/<!-- TMPL_VAR NAME="isbn" -->/ref=sib_dp_pt/002-7879865-0184864#reader-link">
-            <img border="0" src="http://images.amazon.com/images/P/<!-- TMPL_VAR NAME="isbn" -->.01._PIdp-schmooS,TopRight,7,-26_SCMZZZZZZZ_.jpg" alt="Book Cover Image" />
+            <img border="0" src="http://images.amazon.com/images/P/<!-- TMPL_VAR NAME="isbn" -->.01._PIdp-schmooS,TopRight,7,-26_SCMZZZZZZZ_.jpg" alt="Cover Image" />
         </a><!-- TMPL_ELSE -->
-        <img border="0" src="http://g-images.amazon.com/images/G/01/x-site/icons/no-img-sm.gif" alt="Book Cover Image" />
+        <img border="0" src="http://g-images.amazon.com/images/G/01/x-site/icons/no-img-sm.gif" alt="Cover Image" />
         <!-- /TMPL_IF --></div>
 <!-- /TMPL_IF -->
     <h1><!-- TMPL_VAR NAME="title" --> <!-- TMPL_IF NAME="subtitle" --> <span class="subtitle"><!-- TMPL_VAR NAME="subtitle" --></span><!-- /TMPL_IF --></h1>
 
     </p>
     <!-- /TMPL_IF -->
+
+   <!-- TMPL_IF name="MARCSERIES" -->
+    <p><span class="label">Series:</span>
+            <!-- TMPL_LOOP NAME="MARCSERIES" -->
+            <!-- TMPL_LOOP NAME="MARCSERIES_SUBFIELDS_LOOP" -->
+ <a href="/cgi-bin/koha/opac-search.pl?q=series:<!-- TMPL_VAR NAME
+    ="value"-->"><!-- TMPL_VAR NAME="value" --></a>
+                <!-- /TMPL_LOOP -->
+            <!-- /TMPL_LOOP -->
+    </p>
+    <!-- /TMPL_IF -->
+
     <!-- TMPL_IF name="editionstatement" -->
     <p><span class="label">Edition statement:</span><!-- TMPL_VAR name="editionstatement" --><!-- TMPL_IF name="editionresponsibility" -->/<!-- TMPL_VAR name="editionresponsibility" --><!-- /TMPL_IF--></p>
     <!-- /TMPL_IF -->
     <!-- /TMPL_IF -->
        
        <!-- TMPL_IF NAME="pages" --><p><span class="label">Physical details:</span> <!-- TMPL_VAR NAME="pages" --> <!-- TMPL_VAR NAME="illus" --> <!-- TMPL_VAR NAME="size" --></p><!-- /TMPL_IF -->
-
+    <!-- COinS / OpenURL -->
+    <!-- TMPL_IF NAME="ocoins_format" -->
+    <span class="Z3988" title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3A<!-- TMPL_VAR NAME="ocoins_format" -->&rft.au=<!-- TMPL_VAR NAME="author" -->&rft.btitle=<!-- TMPL_VAR NAME="title" -->&rft.date=<!-- TMPL_VAR NAME="publicationyear" -->&rft.tpages=<!-- TMPL_VAR NAME="size" -->&rft.isbn=<!-- TMPL_VAR NAME=isbn -->&rft.aucorp=&rft.place=<!-- TMPL_VAR NAME="place" -->&rft.pub=<!-- TMPL_VAR NAME="publisher" -->&rft.edition=<!-- TMPL_VAR NAME="edition" -->&rft.series=<!-- TMPL_VAR NAME="series" -->&rft.genre="></span><!-- /TMPL_IF -->
     <!-- TMPL_IF name="isbn" -->
-    <p><span class="label">ISBN: </span><!-- TMPL_VAR NAME="isbn" --></p>
+    <!-- unAPI <abbr/> tag -->
+    <p><span class="label">ISBN: </span><abbr class="unapi-id" title="koha:isbn:<!-- TMPL_VAR NAME="isbn" -->"><!-- TMPL_VAR NAME="isbn" --></abbr></a>
     <!-- /TMPL_IF -->
     <!-- TMPL_IF name="issn" -->
     <p><span class="label">ISSN:</span><!-- TMPL_VAR NAME="issn" --></p>
         <!-- /TMPL_IF -->
     </p>
     <!-- TMPL_IF name="MARCURLS" -->
-       <!-- TMPL_IF NAME="count" -->
        <p><span class="label">Online Resources:</span>
     <ul>    <!-- TMPL_LOOP name="MARCURLS" -->
                <li><!-- TMPL_IF NAME="part" --><!-- TMPL_VAR NAME="part" -->
             <!-- /TMPL_LOOP --></ul>
     </p>
     <!-- /TMPL_IF -->
-    <!-- /TMPL_IF -->
 </div>
 </div>
 
 <!-- TMPL_UNLESS NAME="norequests" -->
     <!-- TMPL_UNLESS name="bi_notforloan" -->
         <!-- TMPL_IF NAME="RequestOnOpac" -->
-            <li><a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
+            <li><a class="reserve" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
             Place Reserve
             </a></li>
         <!-- /TMPL_IF -->
     <!-- /TMPL_UNLESS -->
 <!-- /TMPL_UNLESS -->
-       
-
-        <li><a href="/cgi-bin/koha/opac-detailprint.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" onclick="Dopop('opac-detailprint.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->'); return false;">
+        <li><a class="print" href="/cgi-bin/koha/opac-detailprint.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" onclick="Dopop('opac-detailprint.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->'); return false;">
             Print
         </a></li>
 <!-- TMPL_IF name="virtualshelves" -->
     <!-- TMPL_IF NAME="loggedinusername" -->
-        <li><a href="/cgi-bin/koha/opac-addbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" onclick="Dopop('opac-addbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->'); return false;">
-            Add to My Book List
+        <li><a class="addtoshelf" href="/cgi-bin/koha/opac-addbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" onclick="Dopop('opac-addbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->'); return false;">
+            Save to Your Lists
         </a></li>
     <!-- /TMPL_IF -->
 <!-- /TMPL_IF -->
-        <li><a href="#" onclick="addRecord('<!-- TMPL_VAR NAME="biblionumber" -->'); return false;">
-            Add to My Book Bag
-        </a></li>
+        <!-- TMPL_IF NAME="opacbookbag" --><li><a class="addtocart" href="#" onclick="addRecord('<!-- TMPL_VAR NAME="biblionumber" -->'); return false;">
+            Add to Your Cart
+        </a></li><!-- /TMPL_IF -->
 </ul>
+               <div id="export">
+               <form method="get" action="/cgi-bin/koha/opac-export.pl">
+               <label for="format">Save Record:</label>
+           <select name="format" id="format">
+               <option value="">-- Choose Format --</option>
+        <option value="mods">MODS (XML)</option>
+        <option value="dc">Dublin Core (XML)</option>
+        <option value="marcxml">MARCXML</option>
+        <option value="marc8">MARC (non-Unicode/MARC-8)</option>
+        <option value="utf8">MARC (Unicode/UTF-8)</option>    </select><input type="hidden" name="op" value="export" /><input type="hidden" name="bib" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
+<input type="submit" name="save" value="Go" /></form></div>
 </div>
 </div>
 
        <li> <a class="external" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
             MARC View
         </a></li>
+       <li></li>
 </ul>
 
 <div id="holdings" class="tabs-container">
     <table>
         <tr>
             <th>Item type</th>
-            <th>Collection</th>
             <th>Location</th>
             <th>Status</th>
             <th>Date Due</th>
                        <th>Last Seen</th>
-            <th>Volume</th>
+            <!-- TMPL_IF NAME="serial" --><th>Copy / Vol</th>
+            <th>Published</th><!-- /TMPL_IF -->
         </tr>
         <!-- TMPL_LOOP NAME="ITEM_RESULTS" -->
         <tr>
-            <td><!-- TMPL_VAR NAME="description" --></td>
-            <td><!-- TMPL_VAR NAME="ccode" --></td>
+            <td><!-- TMPL_IF NAME="imageurl" --><img src="<!-- TMPL_VAR NAME="imageurl" -->" title="<!-- TMPL_VAR name="description" -->" alt="<!-- TMPL_VAR NAME="description" -->" /><!-- /TMPL_IF --> <!-- TMPL_VAR name="description" -->
+                    </td>
             <td><!-- TMPL_VAR NAME="branchname" --> <!-- TMPL_VAR name="location" --> <!-- TMPL_IF NAME="itemcallnumber" --> <!-- TMPL_VAR NAME="itemcallnumber" --><!-- /TMPL_IF --></td>
             <td><!-- TMPL_IF name="bi_notforloan" -->
                     Not for loan
                 <!-- TMPL_ELSE -->
                     <!-- TMPL_IF name="datedue" -->
-                    On issue
+                    On loan
                     <!-- TMPL_ELSE -->
                         <!-- TMPL_IF name="notforloan" -->
                             <!-- TMPL_VAR name="notforloan" -->
                 <!-- /TMPL_IF --></td>
             <td><!-- TMPL_VAR NAME="datedue" --></td>
                        <td><!-- TMPL_VAR NAME="datelastseen" --></td>
-            <td><!-- TMPL_VAR NAME="volumeddesc" --></td>
+            <!-- TMPL_IF NAME="serial" --><td><!-- TMPL_VAR NAME="serialseq" --> </td>
+                       <td><!-- TMPL_VAR NAME="publisheddate" --> </td><!-- /TMPL_IF -->
             <!-- TMPL_IF NAME="type" -->
             <td><a href="/cgi-bin/koha/maint/catmaintain.pl?type=fixitemtype&amp;bi=<!-- TMPL_VAR NAME="biblioitemnumber" -->&amp;item=<!-- TMPL_VAR NAME="itemtype" -->">Fix Itemtype</a></td>
             <!-- /TMPL_IF -->
     <h2>This is a serial subscription</h2>
     <p> (There are <!-- TMPL_VAR name="subscriptionsnumber" --> subscriptions associated with this title).</p>
     <!-- TMPL_LOOP Name="subscriptions" -->
+    <!-- TMPL_IF name="branchcode" --><h3>At branch: <!-- TMPL_VAR name="branchcode" --></h3><!-- /TMPL_IF -->
     <!-- TMPL_IF NAME="subscriptionnotes" --><p><!--TMPL_VAR NAME="subscriptionnotes"--> </p><!-- /TMPL_IF -->
     <!--TMPL_IF NAME="latestserials"-->
     <p> The three latest issues for this subscription:</p>
                 </td>
                 <td>    <!--TMPL_VAR Name="planneddate"-->
                 </td>
-                <td>    <!--TMPL_IF Name="status1"-->Waited
+                <td>    <!--TMPL_IF Name="status1"-->Awaited
                     <!--TMPL_ELSE -->
                     <!-- TMPL_IF Name="status2"-->Arrived
                     <!--TMPL_ELSE -->
         </table>
         <!-- /TMPL_IF -->
         <!-- /TMPL_LOOP -->
+               <p><a href="opac-serial-issues.pl?biblionumber=<!-- TMPl_VAR name="biblionumber" -->">More details</a></p>
     </div>
     <!-- /TMPL_IF -->
 
 <!-- TMPL_IF NAME="reviews" -->
         <!--TMPL_LOOP NAME="reviews"-->
             <h5>
-                Review by
+                Comment by
                 <!--TMPL_VAR NAME="title"-->
                 <!--TMPL_VAR NAME="firstname"-->
                 <!--TMPL_VAR NAME="surname"-->
 <!-- TMPL_IF NAME="AmazonContent" -->
 <!-- Amazon Reviews -->
 <div id="amazonreviews" class="tabs-container">
-        <h2>Amazon Reader Reviews:</h2>
         
     <!-- TMPL_LOOP NAME="BIBLIO_RESULTS" -->
     <!-- TMPL_IF NAME="isbn" -->
     <!-- /TMPL_LOOP -->
     <!-- TMPL_ELSE -->
 
-    <div class="content_set">
-    <p class="error"> Sorry, there are no reviews available for this title. </p>
-    </div>
+    <p> Sorry, there are no reviews available for this title. </p>
 
     <!-- /TMPL_IF -->
 </div> <!-- itemReviews -->
@@ -420,15 +443,14 @@ title="<!-- TMPL_VAR NAME="itype" -->" /><!-- /TMPL_IF -->
 <!-- /TMPL_LOOP -->
 
 </div>
+
 </div>
 </div>
 </div>
-       <div class="yui-b">
-<!--TMPL_INCLUDE NAME="navigation.inc" --></div>
+       <!-- TMPL_IF NAME="OpacNav" --><div class="yui-b"><!--TMPL_INCLUDE NAME="navigation.inc" --></div><!-- /TMPL_IF -->
        
        </div>
 
 <script language="javascript" type="text/javascript">function Dopop(link) { newin=window.open(link,'popup','width=500,height=400,toolbar=false,scrollbars=yes'); }</script>
-
 </div>
 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->