Modifications to enable YUI-Grids layout structure. Unfinished.
[koha-ffzg.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 <!-- TMPL_INCLUDE NAME="header.inc" -->
5 <!-- TMPL_INCLUDE NAME="menu-catalogue.inc" -->
6
7         <h1>Koha &rsaquo; Catalogue Maintenance</h1>
8         <!-- TMPL_IF name="noitemsfound" -->
9                 No items found
10         <!-- /TMPL_IF -->
11         
12 <h3>Search Existing Records</h3>
13 <div id="addbooks_search">
14         <form name="search" action="addbooks.pl">
15                 <p>
16         <label for="q">Search the catalog: </label>
17         <input id="q" type="text"  size="25"   name="q" />
18         <input type="submit" value="search" />
19         </p>
20         </form>
21 </div>
22 <div id="addbooks_add_without_search">
23         <!-- TMPL_IF NAME="NOTMARC" -->
24                 <form action="addbiblio.pl">
25                         <input type="submit" value="Add Record Without Search" />
26                 </form>
27         <!-- TMPL_ELSE -->
28                 <br />
29                 <form name="f" action="addbiblio.pl" method="post">
30                 <h3>Create a Blank Bibliographic Record</h3>
31                 <p>
32                         <label for="frameworkcode">Choose a Framework:</label>
33                         <select name="frameworkcode" id="frameworkcode">
34                                 <option value="">Default</option>
35                                 <!-- TMPL_LOOP NAME="frameworkcodeloop" -->
36                                         <option value="<!-- TMPL_VAR NAME="value" -->">
37                                                 <!-- TMPL_VAR NAME="frameworktext" -->
38                                         </option>
39                                 <!-- /TMPL_LOOP -->
40                         </select>
41                         <input type="submit" value="Add Record Without Search" />
42                 </p>
43                 </form>
44                         <!-- /TMPL_IF -->
45 </div>
46
47
48 <!-- display the search results -->
49
50 <!-- TMPL_IF NAME="total"-->
51 <br />
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
162 <script type="text/JavaScript">
163     document.search.q.focus();
164 </script>
165
166 </div>
167 </div>
168 </div>
169
170 <!-- TMPL_INCLUDE NAME="mainmenu.inc" -->
171 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->