first go at moving templates to a modules/ dir
[koha_ffzg] / 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
5 <!-- TMPL_INCLUDE NAME="menus.inc" -->
6 <!-- TMPL_INCLUDE NAME="menu-catalogue.inc" -->
7
8         <h1>Koha &rsaquo; Catalogue Maintenance</h1>
9         <!-- TMPL_IF name="noitemsfound" -->
10                 No items found
11         <!-- /TMPL_IF -->
12         
13 <h3>Search Existing Records</h3>
14 <div id="addbooks_search">
15         <form name="search" action="addbooks.pl">
16                 <p>
17         <label for="q">Search the catalog: </label>
18         <input id="q" type="text"  size="25"   name="q" />
19         <input type="submit" value="search">
20         </p>
21         </form>
22 </div>
23 <div id="addbooks_add_without_search">
24         <!-- TMPL_IF NAME="NOTMARC" -->
25                 <form action="addbiblio.pl">
26                         <input type="submit" value="Add Record Without Search" />
27                 </form>
28         <!-- TMPL_ELSE -->
29                 <br />
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 <br />
53 <!-- TMPL_VAR NAME="total"--> Results found in catalogue.
54 <!-- TMPL_VAR name='pagination_bar'-->
55 <div class="searchresults">
56     <table>
57         <tr>
58             <th>Title</th>
59             <th>Location</th>
60             <th>&nbsp;</th>
61         </tr>
62     <!-- TMPL_LOOP NAME="resultsloop" -->
63         <!-- TMPL_IF name="even" -->
64             <tr class="highlight">
65         <!-- TMPL_ELSE -->
66             <tr>
67         <!-- /TMPL_IF -->
68             <td>
69                 <p>
70                     <!-- TMPL_VAR NAME="title" -->
71                 <!-- TMPL_VAR NAME="subtitle" -->
72                 <!-- TMPL_IF name="summary" -->
73                     <p><!-- TMPL_VAR name="summary" --></p>
74                 <!-- TMPL_ELSE -->
75                     <p>
76                         <!-- TMPL_IF NAME="author" -->
77                             <!-- TMPL_VAR NAME="author" -->
78                         <!-- TMPL_ELSE -->
79                             &nbsp;
80                         <!-- /TMPL_IF -->
81                         <!-- TMPL_IF name="publicationyear" --> - <!-- TMPL_VAR name="publicationyear" --><!-- /TMPL_IF -->
82                         <!-- TMPL_IF name="publishercode" -->- <!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF -->
83                         <!-- TMPL_IF name="place" --> ; <!-- TMPL_VAR name="place" --><!-- /TMPL_IF -->
84                         <!-- TMPL_IF name="pages" --> - <!-- TMPL_VAR name="pages" --><!-- /TMPL_IF -->
85                         <!-- TMPL_IF name="size" --> ; <!-- TMPL_VAR name="size" --><!-- /TMPL_IF -->
86                         <!-- TMPL_IF name="timestamp" --> <i>(modified on <!-- TMPL_VAR name="timestamp" -->)</i><!-- /TMPL_IF -->
87                     </p>
88                 <!-- /TMPL_IF -->
89                 </td>
90                 <td>
91                     <!-- TMPL_IF NAME="items_loop" -->
92                         <span class="available">
93                         <!-- TMPL_LOOP NAME="items_loop" -->
94                             <!-- TMPL_VAR NAME="count" --> <!-- TMPL_VAR NAME="branchname" -->
95                             <i>
96                         <!-- TMPL_IF name="location" --><!-- TMPL_VAR name="location" --><!-- /TMPL_IF -->
97                         <!-- TMPL_IF name="itemcallnumber" --><!-- TMPL_VAR name="itemcallnumber" --><!-- /TMPL_IF -->
98                             <!-- TMPL_IF name="classification" -->
99                             <a href="/cgi-bin/koha/catalogue/search.pl?q=callnum:<!-- TMPL_VAR NAME="classification" ESCAPE="URL" -->">
100                                 <!-- TMPL_VAR NAME="classification" -->
101                             </a>
102                         <!-- /TMPL_IF -->
103                         </i>
104                             <br />
105                         <!-- /TMPL_LOOP -->
106                         </span>
107                     <!-- /TMPL_IF -->
108                     <span class="unavailable">
109                         <!-- TMPL_IF NAME="onloancount" --> On loan (<!-- TMPL_VAR NAME="onloancount" -->),<br /> <!-- /TMPL_IF -->
110                         <!-- TMPL_IF NAME="wthdrawncount" --> Withdrawn (<!-- TMPL_VAR NAME="wthdrawncount" -->),<br /> <!-- /TMPL_IF -->
111                         <!-- TMPL_IF NAME="itemlostcount" --> Lost (<!-- TMPL_VAR NAME="itemlostcount" -->)<br /><!-- /TMPL_IF -->
112                         <!-- TMPL_IF NAME="orderedcount" --> On order (<!-- TMPL_VAR NAME="orderedcount" -->)<!-- /TMPL_IF -->
113                     </span>
114                 </td>
115                 <td>
116                     <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Edit biblio</a>
117                 </td>
118             </tr>
119     <!-- /TMPL_LOOP -->
120     </table>
121 </div>
122 <!-- TMPL_ELSE -->
123     <!-- TMPL_IF name='query'-->
124         <b>No Result found in catalogue.</b>
125         <!-- TMPL_IF NAME="error" -->
126             Error: <span class="error"><!-- TMPL_VAR NAME="error" --></span>
127         <!-- /TMPL_IF -->
128     <!-- /TMPL_IF -->
129 <!-- /TMPL_IF -->
130
131 <!-- TMPL_IF name='query'-->
132 <div id="searchresult-breeding">
133     <h3>Biblios in reservoir</h3>
134     <!-- TMPL_IF name="breeding_loop" -->
135         <table>
136             <tr>
137                 <th>Title</th>
138                 <th>ISBN</th>
139                 <th>coming from</th>
140                 <th>&nbsp;</th>
141                 <th>&nbsp;</th>
142             </tr>
143             <!-- TMPL_LOOP NAME="breeding_loop" -->
144             <!-- TMPL_IF NAME="toggle" --><tr><!-- TMPL_ELSE --><tr class="hilighted"><!-- /TMPL_IF -->
145                 <td><!-- TMPL_VAR NAME="title" -->
146                 <!-- TMPL_VAR NAME="author" --></td>
147                 <td><!-- TMPL_VAR NAME="isbn" --></td>
148                 <td><!-- TMPL_VAR NAME="file" --></td>
149                 <!-- TMPL_IF NAME="NOTMARC" -->
150                                     
151                 <!-- TMPL_ELSE -->
152                 <td><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?breedingid=<!-- TMPL_VAR NAME="id" -->">Add biblio</a></td>
153                 <!-- /TMPL_IF -->
154             </tr>
155             <!-- /TMPL_LOOP -->
156         </table>
157     <!-- TMPL_ELSE -->
158     <p>None</p>
159     <!-- /TMPL_IF -->
160 </div>
161 <!-- /TMPL_IF -->
162
163 <script type="text/JavaScript">
164     document.search.q.focus();
165 </script>
166
167 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->