Fixing nomenclature and tmpl_process3.pl bugs
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / cataloguing / addbooks.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Cataloguing</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <script type="text/javascript">
5         $(document).ready(function() {
6         $('#header_search').tabs();
7  });
8 </script>
9 </head>
10 <body>
11 <!-- TMPL_INCLUDE NAME="header.inc" -->
12 <!-- TMPL_INCLUDE NAME="cataloging-search.inc" -->
13
14 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; Cataloguing</div>
15
16 <div id="doc" class="yui-t7">
17    
18    <div id="bd">
19         <div id="yui-main">
20         
21 <!-- TMPL_INCLUDE NAME="cataloging-toolbar.inc" -->
22         
23         <!-- TMPL_IF name="noitemsfound" -->
24                 No items found
25         <!-- /TMPL_IF -->
26
27 <!-- display the search results -->
28
29 <!-- TMPL_IF NAME="total"-->
30 <!-- TMPL_VAR NAME="total"--> Results found in catalogue.
31 <!-- TMPL_VAR name='pagination_bar'-->
32 <div class="searchresults">
33     <table>
34         <tr>
35             <th>Title</th>
36             <th>Location</th>
37             <th>&nbsp;</th>
38         </tr>
39     <!-- TMPL_LOOP NAME="resultsloop" -->
40         <!-- TMPL_IF name="even" -->
41             <tr class="highlight">
42         <!-- TMPL_ELSE -->
43             <tr>
44         <!-- /TMPL_IF -->
45             <td>
46                 <p>
47                     <!-- TMPL_VAR NAME="title" -->
48                 <!-- TMPL_VAR NAME="subtitle" -->
49                 <!-- TMPL_IF name="summary" -->
50                     <p><!-- TMPL_VAR name="summary" --></p>
51                 <!-- TMPL_ELSE -->
52                     <p>
53                         <!-- TMPL_IF NAME="author" -->
54                             <!-- TMPL_VAR NAME="author" -->
55                         <!-- TMPL_ELSE -->
56                             &nbsp;
57                         <!-- /TMPL_IF -->
58                         <!-- TMPL_IF name="publicationyear" --> - <!-- TMPL_VAR name="publicationyear" --><!-- /TMPL_IF -->
59                         <!-- TMPL_IF name="publishercode" -->- <!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF -->
60                         <!-- TMPL_IF name="place" --> ; <!-- TMPL_VAR name="place" --><!-- /TMPL_IF -->
61                         <!-- TMPL_IF name="pages" --> - <!-- TMPL_VAR name="pages" --><!-- /TMPL_IF -->
62                         <!-- TMPL_IF name="size" --> ; <!-- TMPL_VAR name="size" --><!-- /TMPL_IF -->
63                         <!-- TMPL_IF name="timestamp" --> <i>(modified on <!-- TMPL_VAR name="timestamp" -->)</i><!-- /TMPL_IF -->
64                     </p>
65                 <!-- /TMPL_IF -->
66                 </td>
67                 <td>
68                     <!-- TMPL_IF NAME="items_loop" -->
69                         <span class="available">
70                         <!-- TMPL_LOOP NAME="items_loop" -->
71                             <!-- TMPL_VAR NAME="count" --> <!-- TMPL_VAR NAME="branchname" -->
72                             <i>
73                         <!-- TMPL_IF name="location" --><!-- TMPL_VAR name="location" --><!-- /TMPL_IF -->
74                         <!-- TMPL_IF name="itemcallnumber" --><!-- TMPL_VAR name="itemcallnumber" --><!-- /TMPL_IF -->
75                             <!-- TMPL_IF name="classification" -->
76                             <a href="/cgi-bin/koha/catalogue/search.pl?q=callnum:<!-- TMPL_VAR NAME="classification" ESCAPE="URL" -->">
77                                 <!-- TMPL_VAR NAME="classification" -->
78                             </a>
79                         <!-- /TMPL_IF -->
80                         </i>
81                             <br />
82                         <!-- /TMPL_LOOP -->
83                         </span>
84                     <!-- /TMPL_IF -->
85                     <span class="unavailable">
86                         <!-- TMPL_IF NAME="onloancount" --> On loan (<!-- TMPL_VAR NAME="onloancount" -->),<br /> <!-- /TMPL_IF -->
87                         <!-- TMPL_IF NAME="wthdrawncount" --> Withdrawn (<!-- TMPL_VAR NAME="wthdrawncount" -->),<br /> <!-- /TMPL_IF -->
88                         <!-- TMPL_IF NAME="itemlostcount" --> Lost (<!-- TMPL_VAR NAME="itemlostcount" -->)<br /><!-- /TMPL_IF -->
89                         <!-- TMPL_IF NAME="orderedcount" --> On order (<!-- TMPL_VAR NAME="orderedcount" -->)<!-- /TMPL_IF -->
90                     </span>
91                 </td>
92                 <td>
93                     <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Edit biblio</a>
94                 </td>
95             </tr>
96     <!-- /TMPL_LOOP -->
97     </table>
98 </div>
99 <!-- TMPL_ELSE -->
100     <!-- TMPL_IF name='query'-->
101         <b>No Result found in catalogue.</b>
102         <!-- TMPL_IF NAME="error" -->
103             Error: <span class="error"><!-- TMPL_VAR NAME="error" --></span>
104         <!-- /TMPL_IF -->
105     <!-- /TMPL_IF -->
106 <!-- /TMPL_IF -->
107
108 <!-- TMPL_IF name='query'-->
109 <div id="searchresult-breeding">
110     <h3>Biblios in reservoir</h3>
111     <!-- TMPL_IF name="breeding_loop" -->
112         <table>
113             <tr>
114                 <th>Title</th>
115                 <th>ISBN</th>
116                 <th>coming from</th>
117                 <th>&nbsp;</th>
118                 <th>&nbsp;</th>
119             </tr>
120             <!-- TMPL_LOOP NAME="breeding_loop" -->
121             <!-- TMPL_IF NAME="toggle" --><tr><!-- TMPL_ELSE --><tr class="hilighted"><!-- /TMPL_IF -->
122                 <td><!-- TMPL_VAR NAME="title" -->
123                 <!-- TMPL_VAR NAME="author" --></td>
124                 <td><!-- TMPL_VAR NAME="isbn" --></td>
125                 <td><!-- TMPL_VAR NAME="file" --></td>
126                 <!-- TMPL_IF NAME="NOTMARC" -->
127                                     
128                 <!-- TMPL_ELSE -->
129                 <td><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?breedingid=<!-- TMPL_VAR NAME="id" -->">Add biblio</a></td>
130                 <!-- /TMPL_IF -->
131             </tr>
132             <!-- /TMPL_LOOP -->
133         </table>
134     <!-- TMPL_ELSE -->
135     <p>None</p>
136     <!-- /TMPL_IF -->
137 </div>
138 <!-- /TMPL_IF -->
139 </div>
140 </div>
141 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->