Merge remote branch 'kc/new/bug_5586' into kcmaster
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / cataloguing / moveitem.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Attach an item to <!-- TMPL_VAR NAME="bibliotitle" escape="html" --></title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 </head>
5 <body>
6 <!-- TMPL_INCLUDE NAME="header.inc" -->
7 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
8 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/cataloging/addbooks.pl">Cataloging</a>  &rsaquo; Attach an item to <i><!-- TMPL_VAR NAME="bibliotitle" escape="html" --></i></div>
9 <div id="doc" class="yui-t7">
10
11 <!-- TMPL_IF NAME="error" -->
12     <div class="dialog alert">
13         <!-- TMPL_IF NAME="errornonewitem" -->ERROR: Unable to create the new item.<!-- /TMPL_IF -->
14         <!-- TMPL_IF NAME="errornoitem" -->ERROR: Unable to get the item.<!-- /TMPL_IF -->
15         <!-- TMPL_IF NAME="errornoitemnumber" -->ERROR: Unable to get the item number from this barcode.<!-- /TMPL_IF -->
16     </div>
17     <form action="/cgi-bin/koha/catalogue/MARCdetail.pl" method="post">
18         <input type="submit" value="OK" />
19         <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
20     </form>
21 <!-- TMPL_ELSE -->
22     <!-- TMPL_IF NAME="success" -->
23         <div class="dialog message">The item has successfully been attached to <!-- TMPL_INCLUDE NAME="biblio-default-view.inc" --><i><!-- TMPL_VAR NAME="bibliotitle" escape="html" --></i></a>.<!-- TMPL_IF name="BiblioDefaultViewmarc" -->
24         <form action="/cgi-bin/koha/catalogue/MARCdetail.pl" method="post">
25 <!-- TMPL_ELSIF NAME="BiblioDefaultViewlabeled_marc" -->
26         <form action="/cgi-bin/koha/catalogue/labeledMARCdetail.pl" method="post">
27 <!-- TMPL_ELSIF NAME="BiblioDefaultViewisbd" -->
28         <form action="/cgi-bin/koha/catalogue/ISBDdetail.pl" method="post">
29 <!-- TMPL_ELSE -->
30         <form action="/cgi-bin/koha/catalogue/detail.pl" method="post">
31 <!-- /TMPL_IF -->
32             <input type="submit"  class="approve" value="OK" />
33             <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
34         </form></div>
35
36     <!-- TMPL_ELSE -->
37         <!-- TMPL_IF NAME="missingparameter" -->
38         <form method="post" action="/cgi-bin/koha/cataloguing/moveitem.pl">
39             <!-- TMPL_IF NAME="missingbiblionumber" -->
40             <fieldset id="biblionumber_fieldset">
41                 <label for="biblionumber">Select the biblionumber to attach the item to</label>
42                     <div class="hint">Enter biblionumber:</div>
43                     <input type="text" name="biblionumber" id="biblionumber" class="focus" size="14" />
44                     <fieldset class="action"><input type="submit" value="Submit" /></fieldset>
45             </fieldset>
46             <!-- TMPL_ELSE -->
47             <input type="hidden" name="biblionumber" id="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
48             <!-- /TMPL_IF -->
49
50                 <!-- TMPL_IF NAME="missingbarcode" -->
51                 <h3>Attach an item<!-- TMPL_IF NAME="bibliotitle" --> to <i><!-- TMPL_VAR NAME="bibliotitle" escape="html" --></i><!-- /TMPL_IF --></h3>
52             <fieldset id="barcode_fieldset">
53                 <label for="barcode">Enter the barcode of the item to attach:</label>
54                     <p class="hint">The item you select will be moved to the target record.</p>
55                     <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" />
56                     <fieldset class="action"><input type="submit" value="Submit" /></fieldset>
57             </fieldset>
58             <!-- TMPL_ELSE -->
59             <input type="hidden" name="barcode" id="barcode" value="<!-- TMPL_VAR NAME="barcode" -->" />
60             <!-- /TMPL_IF -->
61
62         </form>
63         <!-- /TMPL_IF -->
64     <!-- /TMPL_IF -->
65 <!-- /TMPL_IF -->
66 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->