Koha/koha-tmpl/intranet-tmpl/prog/en/modules/basket/downloadcart.tt
Jonathan Druart a3c0c92508
Bug 34478: Add missing CSRF token to POST forms
This is the result of
  % perl csrf_add_missing_csrf.pl

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:55:57 +01:00

40 lines
1.3 KiB
Text

[% USE raw %]
[% PROCESS 'i18n.inc' %]
[% INCLUDE 'doc-head-open.inc' %]
<title>[% FILTER collapse %]
[% t("Download cart") | html %] &rsaquo;
[% t("Koha") | html %]
[% END %]</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
<body style="padding:1em;" id="cart_downloadcart" class="cart">
[% IF ( format ) %]
<p>Your download should begin automatically.</p>
[% ELSE %]
<form method="post" action="/cgi-bin/koha/basket/downloadcart.pl">
[% INCLUDE 'csrf-token.inc' %]
<fieldset class="rows">
<legend>Download cart</legend>
<ol><li>
<label for="format">Format:</label>
<select name="format" id="format">
<option value="">-- Choose format --</option>
<option value="iso2709">MARC</option>
<option value="ris">RIS</option>
<option value="bibtex">BibTex</option>
[% FOREACH csv_profile IN csv_profiles %]
<option value="[% csv_profile.export_format_id | html %]">CSV - [% csv_profile.profile | html %]</option>
[% END %]
</select></li>
</ol>
</fieldset>
<fieldset class="action">
<input type="hidden" name="bib_list" value="[% bib_list | html %]" />
<input type="submit" name="save" class="btn btn-primary" value="Save" /> <a class="cancel close" href="#">Cancel</a>
</fieldset>
</form>
[% END %]
</body>
</html>