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