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