|
Lines 266-271
Link Here
|
| 266 |
[% END %] |
266 |
[% END %] |
| 267 |
|
267 |
|
| 268 |
<form action="/cgi-bin/koha/reports/guided_reports.pl" id="reports_form" method="post"> |
268 |
<form action="/cgi-bin/koha/reports/guided_reports.pl" id="reports_form" method="post"> |
|
|
269 |
[% INCLUDE 'csrf-token.inc' %] |
| 269 |
<input type="hidden" name="phase" value="Delete Multiple" /> |
270 |
<input type="hidden" name="phase" value="Delete Multiple" /> |
| 270 |
<table id="table_reports"> |
271 |
<table id="table_reports"> |
| 271 |
<thead> |
272 |
<thead> |
|
Lines 514-519
Link Here
|
| 514 |
[% IF ( build2 ) %] |
515 |
[% IF ( build2 ) %] |
| 515 |
<h1>Build a report</h1> |
516 |
<h1>Build a report</h1> |
| 516 |
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="post"> |
517 |
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="post"> |
|
|
518 |
[% INCLUDE 'csrf-token.inc' %] |
| 517 |
<input type="hidden" name="area" value="[% area | html %]" /> |
519 |
<input type="hidden" name="area" value="[% area | html %]" /> |
| 518 |
<input type="hidden" name="public" value="[% public | html %]" /> |
520 |
<input type="hidden" name="public" value="[% public | html %]" /> |
| 519 |
<input type="hidden" name="cache_expiry" value="[% cache_expiry | html %]" /> |
521 |
<input type="hidden" name="cache_expiry" value="[% cache_expiry | html %]" /> |
|
Lines 545-550
Link Here
|
| 545 |
<p>Note: Be careful selecting when selecting columns. If your choice is too broad it could result in a very large report that will either not complete, or slow your system down.</p> |
547 |
<p>Note: Be careful selecting when selecting columns. If your choice is too broad it could result in a very large report that will either not complete, or slow your system down.</p> |
| 546 |
|
548 |
|
| 547 |
<form id="column_submit" action="/cgi-bin/koha/reports/guided_reports.pl" method="post"> |
549 |
<form id="column_submit" action="/cgi-bin/koha/reports/guided_reports.pl" method="post"> |
|
|
550 |
[% INCLUDE 'csrf-token.inc' %] |
| 548 |
<input type="hidden" name="area" value="[% area | html %]" /> |
551 |
<input type="hidden" name="area" value="[% area | html %]" /> |
| 549 |
<input type="hidden" name="type" value="[% type | html %]" /> |
552 |
<input type="hidden" name="type" value="[% type | html %]" /> |
| 550 |
<input type="hidden" name="public" value="[% public | html %]" /> |
553 |
<input type="hidden" name="public" value="[% public | html %]" /> |
|
Lines 597-602
Link Here
|
| 597 |
[% IF ( build4 ) %] |
600 |
[% IF ( build4 ) %] |
| 598 |
<h1>Build a report</h1> |
601 |
<h1>Build a report</h1> |
| 599 |
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="post" > |
602 |
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="post" > |
|
|
603 |
[% INCLUDE 'csrf-token.inc' %] |
| 600 |
<input type="hidden" name="area" value="[% area | html %]" /> |
604 |
<input type="hidden" name="area" value="[% area | html %]" /> |
| 601 |
<input type="hidden" name="type" value="[% type | html %]" /> |
605 |
<input type="hidden" name="type" value="[% type | html %]" /> |
| 602 |
<input type="hidden" name="column" value="[% column | html %]" /> |
606 |
<input type="hidden" name="column" value="[% column | html %]" /> |
|
Lines 685-690
Link Here
|
| 685 |
<h1>Build a report</h1> |
689 |
<h1>Build a report</h1> |
| 686 |
<h3>Step 5 of 6: Pick which columns to total</h3> |
690 |
<h3>Step 5 of 6: Pick which columns to total</h3> |
| 687 |
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="post"> |
691 |
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="post"> |
|
|
692 |
[% INCLUDE 'csrf-token.inc' %] |
| 688 |
<input type="hidden" name="area" value="[% area | html %]" /> |
693 |
<input type="hidden" name="area" value="[% area | html %]" /> |
| 689 |
<input type="hidden" name="type" value="[% type | html %]" /> |
694 |
<input type="hidden" name="type" value="[% type | html %]" /> |
| 690 |
<input type="hidden" name="column" value="[% column | html %]" /> |
695 |
<input type="hidden" name="column" value="[% column | html %]" /> |
|
Lines 723-728
Link Here
|
| 723 |
<h1>Build a report</h1> |
728 |
<h1>Build a report</h1> |
| 724 |
<h3>Step 6 of 6: Choose how you want the report ordered</h3> |
729 |
<h3>Step 6 of 6: Choose how you want the report ordered</h3> |
| 725 |
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="post"> |
730 |
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="post"> |
|
|
731 |
[% INCLUDE 'csrf-token.inc' %] |
| 726 |
<input type="hidden" name="area" value="[% area | html %]" /> |
732 |
<input type="hidden" name="area" value="[% area | html %]" /> |
| 727 |
<input type="hidden" name="type" value="[% type | html %]" /> |
733 |
<input type="hidden" name="type" value="[% type | html %]" /> |
| 728 |
<input type="hidden" name="column" value="[% column | html %]" /> |
734 |
<input type="hidden" name="column" value="[% column | html %]" /> |
|
Lines 765-770
Link Here
|
| 765 |
</p> |
771 |
</p> |
| 766 |
|
772 |
|
| 767 |
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="post"> |
773 |
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="post"> |
|
|
774 |
[% INCLUDE 'csrf-token.inc' %] |
| 768 |
<input type="hidden" name="sql" value="[% sql | html %]" /> |
775 |
<input type="hidden" name="sql" value="[% sql | html %]" /> |
| 769 |
<input type="hidden" name="type" value="[% type | html %]" /> |
776 |
<input type="hidden" name="type" value="[% type | html %]" /> |
| 770 |
<input type="hidden" name="public" value="[% public | html %]" /> |
777 |
<input type="hidden" name="public" value="[% public | html %]" /> |
|
Lines 778-783
Link Here
|
| 778 |
|
785 |
|
| 779 |
[% IF ( save ) %] |
786 |
[% IF ( save ) %] |
| 780 |
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="post" id="sql_report_form"> |
787 |
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="post" id="sql_report_form"> |
|
|
788 |
[% INCLUDE 'csrf-token.inc' %] |
| 781 |
<input type="hidden" name="sql" value="[% sql | html %]" /> |
789 |
<input type="hidden" name="sql" value="[% sql | html %]" /> |
| 782 |
<input type="hidden" name="type" value="[% type | html %]" /> |
790 |
<input type="hidden" name="type" value="[% type | html %]" /> |
| 783 |
<input type="hidden" name="area" value="[% area | html %]" /> |
791 |
<input type="hidden" name="area" value="[% area | html %]" /> |
|
Lines 933-938
Link Here
|
| 933 |
[% IF ( execute ) %] |
941 |
[% IF ( execute ) %] |
| 934 |
[% UNLESS ( errors ) %] |
942 |
[% UNLESS ( errors ) %] |
| 935 |
<form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/tools/batch_record_modification.pl" id="batch_record_modification" target="_blank"> |
943 |
<form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/tools/batch_record_modification.pl" id="batch_record_modification" target="_blank"> |
|
|
944 |
[% INCLUDE 'csrf-token.inc' %] |
| 936 |
<input type="hidden" name="recordtype" value="biblio" /> |
945 |
<input type="hidden" name="recordtype" value="biblio" /> |
| 937 |
<input type="hidden" name="op" value="list" /> |
946 |
<input type="hidden" name="op" value="list" /> |
| 938 |
[% # Preserve the whitespace of the following textarea in order to format the values correctly %] |
947 |
[% # Preserve the whitespace of the following textarea in order to format the values correctly %] |
|
Lines 942-947
Link Here
|
| 942 |
</form> |
951 |
</form> |
| 943 |
|
952 |
|
| 944 |
<form method="POST" action="/cgi-bin/koha/tools/batch_delete_records.pl" id="batch_record_deletion" target="_blank"> |
953 |
<form method="POST" action="/cgi-bin/koha/tools/batch_delete_records.pl" id="batch_record_deletion" target="_blank"> |
|
|
954 |
[% INCLUDE 'csrf-token.inc' %] |
| 945 |
<input type="hidden" name="recordtype" value="biblio" /> |
955 |
<input type="hidden" name="recordtype" value="biblio" /> |
| 946 |
<input type="hidden" name="op" value="list" /> |
956 |
<input type="hidden" name="op" value="list" /> |
| 947 |
[% # Preserve the whitespace of the following textarea in order to format the values correctly %] |
957 |
[% # Preserve the whitespace of the following textarea in order to format the values correctly %] |
|
Lines 951-956
Link Here
|
| 951 |
</form> |
961 |
</form> |
| 952 |
|
962 |
|
| 953 |
<form method="POST" action="/cgi-bin/koha/tools/batchMod.pl" id="batch_item_modification" target="_blank"> |
963 |
<form method="POST" action="/cgi-bin/koha/tools/batchMod.pl" id="batch_item_modification" target="_blank"> |
|
|
964 |
[% INCLUDE 'csrf-token.inc' %] |
| 954 |
<input type="hidden" name="op" value="show" /> |
965 |
<input type="hidden" name="op" value="show" /> |
| 955 |
[% FOREACH result IN results %] |
966 |
[% FOREACH result IN results %] |
| 956 |
[% FOREACH cells IN result.cells %] |
967 |
[% FOREACH cells IN result.cells %] |
|
Lines 966-971
Link Here
|
| 966 |
</form> |
977 |
</form> |
| 967 |
|
978 |
|
| 968 |
<form method="POST" action="/cgi-bin/koha/tools/batchMod.pl" id="batch_item_deletion" target="_blank"> |
979 |
<form method="POST" action="/cgi-bin/koha/tools/batchMod.pl" id="batch_item_deletion" target="_blank"> |
|
|
980 |
[% INCLUDE 'csrf-token.inc' %] |
| 969 |
<input type="hidden" name="op" value="show" /> |
981 |
<input type="hidden" name="op" value="show" /> |
| 970 |
<input type="hidden" name="del" value="1" /> |
982 |
<input type="hidden" name="del" value="1" /> |
| 971 |
[% FOREACH result IN results %] |
983 |
[% FOREACH result IN results %] |
|
Lines 996-1001
Link Here
|
| 996 |
</form> |
1008 |
</form> |
| 997 |
|
1009 |
|
| 998 |
<form method="POST" action="/cgi-bin/koha/tools/modborrowers.pl" id="batch_patron_modification" target="_blank"> |
1010 |
<form method="POST" action="/cgi-bin/koha/tools/modborrowers.pl" id="batch_patron_modification" target="_blank"> |
|
|
1011 |
[% INCLUDE 'csrf-token.inc' %] |
| 999 |
<input type="hidden" name="op" value="show" /> |
1012 |
<input type="hidden" name="op" value="show" /> |
| 1000 |
[% # Preserve the whitespace of the following textarea in order to format the values correctly %] |
1013 |
[% # Preserve the whitespace of the following textarea in order to format the values correctly %] |
| 1001 |
<textarea style="display:none" name="cardnumberlist" id="cardnumberlist"> |
1014 |
<textarea style="display:none" name="cardnumberlist" id="cardnumberlist"> |
|
Lines 1201-1206
Link Here
|
| 1201 |
[% IF ( create ) %] |
1214 |
[% IF ( create ) %] |
| 1202 |
<h1>Create from SQL</h1> |
1215 |
<h1>Create from SQL</h1> |
| 1203 |
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="post" id="sql_report_form"> |
1216 |
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="post" id="sql_report_form"> |
|
|
1217 |
[% INCLUDE 'csrf-token.inc' %] |
| 1204 |
<fieldset class="rows"> |
1218 |
<fieldset class="rows"> |
| 1205 |
<legend>Create report from SQL</legend> |
1219 |
<legend>Create report from SQL</legend> |
| 1206 |
<ol> |
1220 |
<ol> |
|
Lines 1319-1324
Link Here
|
| 1319 |
|
1333 |
|
| 1320 |
[% IF ( editsql ) %] |
1334 |
[% IF ( editsql ) %] |
| 1321 |
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="post" id="sql_report_form"> |
1335 |
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="post" id="sql_report_form"> |
|
|
1336 |
[% INCLUDE 'csrf-token.inc' %] |
| 1322 |
<input type="hidden" name="id" value="[% id | html %]"/> |
1337 |
<input type="hidden" name="id" value="[% id | html %]"/> |
| 1323 |
<fieldset class="rows"> |
1338 |
<fieldset class="rows"> |
| 1324 |
<legend><h1>Edit SQL report</h1></legend> |
1339 |
<legend><h1>Edit SQL report</h1></legend> |
|
Lines 1385-1390
Link Here
|
| 1385 |
|
1400 |
|
| 1386 |
[% IF ( errors ) %] |
1401 |
[% IF ( errors ) %] |
| 1387 |
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="post"> |
1402 |
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="post"> |
|
|
1403 |
[% INCLUDE 'csrf-token.inc' %] |
| 1388 |
<div class="dialog alert"> |
1404 |
<div class="dialog alert"> |
| 1389 |
<strong>The following error was encountered:</strong><br /> |
1405 |
<strong>The following error was encountered:</strong><br /> |
| 1390 |
[% FOREACH error IN errors %] |
1406 |
[% FOREACH error IN errors %] |