View | Details | Raw Unified | Return to bug 6323
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt (-30 / +42 lines)
Lines 5-50 Link Here
5
<body>
5
<body>
6
[% INCLUDE 'header.inc' %]
6
[% INCLUDE 'header.inc' %]
7
[% INCLUDE 'cat-search.inc' %]
7
[% INCLUDE '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>[% bibliotitle |html %]</i></div>
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>[% bibliotitle |html %][% IF ( itemsloo.subtitle ) %][% itemsloo.subtitle %][% END %]</i></div>
9
<div id="doc" class="yui-t7">
9
<div id="doc" class="yui-t7">
10
10
11
[% BLOCK actions %]
12
                        [% IF ( BiblioDefaultViewmarc ) %]
13
                             <p>   <form action="/cgi-bin/koha/catalogue/MARCdetail.pl" method="post">
14
                        [% ELSIF ( BiblioDefaultViewlabeled_marc ) %]
15
                             <p>   <form action="/cgi-bin/koha/catalogue/labeledMARCdetail.pl" method="post">
16
                        [% ELSIF ( BiblioDefaultViewisbd ) %]
17
                             <p>   <form action="/cgi-bin/koha/catalogue/ISBDdetail.pl" method="post">
18
                        [% ELSE %]
19
                             <p>   <form action="/cgi-bin/koha/catalogue/detail.pl" method="post">
20
                        [% END %]
21
				<input type="submit" class="approve" value="OK" />
22
                                <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
23
                        </form>
24
                                <form method="get" action="/cgi-bin/koha/cataloguing/moveitem.pl?biblionumber=[% biblionumber %]"/>
25
                                <input type="submit" class="new" value="Try again with a different barcode"/>
26
                                <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
27
			    </p>
28
                        </form>
29
[% END %]
11
[% IF ( error ) %]
30
[% IF ( error ) %]
12
    <div class="dialog alert">
31
    <div class="dialog alert">
13
	[% IF ( errornonewitem ) %]ERROR: Unable to create the new item.[% END %]
32
		[% IF ( errornonewitem ) %]ERROR: Unable to create the new item.<p>
14
	[% IF ( errornoitem ) %]ERROR: Unable to get the item.[% END %]
33
			[% INCLUDE actions %]
15
	[% IF ( errornoitemnumber ) %]ERROR: Unable to get the item number from this barcode.[% END %]
34
	                </div>
16
    </div>
35
17
    <form action="/cgi-bin/koha/catalogue/MARCdetail.pl" method="post">
36
		[% END %]
18
	<input type="submit" value="OK" />
37
19
	<input type="hidden" name="biblionumber" value="[% biblionumber %]" />
38
		[% IF ( errornoitem ) %]ERROR: Unable to get the item.<p>
20
    </form>
39
			[% INCLUDE actions %]
21
[% ELSE %]
40
	                </div>
22
    [% IF ( success ) %]
41
23
	<div class="dialog message">The item has successfully been attached to [% INCLUDE 'biblio-default-view.inc' %]<i>[% bibliotitle |html %]</i></a>.[% IF ( BiblioDefaultViewmarc ) %]
42
		[% END %]
24
	<form action="/cgi-bin/koha/catalogue/MARCdetail.pl" method="post">
43
25
[% ELSIF ( BiblioDefaultViewlabeled_marc ) %]
44
		[% IF ( errornoitemnumber ) %]ERROR: Unable to get the item number from this barcode.<p>
26
	<form action="/cgi-bin/koha/catalogue/labeledMARCdetail.pl" method="post">
45
			[% INCLUDE actions %]
27
[% ELSIF ( BiblioDefaultViewisbd ) %]
46
	                </div>
28
	<form action="/cgi-bin/koha/catalogue/ISBDdetail.pl" method="post">
47
		[% END %]
29
[% ELSE %]
30
	<form method="link" action="/cgi-bin/koha/cataloguing/moveitem.pl?biblionumber=[% biblionumber %]"/>
31
[% END %]
32
	    <input type="submit" class="attachanother" value="Attach Another Item"/>
33
	    <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
34
	</form>
35
	<form action="/cgi-bin/koha/catalogue/detail.pl" method="post">
36
	    <input type="submit"  class="approve" value="OK" />
37
	    <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
38
	</form>
39
</div>
40
48
49
	[% ELSE %]
50
	    [% IF ( success ) %]
51
			<div class="dialog message">The item has successfully been attached to [% INCLUDE 'biblio-default-view.inc' %]<i>[% bibliotitle |html %]</i></a>.
52
			[% INCLUDE actions %]
53
	                </div>
41
    [% ELSE %]
54
    [% ELSE %]
42
	[% IF ( missingparameter ) %]
55
	[% IF ( missingparameter ) %]
43
	<form method="post" action="/cgi-bin/koha/cataloguing/moveitem.pl">
56
	<form method="post" action="/cgi-bin/koha/cataloguing/moveitem.pl">
44
	    [% IF ( missingbiblionumber ) %]
57
	    [% IF ( missingbiblionumber ) %]
45
	    <fieldset id="biblionumber_fieldset">
58
	    <fieldset id="biblionumber_fieldset">
46
		<label for="biblionumber">Select the biblionumber to attach the item to</label>
59
		<label for="biblionumber">Select the biblionumber to attach the item to</label>
47
		    <div class="hint">Enter biblionumber:</div>
60
			<div class="hint">Enter biblionumber:</div>
48
		    <input type="text" name="biblionumber" id="biblionumber" class="focus" size="14" />
61
		    <input type="text" name="biblionumber" id="biblionumber" class="focus" size="14" />
49
		    <fieldset class="action"><input type="submit" value="Submit" /></fieldset>
62
		    <fieldset class="action"><input type="submit" value="Submit" /></fieldset>
50
	    </fieldset>
63
	    </fieldset>
51
- 

Return to bug 6323