fix to the new input param
[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="doc3" class="yui-t2">
17    
18    <div id="bd">
19         <div id="yui-main">
20         <div class="yui-b">
21
22         <!-- TMPL_IF name="noitemsfound" -->
23                 No items found
24         <!-- /TMPL_IF -->
25         
26 <div id="addbooks_add_without_search">
27         <!-- TMPL_IF NAME="NOTMARC" -->
28                 <form action="addbiblio.pl">
29                         <input type="submit" value="Add Record Without Search" />
30                 </form>
31         <!-- TMPL_ELSE -->
32                 <form name="f" action="addbiblio.pl" method="post">
33                 <h3>Create a Blank Bibliographic Record</h3>
34                 <p>
35                         <label for="frameworkcode">Choose a Framework:</label>
36                         <select name="frameworkcode" id="frameworkcode">
37                                 <option value="">Default</option>
38                                 <!-- TMPL_LOOP NAME="frameworkcodeloop" -->
39                                         <option value="<!-- TMPL_VAR NAME="value" -->">
40                                                 <!-- TMPL_VAR NAME="frameworktext" -->
41                                         </option>
42                                 <!-- /TMPL_LOOP -->
43                         </select>
44                         <input type="submit" value="Add Record Without Search" />
45                 </p>
46                 </form>
47                         <!-- /TMPL_IF -->
48 </div>
49
50
51 <!-- display the search results -->
52
53 <!-- TMPL_IF NAME="total"-->
54 <!-- TMPL_VAR NAME="total"--> Results found in catalogue.
55 <!-- TMPL_VAR name='pagination_bar'-->
56 <div class="searchresults">
57     <table>
58         <tr>
59             <th>Title</th>
60             <th>Location</th>
61             <th>&nbsp;</th>
62         </tr>
63     <!-- TMPL_LOOP NAME="resultsloop" -->
64         <!-- TMPL_IF name="even" -->
65             <tr class="highlight">
66         <!-- TMPL_ELSE -->
67             <tr>
68         <!-- /TMPL_IF -->
69             <td>
70                 <p>
71                     <!-- TMPL_VAR NAME="title" -->
72                 <!-- TMPL_VAR NAME="subtitle" -->
73                 <!-- TMPL_IF name="summary" -->
74                     <p><!-- TMPL_VAR name="summary" --></p>
75                 <!-- TMPL_ELSE -->
76                     <p>
77                         <!-- TMPL_IF NAME="author" -->
78                             <!-- TMPL_VAR NAME="author" -->
79                         <!-- TMPL_ELSE -->
80                             &nbsp;
81                         <!-- /TMPL_IF -->
82                         <!-- TMPL_IF name="publicationyear" --> - <!-- TMPL_VAR name="publicationyear" --><!-- /TMPL_IF -->
83                         <!-- TMPL_IF name="publishercode" -->- <!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF -->
84                         <!-- TMPL_IF name="place" --> ; <!-- TMPL_VAR name="place" --><!-- /TMPL_IF -->
85                         <!-- TMPL_IF name="pages" --> - <!-- TMPL_VAR name="pages" --><!-- /TMPL_IF -->
86                         <!-- TMPL_IF name="size" --> ; <!-- TMPL_VAR name="size" --><!-- /TMPL_IF -->
87                         <!-- TMPL_IF name="timestamp" --> <i>(modified on <!-- TMPL_VAR name="timestamp" -->)</i><!-- /TMPL_IF -->
88                     </p>
89                 <!-- /TMPL_IF -->
90                 </td>
91                 <td>
92                     <!-- TMPL_IF NAME="items_loop" -->
93                         <span class="available">
94                         <!-- TMPL_LOOP NAME="items_loop" -->
95                             <!-- TMPL_VAR NAME="count" --> <!-- TMPL_VAR NAME="branchname" -->
96                             <i>
97                         <!-- TMPL_IF name="location" --><!-- TMPL_VAR name="location" --><!-- /TMPL_IF -->
98                         <!-- TMPL_IF name="itemcallnumber" --><!-- TMPL_VAR name="itemcallnumber" --><!-- /TMPL_IF -->
99                             <!-- TMPL_IF name="classification" -->
100                             <a href="/cgi-bin/koha/catalogue/search.pl?q=callnum:<!-- TMPL_VAR NAME="classification" ESCAPE="URL" -->">
101                                 <!-- TMPL_VAR NAME="classification" -->
102                             </a>
103                         <!-- /TMPL_IF -->
104                         </i>
105                             <br />
106                         <!-- /TMPL_LOOP -->
107                         </span>
108                     <!-- /TMPL_IF -->
109                     <span class="unavailable">
110                         <!-- TMPL_IF NAME="onloancount" --> On loan (<!-- TMPL_VAR NAME="onloancount" -->),<br /> <!-- /TMPL_IF -->
111                         <!-- TMPL_IF NAME="wthdrawncount" --> Withdrawn (<!-- TMPL_VAR NAME="wthdrawncount" -->),<br /> <!-- /TMPL_IF -->
112                         <!-- TMPL_IF NAME="itemlostcount" --> Lost (<!-- TMPL_VAR NAME="itemlostcount" -->)<br /><!-- /TMPL_IF -->
113                         <!-- TMPL_IF NAME="orderedcount" --> On order (<!-- TMPL_VAR NAME="orderedcount" -->)<!-- /TMPL_IF -->
114                     </span>
115                 </td>
116                 <td>
117                     <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Edit biblio</a>
118                 </td>
119             </tr>
120     <!-- /TMPL_LOOP -->
121     </table>
122 </div>
123 <!-- TMPL_ELSE -->
124     <!-- TMPL_IF name='query'-->
125         <b>No Result found in catalogue.</b>
126         <!-- TMPL_IF NAME="error" -->
127             Error: <span class="error"><!-- TMPL_VAR NAME="error" --></span>
128         <!-- /TMPL_IF -->
129     <!-- /TMPL_IF -->
130 <!-- /TMPL_IF -->
131
132 <!-- TMPL_IF name='query'-->
133 <div id="searchresult-breeding">
134     <h3>Biblios in reservoir</h3>
135     <!-- TMPL_IF name="breeding_loop" -->
136         <table>
137             <tr>
138                 <th>Title</th>
139                 <th>ISBN</th>
140                 <th>coming from</th>
141                 <th>&nbsp;</th>
142                 <th>&nbsp;</th>
143             </tr>
144             <!-- TMPL_LOOP NAME="breeding_loop" -->
145             <!-- TMPL_IF NAME="toggle" --><tr><!-- TMPL_ELSE --><tr class="hilighted"><!-- /TMPL_IF -->
146                 <td><!-- TMPL_VAR NAME="title" -->
147                 <!-- TMPL_VAR NAME="author" --></td>
148                 <td><!-- TMPL_VAR NAME="isbn" --></td>
149                 <td><!-- TMPL_VAR NAME="file" --></td>
150                 <!-- TMPL_IF NAME="NOTMARC" -->
151                                     
152                 <!-- TMPL_ELSE -->
153                 <td><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?breedingid=<!-- TMPL_VAR NAME="id" -->">Add biblio</a></td>
154                 <!-- /TMPL_IF -->
155             </tr>
156             <!-- /TMPL_LOOP -->
157         </table>
158     <!-- TMPL_ELSE -->
159     <p>None</p>
160     <!-- /TMPL_IF -->
161 </div>
162 <!-- /TMPL_IF -->
163
164 </div>
165 </div>
166 </div>
167 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->