Lines 50-55
use C4::Koha;
Link Here
|
50 |
use Koha::Authorities; |
50 |
use Koha::Authorities; |
51 |
|
51 |
|
52 |
use Koha::Authority::Types; |
52 |
use Koha::Authority::Types; |
|
|
53 |
use Koha::Token; |
53 |
|
54 |
|
54 |
our ($tagslib); |
55 |
our ($tagslib); |
55 |
|
56 |
|
Lines 219-224
$template->param(
Link Here
|
219 |
authtypetext => $authority_types->find($authtypecode)->authtypetext, |
220 |
authtypetext => $authority_types->find($authtypecode)->authtypetext, |
220 |
authtypecode => $authtypecode, |
221 |
authtypecode => $authtypecode, |
221 |
authority_types => $authority_types, |
222 |
authority_types => $authority_types, |
|
|
223 |
csrf_token => Koha::Token->new->generate_csrf({ session_id => scalar $query->cookie('CGISESSID') }), |
222 |
); |
224 |
); |
223 |
|
225 |
|
224 |
$template->{VARS}->{marcflavour} = C4::Context->preference("marcflavour"); |
226 |
$template->{VARS}->{marcflavour} = C4::Context->preference("marcflavour"); |