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