Code cleaning :
[koha.git] / 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     </tr>
55     <!-- TMPL_LOOP NAME="resultsloop" -->
56         <tr>
57             <td>
58                 <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
59                     <!-- TMPL_VAR NAME="title" -->
60                 </a>
61                 <!-- TMPL_IF name="summary" -->
62                     <p><!-- TMPL_VAR name="summary" --></p>
63                 <!-- TMPL_ELSE -->
64                     <p>
65                         <!-- TMPL_IF NAME="author" -->
66                             <!-- TMPL_VAR NAME="author" -->
67                         <!-- TMPL_ELSE -->
68                             &nbsp;
69                         <!-- /TMPL_IF -->
70                         <!-- TMPL_IF name="publicationyear" --> - <!-- TMPL_VAR name="publicationyear" --><!-- /TMPL_IF -->
71                         <!-- TMPL_IF name="publishercode" -->- <!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF -->
72                         <!-- TMPL_IF name="place" --> ; <!-- TMPL_VAR name="place" --><!-- /TMPL_IF -->
73                         <!-- TMPL_IF name="pages" --> - <!-- TMPL_VAR name="pages" --><!-- /TMPL_IF -->
74                         <!-- TMPL_IF name="notes" --> : <!-- TMPL_VAR name="notes" --><!-- /TMPL_IF -->
75                         <!-- TMPL_IF name="size" --> ; <!-- TMPL_VAR name="size" --><!-- /TMPL_IF -->
76                         <!-- TMPL_IF name="timestamp" --> <i>(modified on <!-- TMPL_VAR name="timestamp" -->)</i><!-- /TMPL_IF -->
77                     </p>
78                 <!-- /TMPL_IF -->
79 </tr>
80     <!-- /TMPL_LOOP -->
81     </table>
82 </div>
83 <!-- TMPL_ELSE -->
84     <b>No Result found in catalogue.</b>
85     <!-- TMPL_IF NAME="error" -->
86         Error: <span class="error"><!-- TMPL_VAR NAME="error" --></span>
87     <!-- /TMPL_IF -->
88 <!-- /TMPL_IF -->
89
90 <div id="searchresult-breeding">
91     <h2>Biblios in reservoir</h2>
92     <!-- TMPL_IF name="breeding_loop" -->
93         <table>
94             <tr>
95                 <th>Title</th>
96                 <th>ISBN</th>
97                 <th>coming from</th>
98                 <th>&nbsp;</th>
99                 <th>&nbsp;</th>
100             </tr>
101             <!-- TMPL_LOOP NAME="breeding_loop" -->
102             <!-- TMPL_IF NAME="toggle" --><tr><!-- TMPL_ELSE --><tr class="hilighted"><!-- /TMPL_IF -->
103                 <td><!-- TMPL_VAR NAME="title" -->
104                 <!-- TMPL_VAR NAME="author" --></td>
105                 <td><!-- TMPL_VAR NAME="isbn" --></td>
106                 <td><!-- TMPL_VAR NAME="file" --></td>
107                 <!-- TMPL_IF NAME="NOTMARC" -->
108                                     
109                 <!-- TMPL_ELSE -->
110                 <td><a href="addbiblio.pl?breedingid=<!-- TMPL_VAR NAME="id" -->">Add biblio</a></td>
111                 <!-- /TMPL_IF -->
112             </tr>
113             <!-- /TMPL_LOOP -->
114         </table>
115     <!-- TMPL_ELSE -->
116     <p>None</p>
117     <!-- /TMPL_IF -->
118 </div>
119 <script type="text/JavaScript">
120     document.search.q.focus();
121 </script>
122
123 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->