3 [% PROCESS 'i18n.inc' %]
4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>[% FILTER collapse %]
6 [% t("Link to host record") | html %] ›
7 [% t("Cataloging") | html %] ›
10 [% INCLUDE 'doc-head-close.inc' %]
12 <body id="catalog_linkitem" class="catalog">
13 [% WRAPPER 'header.inc' %]
14 [% INCLUDE 'cat-search.inc' %]
17 [% WRAPPER 'sub-header.inc' %]
18 [% WRAPPER breadcrumbs %]
19 [% WRAPPER breadcrumb_item %]
20 <a href="/cgi-bin/koha/cataloguing/cataloging-home.pl">Cataloging</a>
22 [% WRAPPER breadcrumb_item bc_active= 1 %]
23 <span>Link a host record to [% bibliotitle | html %]</span>
25 [% END #/ WRAPPER breadcrumbs %]
26 [% END #/ WRAPPER sub-header.inc %]
28 <div class="container-fluid">
30 <div class="col-sm-6 col-sm-offset-3 col-md-6 col-md-offset-3">
32 <h1>Link a host record to [% bibliotitle | html %]</h1>
35 <div class="dialog alert">
36 [% IF ( errornomodbiblio ) %]ERROR: Unable to modify the bibliographic record.[% END %]
37 [% IF ( errornohostitemnumber ) %]ERROR: Unable to get the item number from this barcode.[% END %]
39 <form action="/cgi-bin/koha/catalogue/MARCdetail.pl" method="post">
40 <input type="submit" class="btn btn-primary" value="OK" />
41 <input type="hidden" name="biblionumber" value="[% biblionumber | html %]" />
45 <div class="dialog message">The item has successfully been linked to <em>[% bibliotitle | html %]</em>.</div>
46 <form action="/cgi-bin/koha/catalogue/MARCdetail.pl" method="post">
47 <input type="submit" class="btn btn-primary" value="OK" />
48 <input type="hidden" name="biblionumber" value="[% biblionumber | html %]" />
51 [% IF ( missingparameter ) %]
52 <form method="post" action="/cgi-bin/koha/cataloguing/linkitem.pl">
53 [% IF ( missingbiblionumber ) %]
54 <fieldset id="biblionumber_fieldset">
55 <label for="biblionumber_fieldset">Select the biblionumber to link the item to</label>
56 <div class="hint">Enter biblionumber:</div>
57 <input type="text" name="biblionumber" id="biblionumber" class="focus" size="14" />
60 <input type="hidden" name="biblionumber" id="biblionumber" value="[% biblionumber | html %]" />
63 [% IF ( missingbarcode ) %]
64 <fieldset id="barcode_fieldset">
65 <label for="barcode_fieldset">
66 [% IF (bibliotitle ) %]
67 <span>Select the host record to link to '[% bibliotitle | html %]'</span>
69 <span>Select the host record to link</span>
72 <div class="hint">Enter item barcode:</div>
73 <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" />
76 <input type="hidden" name="barcode" id="barcode" value="[% barcode | html %]" />
79 <input type="submit" class="btn btn-primary" value="Select" />
85 [% INCLUDE 'intranet-bottom.inc' %]