Corrrecting layout for opacuserlogin = 0. Fixes Bug 2228, "Wrong page design on opac...
[koha.git] / koha-tmpl / opac-tmpl / prog / en / modules / opac-addbybiblionumber.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog &rsaquo; Add to Your List
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 id="addtolist">
9 <div id="custom-doc" class="yui-t7">
10 <div class="container">
11 <!-- TMPL_UNLESS NAME="newshelf" --><!-- TMPL_IF NAME="multiple"-->
12     <h1>Add <!-- TMPL_VAR NAME="total"--> items to <!-- TMPL_IF NAME="singleshelf" --><em><!-- TMPL_VAR NAME="shelfname" --></em>: <!-- TMPL_ELSE -->a list:<!-- /TMPL_IF --></h1>
13 <!-- TMPL_ELSE -->
14         <h1>Add to <!-- TMPL_IF NAME="singleshelf" --><em><!-- TMPL_VAR NAME="shelfname" --></em><!-- TMPL_ELSE -->a list:<!-- /TMPL_IF --></h1>
15 <!-- /TMPL_IF -->
16      <ul> <!-- TMPL_LOOP NAME="biblios"-->
17            <li> <span class="title"><!-- TMPL_VAR NAME="title"--></span> 
18             <!-- TMPL_IF NAME="author"--><span class="author"> <!-- TMPL_VAR NAME="author"--> </span><!-- /TMPL_IF -->
19             </li>
20         <!-- /TMPL_LOOP -->
21 </ul>
22 <!-- TMPL_IF NAME="CGIvirtualshelves"-->
23 <form name="f1" action="/cgi-bin/koha/opac-addbybiblionumber.pl" method="post">
24     <fieldset class="rows"><legend>Select a List</legend>
25 <ol><li>    <label for="shelfnumber">Add to list:</label> <!-- TMPL_VAR NAME="CGIvirtualshelves" --></li></ol>
26  <!-- TMPL_LOOP NAME="biblios" --> <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" /><!-- /TMPL_LOOP -->
27     <input type="hidden" name="modifyshelfcontents" value="1" /></fieldset>
28     <fieldset class="action"><input type="submit" value="Save" class="submit" /> <a class="close cancel" href="#">Cancel</a></fieldset>
29 </form>
30 <p>...or...</p>
31 <!-- TMPL_ELSE -->
32 <!-- TMPL_IF NAME="singleshelf" -->
33 <form name="f1" action="/cgi-bin/koha/opac-addbybiblionumber.pl" method="post">
34 <!-- TMPL_LOOP NAME="biblios" --> <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->"><!-- /TMPL_LOOP -->
35         <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelfnumber" -->" />
36     <input type="hidden" name="modifyshelfcontents" value="1" /></fieldset>
37     <fieldset class="action"><input type="submit" value="Save" class="submit" /> <a class="close cancel" href="#">Cancel</a></fieldset>
38 </form>
39 <!-- /TMPL_IF -->
40 <!-- /TMPL_IF --><!-- /TMPL_UNLESS -->
41
42 <!-- TMPL_UNLESS NAME="singleshelf" --><form name="f2" method="post" action="/cgi-bin/koha/opac-addbybiblionumber.pl">
43 <fieldset class="rows">    <legend>Add to a New List:</legend>
44         <ol><li>
45             <label for="newvirtualshelf">
46                 List Name:
47             </label>
48             <input type="text" name="newvirtualshelf" id="newvirtualshelf" size="40" />
49         </li>
50          <li><label for="category">Category:</label>
51             <select name="category" id="category">
52                 <option value="1">Private</option>
53                 <option value="2">Public</option>
54             </select></li></ol></fieldset>
55  <!-- TMPL_LOOP NAME="biblios" --> <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" /><!-- /TMPL_LOOP -->
56     <fieldset class="action"><input type="submit" value="Save" class="submit" /> <a class="close cancel" href="#">Cancel</a></fieldset>
57 </form><!-- /TMPL_UNLESS -->
58
59 <p align="center">
60     <a href="#" class="close">close this window.</a>
61 </p>
62 </div></div>
63 </body>
64 </html>