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

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

Return to bug 6323