4952c7d3a75e09ede45ea9be7bb580fbf0613a6d
[koha_gimpoz] / koha-tmpl / intranet-tmpl / prog / en / 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 <h2>Search Existing Records</h2>
14 <div id="addbooks_search">
15         <form name="search" action="addbooks.pl">
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         </form>
20 </div>
21 <div id="addbooks_add_without_search">
22         <!-- TMPL_IF NAME="NOTMARC" -->
23                 <form action="addbiblio.pl">
24                         <input type="submit" value="Add Record Without Search" />
25                 </form>
26         <!-- TMPL_ELSE -->
27                 <form name="f" action="addbiblio.pl" method="post">
28                 <h2>Create a Blank Bibliographic Record</h2>
29                 <p>
30                         <label for="frameworkcode">Choose a Framework:</label>
31                         <select name="frameworkcode" id="frameworkcode">
32                                 <option value="">Default</option>
33                                 <!-- TMPL_LOOP NAME="frameworkcodeloop" -->
34                                         <option value="<!-- TMPL_VAR NAME="value" -->">
35                                                 <!-- TMPL_VAR NAME="frameworktext" -->
36                                         </option>
37                                 <!-- /TMPL_LOOP -->
38                         </select>
39                         <input type="submit" value="Add Record Without Search" />
40                 </p>
41                 </form>
42                         <!-- /TMPL_IF -->
43 </div>
44
45
46 <!-- display the search results -->
47
48 <!-- TMPL_IF NAME="total"-->
49 <!-- TMPL_VAR NAME="total"--> Results found in catalogue.
50 <div class="searchresults">
51     <table>
52     <tr>
53        <th>Title</th>
54        <th>Author</th>
55        <th>publisher</th>
56        <th>Publication year</th>
57     </tr>
58     <!-- TMPL_LOOP NAME="resultsloop" -->
59         <tr>
60             <td>
61                 <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
62                     <!-- TMPL_VAR NAME="title" -->
63                 </a>
64                 <br />
65                 <small><!-- TMPL_VAR NAME="subtitle" --></small>
66             </td>
67             <td>
68                 <!-- TMPL_VAR NAME="author" -->
69             </td>
70             <td>
71                 <!-- TMPL_VAR NAME="publishercode" -->
72             </td>
73             <td>
74                 <!-- TMPL_VAR NAME="publicationyear" -->
75             </td>
76         </tr>
77     <!-- /TMPL_LOOP -->
78     </table>
79 </div>
80 <!-- TMPL_ELSE -->
81     <b>No Result found in catalogue.</b>
82     <!-- TMPL_IF NAME="error" -->
83         Error: <span class="error"><!-- TMPL_VAR NAME="error" --></span>
84     <!-- /TMPL_IF -->
85 <!-- /TMPL_IF -->
86
87 <div id="searchresult-breeding">
88     <h2>Biblios in reservoir</h2>
89     <!-- TMPL_IF name="breeding_loop" -->
90         <table>
91             <tr>
92                 <th>Title</th>
93                 <th>Author</th>
94                 <th>ISBN</th>
95                 <th>coming from</th>
96                 <th>&nbsp;</th>
97                 <th>&nbsp;</th>
98             </tr>
99             <!-- TMPL_LOOP NAME="breeding_loop" -->
100             <!-- TMPL_IF NAME="toggle" --><tr><!-- TMPL_ELSE --><tr class="hilighted"><!-- /TMPL_IF -->
101                 <td><!-- TMPL_VAR NAME="title" --></a>
102                 <td><!-- TMPL_VAR NAME="author" --></td>
103                 <td><!-- TMPL_VAR NAME="isbn" --></td>
104                 <td><!-- TMPL_VAR NAME="file" --></td>
105                 <!-- TMPL_IF NAME="NOTMARC" -->
106                                     
107                 <!-- TMPL_ELSE -->
108                 <td><a href="addbiblio.pl?breedingid=<!-- TMPL_VAR NAME="id" -->">Add biblio</a></td>
109                 <!-- /TMPL_IF -->
110             </tr>
111             <!-- /TMPL_LOOP -->
112         </table>
113     <!-- TMPL_ELSE -->
114     <p>None</p>
115     <!-- /TMPL_IF -->
116 </div>
117 <script type="text/JavaScript">
118     document.search.q.focus();
119 </script>
120
121 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->