]> git.koha-community.org Git - koha.git/blob - koha-tmpl/intranet-tmpl/default/en/shelves.tmpl
Adding a new case when =duplicate to allow duplication of a biblio
[koha.git] / koha-tmpl / intranet-tmpl / default / en / shelves.tmpl
1 <!-- TMPL_INCLUDE Name="cat-top.inc" -->
2
3 <!-- TMPL_IF Name="viewshelf" -->
4 <form>
5     <table border="0" cellpadding="2" cellspacing="0" align="center">
6                 <tr>
7                         <th colspan="4" bgcolor="<!-- TMPL_VAR NAME="headerbackgroundcolor" -->">
8                                 <font color="white">Contents of <!-- TMPL_VAR NAME="shelfname" --></font>
9                         </th>
10                 </tr>
11                 <!-- TMPL_LOOP Name="itemsloop" -->
12                         <tr>
13                                 <td bgcolor="<!-- TMPL_VAR NAME="color" -->"><input type="checkbox" name="REM-<!-- TMPL_VAR NAME="itemnumber" -->"></td>
14                                 <td bgcolor="<!-- TMPL_VAR NAME="color" -->"><!-- TMPL_VAR NAME="barcode" --></td>
15                                 <td bgcolor="<!-- TMPL_VAR NAME="color" -->"><!-- TMPL_VAR NAME="title" --></td>
16                                 <td bgcolor="<!-- TMPL_VAR NAME="color" -->"><!-- TMPL_VAR NAME="author" --></td>
17                         </tr>
18                 <!-- /TMPL_LOOP -->
19         </table>
20         <br>
21         <a href="shelves.pl" class="button">Shelf list</a>
22         <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelfnumber" -->">
23         <input type="hidden" name="modifyshelfcontents" value="1">
24         <input type="hidden" name="viewshelf" value="<!-- TMPL_VAR NAME="shelfnumber" -->">
25         <input type="submit" value="Remove Selected Items" class="button">
26 </form>
27 <form>
28         <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelfnumber" -->">
29         <input type="hidden" name="modifyshelfcontents" value="1">
30         <input type="hidden" name="viewshelf" value="<!-- TMPL_VAR NAME="shelfnumber" -->">
31         <table>
32                 <tr>
33                         <td>
34                                 Add a book by barcode in <!-- TMPL_VAR NAME="shelfname" -->:
35                         </td>
36                         <td>
37                                 <input name="addbarcode">
38                                 <input type="hidden" name="modifyshelfcontents" value="1">
39                                 <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelfnumber" -->">
40                                 <input type="submit" value="Save" class="button">
41                         </td>
42                 </tr>
43         </table>
44 </form>
45 <!-- TMPL_ELSE -->
46         <!-- TMPL_IF Name="shelves" -->
47                 <!-- TMPL_IF Name="status1" -->
48                         <font color="red"><!-- TMPL_VAR NAME="string1" --></font><p>
49                 <!-- /TMPL_IF -->
50                 <!-- TMPL_LOOP Name="paramsloop" -->
51                         <!-- TMPL_IF Name="status" -->
52                                 <font color="red"><!-- TMPL_VAR NAME="string" --></font><p>
53                         <!-- /TMPL_IF -->
54                 <!-- /TMPL_LOOP -->
55                 <h1>Bookshelves</h1>
56                 <table border="0" cellpadding="7" align="center">
57                         <tr>
58                                 <td align="center" valign="bottom">
59                                         <form>
60                                                 <p>
61                                                         <a href="shelves.pl" class="button">Shelf list</a>
62                                                 </p>
63                                         </form>
64                                 </td>
65                                 <td align="center" valign="bottom">
66                                         <form method="post">
67                                         <input type="hidden" name="shelves" value="1">
68                                         <table border="0" cellpadding="0" cellspacing="0">
69                                                 <tr>
70                                                         <th bgcolor="<!-- TMPL_VAR NAME="headerbackgroundcolor" -->">
71                                                                 <font color="white">Select Shelves to Delete</font>
72                                                         </th>
73                                                 </tr>
74                                                 <!-- TMPL_LOOP Name="shelvesloop" -->
75                                                 <tr>
76                                                         <td bgcolor="<!-- TMPL_VAR NAME="color" -->">
77                                                                 <input type="checkbox" name="DEL-<!-- TMPL_VAR NAME="shelf" -->">
78                                                                 <!-- TMPL_VAR NAME="shelfname" --> (<!-- TMPL_VAR NAME="shelfbookcount" --> books)
79                                                         </td>
80                                                 </tr>
81                                                 <!-- /TMPL_LOOP -->
82                                         </table>
83                                         <p>
84                                                 <input type="submit" value="Delete Shelves" class="button"></form>
85                                         </p>
86                                 </td>
87                                 <td align="center" valign="bottom">
88                                         <form method="post">
89                                         <input type="hidden" name="shelves" value="1">
90                                         <table border="0" cellpadding="0" cellspacing="0">
91                                                 <tr>
92                                                         <th bgcolor="<!-- TMPL_VAR NAME="headerbackgroundcolor" -->">
93                                                                 <font color="white">Add Shelf</font>
94                                                         </th>
95                                                 </tr>
96                                                 <tr>
97                                                         <td>
98                                                                 <p><input name="addshelf" size="25"></p>
99                                                         </td>
100                                                 </tr>
101                                         </table>
102                                                                 <p><input type="submit" value="Add New Shelf" class="button"></p>
103                                         </form>
104                                 </td>
105                         </tr>
106                 </table>
107
108         <!-- TMPL_ELSE -->
109                 <center>
110                 <table border="0" cellpadding="4" cellspacing="0">
111                         <tr>
112                                 <td bgcolor="<!-- TMPL_VAR NAME="headerbackgroundcolor" -->">
113                                         <table border="0" cellpadding="5" cellspacing="0" width="100%">
114                                                 <tr>
115                                                         <th bgcolor="<!-- TMPL_VAR NAME="headerbackgroundcolor" -->">
116                                                                 <font color="white">Shelf List</font>
117                                                         </th>
118                                                 </tr>
119                                         </table>
120                                 </td>
121                         </tr>
122                         <!-- TMPL_LOOP Name="shelvesloop" -->
123                         <tr>
124                                 <td bgcolor="<!-- TMPL_VAR NAME="color" -->">
125                                         <a href="shelves.pl?viewshelf=<!-- TMPL_VAR NAME="shelf" -->">
126                                                 <!-- TMPL_VAR NAME="shelfname" -->(<!-- TMPL_VAR NAME="shelfbookcount" --> books)
127                                         </a>
128                                 </td>
129                         </tr>
130                         <!-- /TMPL_LOOP -->
131                 </table>
132                 <P>
133                         <a href="shelves.pl?shelves=1" class="button">Add or Remove Book Shelves</a>
134                 </p>
135         <!-- /TMPL_IF -->
136 <!-- /TMPL_IF -->
137 <!-- TMPL_INCLUDE Name="cat-bottom.inc" -->