bug 3093: Enhance placing of holds in the staff interface.
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / virtualshelves / addbybiblionumber.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Add to List</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <style type="text/css">
5    #custom-doc { width:34.62em;*width:33.78em;min-width:450px; margin:auto; margin-top: .4em;text-align:left; } 
6    </style>
7 </head>
8 <body>
9
10 <div id="custom-doc" class="yui-t7">
11    <div id="bd">
12
13 <!-- TMPL_UNLESS NAME="biblioloop" -->
14   <h3>Add 
15     <i><!-- TMPL_VAR NAME="title" escape="html" --></i>
16     <!-- TMPL_IF NAME="author" -->
17         by <!-- TMPL_VAR NAME="author" -->
18     <!-- /TMPL_IF --> to a list
19   </h3>
20 <!-- TMPL_ELSE -->
21   <h3>Add to a list:</h3>
22   <h4>
23     <ul>
24       <!-- TMPL_LOOP NAME="biblioloop" -->
25         <li>
26           <i><!-- TMPL_VAR NAME="title" escape="html" --></i>
27              <!-- TMPL_IF NAME="author" -->
28                by <!-- TMPL_VAR NAME="author" -->
29              <!-- /TMPL_IF -->
30         </li>
31       <!-- /TMPL_LOOP -->    
32     </ul>
33   </h4>
34 <!-- /TMPL_UNLESS -->
35
36 <!-- TMPL_IF NAME="CGIvirtualshelves" --><form name="f1" method="post" action="/cgi-bin/koha/virtualshelves/addbybiblionumber.pl">
37     <!-- TMPL_UNLESS NAME="biblionumbers" -->
38       <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
39     <!-- TMPL_ELSE -->
40       <input type="hidden" name="biblionumbers" value="<!-- TMPL_VAR NAME="biblionumbers" -->" />
41     <!-- /TMPL_UNLESS -->
42     <fieldset class="rows">
43     <legend>Select an existing list</legend>
44     <ol>
45         <li><label>Choose list</label><!-- TMPL_VAR NAME="CGIvirtualshelves" --></li>
46     </ol>
47     <!-- TMPL_UNLESS NAME="biblionumbers" -->
48       <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
49     <!-- TMPL_ELSE -->
50       <input type="hidden" name="biblionumbers" value="<!-- TMPL_VAR NAME="biblionumbers" -->" />
51     <!-- /TMPL_UNLESS -->
52     <fieldset class="action"><input type="submit" value="Save" class="submit" /></fieldset>
53         </fieldset>
54 </form>
55 <h4>...or...</h4><!-- /TMPL_IF -->
56
57 <form name="f2" method="post" action="/cgi-bin/koha/virtualshelves/addbybiblionumber.pl">
58     <fieldset class="rows"><legend>Add to a new list:</legend>
59         <ol><li>
60             <label for="newvirtualshelf">
61                 List name:
62             </label>
63             <!-- TMPL_UNLESS NAME="biblionumbers" -->
64                           <input type="hidden" name="biblionumber" id="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
65             <!-- TMPL_ELSE -->
66                           <input type="hidden" name="biblionumbers" id="biblionumbers" value="<!-- TMPL_VAR NAME="biblionumbers" -->" />
67             <!-- /TMPL_UNLESS -->
68             <input type="text" name="newvirtualshelf" id="newvirtualshelf" size="40" />
69         </li>
70         <li>
71             <label for="category">Category:</label>
72             <select name="category" id="category">
73                 <option value="1">Private</option>
74                 <option value="2">Public</option>
75                                 <option value="3">Free</option>
76             </select>
77         </li></ol>
78     <fieldset class="action"><input type="submit" value="Save" class="submit" /></fieldset> </fieldset>
79 </form>
80
81 </div>
82
83 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->