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

(-)a/acqui/basketheader.pl (+3 lines)
Lines 141-146 if ( $op eq 'add_form' ) { Link Here
141
#End Edit
141
#End Edit
142
} elsif ( $op eq 'add_validate' ) {
142
} elsif ( $op eq 'add_validate' ) {
143
#we are confirming the changes, save the basket
143
#we are confirming the changes, save the basket
144
#we are checking CSRF Token.
145
    output_and_exit_if_error($input, $cookie, $template, { check => 'csrf_token' });
146
144
    if ( $is_an_edit ) {
147
    if ( $is_an_edit ) {
145
        ModBasketHeader(
148
        ModBasketHeader(
146
            $basketno,
149
            $basketno,
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketheader.tt (-2 / +2 lines)
Lines 50-62 Link Here
50
<div class="main container-fluid">
50
<div class="main container-fluid">
51
    <div class="row">
51
    <div class="row">
52
        <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
52
        <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
53
53
    [% INCLUDE 'blocking_errors.inc' %]
54
    [% IF ( add_form ) %]
54
    [% IF ( add_form ) %]
55
        [% IF ( basketno ) %]
55
        [% IF ( basketno ) %]
56
            <h1>Edit basket [% basketname | html %]</h1>
56
            <h1>Edit basket [% basketname | html %]</h1>
57
        [% ELSE %]<h1>Add a basket to [% booksellername | html %]</h1>
57
        [% ELSE %]<h1>Add a basket to [% booksellername | html %]</h1>
58
        [% END %]
58
        [% END %]
59
    <form name="Aform" action="[% script_name | html %]" method="post" class="validated">
59
    <form name="Aform" action="[% script_name | html %]" method="post" class="validated">
60
        [% INCLUDE 'csrf-token.inc' %]
60
        <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
61
        <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
61
        <fieldset class="rows">
62
        <fieldset class="rows">
62
            <ol>
63
            <ol>
63
- 

Return to bug 22990