Bug 34478: op =~ ^cud- everywhere

This is the result of
  perl op_must_start_with_cud.pl

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2023-12-12 11:21:07 +01:00
parent 4e1372b77c
commit 69fd7c026d
No known key found for this signature in database
GPG Key ID: A085E712BEF0E0F0
164 changed files with 323 additions and 323 deletions

View File

@ -25,7 +25,7 @@
<div class="btn-group">
<form action="/cgi-bin/koha/acqui/supplier.pl" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="delete" />
<input type="hidden" name="op" value="cud-delete" />
<input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
<button class="btn btn-default" id="deletesupplier" type="submit"><i class="fa fa-trash-can"></i> Delete vendor</button>
</form>

View File

@ -89,7 +89,7 @@
[% END %]
<label for="export_items_bundle_contents">Export items bundle contents</label> <input type="checkbox" name="export_items_bundle_contents" id="export_items_bundle_contents">
<label for="export_remove_fields">Don't export fields:</label> <input type="text" id="export_remove_fields" name="export_remove_fields" value="[% Koha.Preference('ExportRemoveFields') | html %]" title="Use for MARC exports" />
<input type="hidden" name="op-cud" value="export" />
<input type="hidden" name="op" value="cud-export" />
<input type="hidden" id="output_format" name="output_format" value="iso2709" />
<input type="hidden" id="dont_export_item" name="dont_export_item" value="0" />
<input type="hidden" id="record_type" name="record_type" value="bibs" />

View File

@ -227,7 +227,7 @@
<input type="hidden" id="cardnumber" name="cardnumber" value="[% patron.cardnumber | html %]" />
<input type="hidden" id="borrowernumber" name="borrowernumber" value="[% patron.borrowernumber | html %]" />
<button type="submit" class="btn btn-default btn-xs"><i class="fa fa-upload"></i> Upload photo</button>
<input name="op-cud" type="hidden" value="Upload" />
<input name="op" type="hidden" value="cud-Upload" />
[% IF ( patron.image ) %]
<a id="delpicture"
href="/cgi-bin/koha/tools/picture-upload.pl?op=Delete&amp;borrowernumber=[% patron.borrowernumber | html %]&amp;csrf_token=[% csrf_token | html %]"
@ -266,7 +266,7 @@
<input type="hidden" name="filetype" value="image" />
<input type="hidden" name="cardnumber" value="[% patron.cardnumber | html %]" />
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" />
<input name="op-cud" type="hidden" value="Upload" />
<input name="op" type="hidden" value="cud-Upload" />
</form>
</div>
<div class="dialog message" style="display:none" id="camera-error">

View File

@ -16,7 +16,7 @@
<input type="checkbox" id="date_received_today" name="date_received_today" />
</li>
</ol>
<input type="hidden" name="op-cud" value="gennext" />
<input type="hidden" name="op" value="cud-gennext" />
[%# subscriptionidlist is used from serials-collection, subscriptionid is used from serils-edit %]
<input type="hidden" name="subscriptionid" value="[% subscriptionidlist || subscriptionid | html %]" />

View File

@ -19,7 +19,7 @@
<a id="deleteshelf_toolbar" href="#">Delete list</a>
<form id="deleteshelf_toolbar_form" action="shelves.pl" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="delete">
<input type="hidden" name="op" value="cud-delete">
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]">
</form>
</li>

View File

@ -138,7 +138,7 @@
</div>
</div> <!-- /#searchheader -->
<input type="hidden" name="op-cud" value="import_records"/>
<input type="hidden" name="op" value="cud-import_records"/>
<input type="hidden" name="basketno" value="[% basketno | html %]" />
<input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
<input type="hidden" name="import_batch_id" value="[% import_batch_id | html %]" />

View File

@ -108,7 +108,7 @@
<div class="btn-group">
<form action="/cgi-bin/koha/acqui/basket.pl" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="email" />
<input type="hidden" name="op" value="cud-email" />
<input type="hidden" name="basketno" value="[% basketno | html %]" />
<button type="submit" class="btn btn-default" id="emailvendorbutton"><i class="fa-solid fa-envelope"></i> E-mail order</button>
</form>
@ -331,7 +331,7 @@
</div>
<input type="hidden" id="basketno" name="basketno" value="[% basketno | html %]" />
<input type="hidden" id="users_ids" name="users_ids" value="[% users_ids | html %]" />
<input type="hidden" id="op" name="op-cud" value="mod_users" />
<input type="hidden" id="op" name="op" value="cud-mod_users" />
</form>
</li> <!-- /#managedby -->
@ -363,7 +363,7 @@
</select>
<a id="library_entry_cancel" href="#" class="cancel">Cancel</a>
<input type="hidden" id="basketno" name="basketno" value="[% basketno | html %]" />
<input type="hidden" id="op" name="op-cud" value="mod_branch" />
<input type="hidden" id="op" name="op" value="cud-mod_branch" />
</form>
</div>
</li> <!-- #/managing_library_entry -->
@ -428,7 +428,7 @@
</select>
<a href="#" id="basket_group_cancel" class="cancel">Cancel</a>
<input type="hidden" id="basketno" value="[% basketno | html %]" name="basketno" />
<input type="hidden" value="mod_basket" name="op-cud" />
<input type="hidden" value="cud-mod_basket" name="op" />
<input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
</form>
</div>
@ -927,7 +927,7 @@
<div class="modal-body">
<textarea id="ordernotes" name="ordernotes" rows="3" cols="30" class="focus">[% ordernotes | html %]</textarea>
<input type="hidden" id="ordernumber" name="ordernumber" value="" />
<input type="hidden" name="op-cud" value="save" />
<input type="hidden" name="op" value="cud-save" />
<input type="hidden" id="type" name="type" value="" />
</div>
<div class="modal-footer">
@ -953,7 +953,7 @@
<input type="text" id="estimated_delivery_date" size="10" name="estimated_delivery_date" class="flatpickr" value="[% books_loo.estimated_delivery_date | html %]"/>
<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
<input type="hidden" id="date_ordernumber" name="ordernumber" value="" />
<input type="hidden" name="op-cud" value="save" />
<input type="hidden" name="op" value="cud-save" />
</div>
<div class="modal-footer">
<button type="submit" class="btn btn-default">Save</button>

View File

@ -233,7 +233,7 @@
[% IF ( basketgroupid ) %]
<input type="hidden" name="basketgroupid" value="[% basketgroupid | html %]" />
[% END %]
<input type="hidden" name="op-cud" value="attachbasket" />
<input type="hidden" name="op" value="cud-attachbasket" />
<input type="submit" class="btn btn-primary" value="Save" /> <a href="/cgi-bin/koha/acqui/basketgroup.pl?booksellerid=[% booksellerid | uri %]" class="cancel">Cancel</a>
</fieldset>
[% END %]

View File

@ -148,7 +148,7 @@
[% END %]
<fieldset class="action">
<input type="hidden" name="op-cud" value="add_validate" />
<input type="hidden" name="op" value="cud-add_validate" />
<input type="submit" class="btn btn-primary" value="Save" />
[% IF ( basketno ) %]
<a class="cancel" href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno | html %]">Cancel</a>

View File

@ -68,7 +68,7 @@
</legend>
<div id="orders_filters">
[% INCLUDE 'filter-orders.inc' %]
<input type="hidden" name="op-cud" value="select" />
<input type="hidden" name="op" value="cud-select" />
<input type="hidden" name="basketno" value="[% basket.basketno | html %]" />
<input type="hidden" name="ordernumbers" value="[% ordernumbers.join(',') | html %]" />
@ -177,7 +177,7 @@
</table>
</div>
<fieldset class="action">
<input type="hidden" name="op-cud" value="batch_edit" />
<input type="hidden" name="op" value="cud-batch_edit" />
<input type="hidden" name="basketno" value="[% basket.basketno | html %]" />
<button type="submit" class="btn btn-primary go_to_batch_edit">Next <i class="fa fa-fw fa-arrow-right"></i></button>
</fieldset>
@ -256,7 +256,7 @@
[% FOREACH ordernumber IN ordernumbers %]
<input type="hidden" name="ordernumber" value="[% ordernumber | html %]" />
[% END %]
<input type="hidden" name="op-cud" value="do_duplicate" />
<input type="hidden" name="op" value="cud-do_duplicate" />
<input type="hidden" name="basketno" value="[% basket.basketno | html %]" />
<!-- origquantityrec only here for javascript compatibility (additem.js needs it, useless here, useful when receiveing an order -->
<input id="origquantityrec" readonly="readonly" type="hidden" name="origquantityrec" value="1" />

View File

@ -94,7 +94,7 @@
<fieldset class="rows">
<legend>Upload new file</legend>
<ol>
<li><input type="hidden" name="op-cud" value="upload" />
<li><input type="hidden" name="op" value="cud-upload" />
<input type="hidden" name="invoiceid" value="[% invoiceid | html %]" />
<label for="description">Description:</label>
<input name="description" id="description" type="text" /></li>

View File

@ -137,7 +137,7 @@
</fieldset>
[% UNLESS readonly %]
<fieldset class="action">
<input type="hidden" name="op-cud" value="mod" />
<input type="hidden" name="op" value="cud-mod" />
<input type="hidden" name="invoiceid" value="[% invoiceid | html %]" />
<input type="submit" class="btn btn-primary" value="Save" />
[% IF CAN_user_acquisition_delete_invoices AND NOT orders_loop.size %]
@ -292,7 +292,7 @@
</fieldset>
[% UNLESS readonly %]
<fieldset class="action" id="submit_invoice_adjustment">
<input type="hidden" name="op-cud" value="mod_adj" />
<input type="hidden" name="op" value="cud-mod_adj" />
<input type="submit" class="btn btn-primary" value="Update adjustments" />
<a href="#" id="cancel_invoice_adjustment" class="toggle_invoice_adjustment cancel" style="display:none"><i class="fa fa-times"></i> Cancel</a>
</fieldset>

View File

@ -226,7 +226,7 @@
<input type="submit" class="btn btn-primary" value="Merge" />
</li>
</ol>
<input type="hidden" name="op-cud" value="mod" />
<input type="hidden" name="op" value="cud-mod" />
<input type="hidden" id="merge_invoiceid" name="invoiceid" value="" />
</fieldset> <!-- /.rows -->
</form> <!-- /#merge_invoice_form -->

View File

@ -55,7 +55,7 @@
[% IF lateorders.size %]
<form action="lateorders.pl" name="claim" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="send_alert" />
<input type="hidden" name="op" value="cud-send_alert" />
<input type="hidden" name="delay" value="[% delay | html %]" />
<input type="hidden" name="booksellerid" value="[% bookseller_filter.id | html %]" />
[% IF ( letters ) %]
@ -290,7 +290,7 @@
<div class="modal-body">
<textarea id="ordernotes" name="ordernotes" rows="3" cols="30" class="focus">[% ordernotes | html %]</textarea>
<input type="hidden" id="notes_ordernumber" name="ordernumber" value="" />
<input type="hidden" name="op-cud" value="save" />
<input type="hidden" name="op" value="cud-save" />
<input type="hidden" id="type" name="type" value="" />
</div>
<div class="modal-footer">
@ -316,7 +316,7 @@
<input type="text" id="estimated_delivery_date" size="10" name="estimated_delivery_date" class="flatpickr" value="[% estimated_delivery_date | html %]"/>
<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
<input type="hidden" id="date_ordernumber" name="ordernumber" value="" />
<input type="hidden" name="op-cud" value="save" />
<input type="hidden" name="op" value="cud-save" />
</div>
<div class="modal-footer">
<button type="submit" class="btn btn-default">Save</button>

View File

@ -46,7 +46,7 @@
</fieldset>
<input type="hidden" name="referrer" value="[% referrer | html %]" />
<input type="hidden" name="ordernumber" value="[% ordernumber | html %]" />
<input type="hidden" name="op-cud" value="save" />
<input type="hidden" name="op" value="cud-save" />
<fieldset class="action">
<input type="submit" class="btn btn-primary" value="Save" />
<a class="cancel" href="[% referrer | url %]">Cancel</a>

View File

@ -55,7 +55,7 @@
</fieldset>
<input type="hidden" name="referrer" value="[% referrer | html %]" />
<input type="hidden" name="ordernumber" value="[% ordernumber | html %]" />
<input type="hidden" name="op-cud" value="save" />
<input type="hidden" name="op" value="cud-save" />
<input type="hidden" name="type" value="[% type | html %]" />
<fieldset class="action">
<input type="submit" class="btn btn-primary" value="Save" />

View File

@ -308,7 +308,7 @@
[% END %]
</select>
<input type="hidden" id="basketno" value="[% basketno | html %]" name="basketno" />
<input type="hidden" value="mod_basket" name="op-cud" />
<input type="hidden" value="cud-mod_basket" name="op" />
<input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
</li>
<fieldset class="action"><input type="submit" class="btn btn-primary" value="Change basketgroup" /></fieldset>
@ -338,7 +338,7 @@
[% END %]
</ul>
<input type="hidden" id="users_ids" name="users_ids" value="[% users_ids | html %]" />
<input type="hidden" id="op" name="op-cud" value="mod_users" />
<input type="hidden" id="op" name="op" value="cud-mod_users" />
<input type="button" id="add_user" class="btn btn-default" onclick="UserSearchPopup();" value="Add user" />
</div>
</li>

View File

@ -108,7 +108,7 @@
[% INCLUDE 'csrf-token.inc' %]
<fieldset class="rows">
<input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
<input type="hidden" name="op-cud" value="validate" />
<input type="hidden" name="op" value="cud-validate" />
<table id="uncertainpricet">
<thead>
<tr>

View File

@ -94,7 +94,7 @@
<form action="/cgi-bin/koha/acqui/vendor_issues.pl" name="Aform" method="post" class="validated">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="add_validate" />
<input type="hidden" name="op" value="cud-add_validate" />
<input type="hidden" name="booksellerid" value="[% vendor.id | html %]" />
<input type="hidden" name="issue_id" value="[% issue.issue_id| html %]" />
@ -136,7 +136,7 @@
<h1>Delete issue [% issue.issue_id | html %]?</h1>
<form action="/cgi-bin/koha/acqui/vendor_issues.pl" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="delete_confirmed" />
<input type="hidden" name="op" value="cud-delete_confirmed" />
<input type="hidden" name="issue_id" value="[% issue.issue_id | html %]" />
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete</button>
</form>

View File

@ -87,7 +87,7 @@ tr.selected td {
<div class="row">
<div class="col-sm-6">
<h1>Order from external source</h1>
<input type="hidden" name="op-cud" id="op" value="do_search" />
<input type="hidden" name="op" id="op" value="cud-do_search" />
<fieldset class="rows">
<ol>
<li><label for="isbn">ISBN: </label> <input type="text" id="isbn" name="isbn" value="[% isbn | html %]" /></li>
@ -249,7 +249,7 @@ tr.selected td {
<form method="post" action="z3950_search.pl" id="page_form" name="page_form" class="checkboxed">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" id="op" value="do_search" />
<input type="hidden" name="op" id="op" value="cud-do_search" />
<input type="hidden" name="current_page" id="current_page" value="[% current_page | html %]" />
<input type="hidden" id="searchtitle" name="title" value="[% title | html %]" />
<input type="hidden" id="isbn" name="isbn" value="[% isbn | html %]" />

View File

@ -252,7 +252,7 @@
<input type="hidden" name="field_id" value="[% field.id | html %]" />
[% END %]
<input type="hidden" name="tablename" value="[% tablename | html %]" />
<input type="hidden" name="op-cud" value="add" />
<input type="hidden" name="op" value="cud-add" />
<input type="submit" class="btn btn-primary" value="Save" />
<a href="?tablename=[% tablename | uri %]" class="cancel">Cancel</a>
</fieldset>

View File

@ -61,7 +61,7 @@
<fieldset>
<h4><a href="/cgi-bin/koha/admin/preferences.pl">System preferences</a></h4>
<p>Manage system preferences like MARC flavor, date format, administrator email, and templates.</p>
<input type="hidden" name="op-cud" value="search" />
<input type="hidden" name="op" value="cud-search" />
<input type="text" name="searchfield" value="[% searchfield | html %]" />
<input type="submit" name="ok" class="btn btn-primary" value="Search" />
</fieldset>

View File

@ -47,7 +47,7 @@
<form id="adveditor_shortcuts" method="post" action="/cgi-bin/koha/admin/adveditorshortcuts.pl">
[% INCLUDE 'csrf-token.inc' %]
<fieldset>
<input type=hidden name="op-cud" value="save" />
<input type=hidden name="op" value="cud-save" />
<table id="adv_editor_keyboard_shortcuts">
<thead>

View File

@ -158,7 +158,7 @@
<form action="/cgi-bin/koha/admin/aqbudgetperiods.pl" id="add_modify_budget" name="f" method="post">
[% INCLUDE 'csrf-token.inc' %]
<fieldset class="rows">
<input type="hidden" name="op-cud" value="duplicate_budget" />
<input type="hidden" name="op" value="cud-duplicate_budget" />
<input type="hidden" name="budget_period_id" value="[% budget_period_id | html %]" />
<ol>
@ -231,7 +231,7 @@
<!-- ################################################################################# -->
<!-- display information about the budget period that must be added or modified -->
<!-- ################################################################################# -->
<input type="hidden" name="op-cud" value="add_validate" />
<input type="hidden" name="op" value="cud-add_validate" />
<input type="hidden" name="budget_period_id" value="[% budget_period_id | html %]" />
<ol>
<li>
@ -320,7 +320,7 @@
<form action="[% script_name | html %]" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="delete_confirmed" />
<input type="hidden" name="op" value="cud-delete_confirmed" />
<input type="hidden" name="budget_period_id" value="[% budget_period_id | html %]" />
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete</button>
</form>
@ -391,7 +391,7 @@
</ol>
</fieldset>
<fieldset class="action">
<input type="hidden" name="op-cud" value="close_confirmed" />
<input type="hidden" name="op" value="cud-close_confirmed" />
<input type="hidden" name="budget_period_id" value="[% budget_period_id | html %]" />
<input type="submit" class="btn btn-primary" value="Move unreceived orders" />
<a class="cancel" href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Cancel</a>

View File

@ -297,7 +297,7 @@
<fieldset class="rows">
<legend class="sr-only">Fund details</legend>
<input type="hidden" name="op-cud" value="add_validate" />
<input type="hidden" name="op" value="cud-add_validate" />
<input type="hidden" name="checked" value="0" />
<ol>
[% IF ( budget_parent_id ) %]
@ -470,7 +470,7 @@
<form action="/cgi-bin/koha/admin/aqbudgets.pl" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="delete_confirmed" />
<input type="hidden" name="op" value="cud-delete_confirmed" />
<input type="hidden" name="budget_id" value="[% budget_id | html %]" />
<input type="hidden" name="budget_period_id" value="[% budget_period_id | html %]" />
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete this fund</button>

View File

@ -104,7 +104,7 @@
<div class="page-section">
<form name="Aform" action="/cgi-bin/koha/admin/aqcontract.pl" id="add_modify_contract" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="add_validate" />
<input type="hidden" name="op" value="cud-add_validate" />
<input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
<input type="hidden" name="checked" value="0" />
[% IF ( contractnumber ) %]
@ -165,7 +165,7 @@
</table>
<form action="[% script_name | html %]" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="delete_confirmed" />
<input type="hidden" name="op" value="cud-delete_confirmed" />
<input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
<input type="hidden" name="contractnumber" value="[% contractnumber | html %]" />
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete contract</button>

View File

@ -170,7 +170,7 @@
[% IF ( budget_period_locked ) %]
<!-- <input STYLE="background: gray;" type="submit" value="Save" disabled="disabled"/> -->
[% ELSE %]
<input type="hidden" name="op-cud" value="save" />
<input type="hidden" name="op" value="cud-save" />
<fieldset class="action"><input type="submit" class="btn btn-primary" value="Save" /></fieldset>
[% END %]

View File

@ -102,7 +102,7 @@
<div class="hint">You can drag and drop the subfield tabs to change the order.</div>
<form action="[% script_name | html %]" name="Aform" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="add_validate" />
<input type="hidden" name="op" value="cud-add_validate" />
<input type="hidden" name="tagfield" value="[% tagfield | html %]" />
<input type="hidden" name="authtypecode" value="[% authtypecode | html %]" />
<fieldset class="action"><input type="submit" class="btn btn-primary" value="Save changes" /> <a class="cancel" href="/cgi-bin/koha/admin/auth_subfields_structure.pl?tagfield=[% tagfield | uri %]&amp;authtypecode=[% authtypecode | uri %]">Cancel</a></fieldset>
@ -305,7 +305,7 @@
<h1>Confirm deletion of subfield <span class="ex">'[% ass.tagsubfield | html %]'?</span></h1>
<form action="[% delete_link | html %]" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="delete_confirmed" />
<input type="hidden" name="op" value="cud-delete_confirmed" />
<table>
<tr><th scope="row">Subfield:</th> <td>[% ass.tagsubfield | html %]</td></tr>
<tr><th scope="row">Description:</th> <td>[% ass.liblibrarian | html_entity %]</td></tr>

View File

@ -139,7 +139,7 @@
</h2>
<form action="[% script_name | html %]" name="Aform" method="post" class="validated">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="add_validate" />
<input type="hidden" name="op" value="cud-add_validate" />
[% IF ( heading_modify_tag_p ) %]<input type="hidden" name="modif" value="1" />[% END %]
<input type="hidden" name="authtypecode" value="[% authtypecode | html %]" />
<fieldset class="rows">
@ -198,7 +198,7 @@
<table>
<tr><th scope="row">Tag: </th><td>[% searchfield | html %] [% liblibrarian | html %]</td></tr>
</table>
<input type="hidden" name="op-cud" value="delete_confirmed" />
<input type="hidden" name="op" value="cud-delete_confirmed" />
<input type="hidden" name="authtypecode" value="[% authtypecode | html %]" />
<input type="hidden" name="searchfield" value="[% searchfield | html %]" />
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete</button>
@ -223,7 +223,7 @@
<form action="[% script_name | html %]" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="authtype_create_confirm" />
<input type="hidden" name="op" value="cud-authtype_create_confirm" />
<input type="hidden" name="authtypecode" value="[% authtypecode | html %]" />
Create authority framework for [% authtypecode | html %] using
<select name="existingauthtypecode">

View File

@ -132,14 +132,14 @@
<label for="category" class="required">Category: </label>
<input type="text" name="category" id="category" size="32" maxlength="32" class="focus required" />
<span class="required">Required</span>
<input type="hidden" name="op-cud" value="add_category" />
<input type="hidden" name="op" value="cud-add_category" />
</li>
</ol>
[% ELSE %]
<ol>
<li>
<span class="label">Category</span>
<input type="hidden" name="op-cud" value="add" />
<input type="hidden" name="op" value="cud-add" />
<input type="hidden" name="category" value="[% category_name | html %]" /> [% category_name | html %]
</li>
<li>
@ -314,7 +314,7 @@
[% UNLESS category.is_system %]
<form id="delete_category" action="/cgi-bin/koha/admin/authorised_values.pl" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="delete_category" />
<input type="hidden" name="op" value="cud-delete_category" />
<input type="hidden" name="category_name" value="[% category.category_name | html %]" />
<button type="submit"><i class="fa fa-plus"></i> Delete category '[% category.category_name | html %]' </button>
</form>

View File

@ -124,7 +124,7 @@
<li>
[% IF authority_type.authtypecode.defined %]
<span class="label">Authority type</span>
<input type="hidden" name="op-cud" value="add_validate" />
<input type="hidden" name="op" value="cud-add_validate" />
<input type="hidden" name="checked" value="0" />
<input type="hidden" name="authtypecode" value="[% authority_type.authtypecode | html %]" />[% authority_type.authtypecode | html %]
[% ELSE %]
@ -147,7 +147,7 @@
<label for="auth_tag_to_report">Authority field to copy: </label>
<input type="text" id="auth_tag_to_report" name="auth_tag_to_report" size="5" maxlength="3" value="[% authority_type.auth_tag_to_report | html %]" />
<div class="hint">Note: for 'Authority field to copy', enter the authority field that should be copied from the authority record to the bibliographic record. E.g., in MARC21, field 100 in the authority record should be copied to field 100 in the bibliographic record</div>
<input type="hidden" name="op-cud" value="add_validate" />
<input type="hidden" name="op" value="cud-add_validate" />
[% IF authority_type.authtypecode.defined %]
<input type="hidden" name="is_a_modif" value="1" />
[% END %]
@ -174,7 +174,7 @@
<h1>Confirm deletion of authority structure definition for <span class="ex">'[% authority_type.authtypetext | html %]' ([% authority_type.authtypecode | html %])</span></h1>
<form action="/cgi-bin/koha/admin/authtypes.pl" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="delete_confirmed" />
<input type="hidden" name="op" value="cud-delete_confirmed" />
<input type="hidden" name="authtypecode" value="[% authority_type.authtypecode | html %]" />
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete</button>
</form>

View File

@ -116,7 +116,7 @@
</h1>
<form action="/cgi-bin/koha/admin/biblio_framework.pl" name="Aform" method="post" class="validated">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="add_validate" />
<input type="hidden" name="op" value="cud-add_validate" />
<fieldset class="rows">
<ol>
[% IF framework %]
@ -158,7 +158,7 @@
<h1>[% tx("Confirm deletion of framework '{framework}' ({frameworkcode})?", { framework = framework.frameworktext, frameworkcode = framework.frameworkcode }) | html %]</h1>
<form class="inline" action="/cgi-bin/koha/admin/biblio_framework.pl" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="delete_confirmed" />
<input type="hidden" name="op" value="cud-delete_confirmed" />
<input type="hidden" name="frameworkcode" value="[% framework.frameworkcode | html %]" />
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete this framework</button>
</form>

View File

@ -106,7 +106,7 @@
[% INCLUDE 'csrf-token.inc' %]
<fieldset class="rows">
<input type="hidden" name="op-cud" value="add_validate" />
<input type="hidden" name="op" value="cud-add_validate" />
<ol>
[% IF cash_register %]
<li>

View File

@ -116,7 +116,7 @@
[% IF op == 'add_form' %]
<form id="category_form" action="/cgi-bin/koha/admin/categories.pl" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="add_validate" />
<input type="hidden" name="op" value="cud-add_validate" />
<input type="hidden" name="checked" value="0" />
[% IF category %]
<h1>[% tx("Modify category '{categorycode}'", { categorycode = categorycode }) | html %]</h1>
@ -535,7 +535,7 @@
[% IF patrons_in_category > 0 %]
<input type="submit" class="btn btn-primary" value="OK" />
[% ELSE %]
<input type="hidden" name="op-cud" value="delete_confirmed" />
<input type="hidden" name="op" value="cud-delete_confirmed" />
<input type="hidden" name="categorycode" value="[% categorycode | html %]" />
<input type="submit" class="btn btn-primary" value="Delete this category" />
<a class="cancel" href="/cgi-bin/koha/admin/categories.pl">Cancel</a>

View File

@ -103,7 +103,7 @@
<form action="/cgi-bin/koha/admin/cities.pl" name="Aform" method="post" class="validated">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="add_validate" />
<input type="hidden" name="op" value="cud-add_validate" />
<input type="hidden" name="cityid" value="[% city.cityid | html %]" />
<fieldset class="rows">
@ -161,7 +161,7 @@
</table>
<form action="/cgi-bin/koha/admin/cities.pl" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="delete_confirmed" />
<input type="hidden" name="op" value="cud-delete_confirmed" />
<input type="hidden" name="cityid" value="[% city.cityid | html %]" />
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete</button>
</form>

View File

@ -150,7 +150,7 @@
[% END %]
<form action="[% script_name | html %]" name="Aform" class="validated" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="add_source_validate" />
<input type="hidden" name="op" value="cud-add_source_validate" />
<fieldset class="rows">
<ol>
<li>
@ -215,7 +215,7 @@
[% END %]
<form action="[% script_name | html %]" name="Aform" class="validated" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="add_sort_rule_validate" />
<input type="hidden" name="op" value="cud-add_sort_rule_validate" />
<fieldset class="rows">
<ol>
<li>
@ -262,7 +262,7 @@
[% END %]
<form action="[% script_name | html %]" name="Aform" class="validated" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="add_split_rule_validate" />
<input type="hidden" name="op" value="cud-add_split_rule_validate" />
<fieldset class="rows">
<ol>
<li>

View File

@ -85,7 +85,7 @@
<form action="/cgi-bin/koha/admin/credit_types.pl" name="Aform" method="post" class="validated">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="add_validate" />
<input type="hidden" name="op" value="cud-add_validate" />
<fieldset class="rows">
<ol>
<li>

View File

@ -167,7 +167,7 @@
</div>
</div>
<input type="hidden" name="op-cud" value="save" />
<input type="hidden" name="op" value="cud-save" />
<fieldset class="action">
<input type="submit" class="btn btn-primary" value="Save configuration" />

View File

@ -111,7 +111,7 @@
<form action="/cgi-bin/koha/admin/currency.pl" name="Aform" method="post" class="validated">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="add_validate" />
<input type="hidden" name="op" value="cud-add_validate" />
<fieldset class="rows">
<legend class="sr-only">New currency entry form</legend>
<ol>
@ -198,7 +198,7 @@
</table>
<form action="/cgi-bin/koha/admin/currency.pl" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="delete_confirmed" />
<input type="hidden" name="op" value="cud-delete_confirmed" />
<input type="hidden" name="currency_code" value="[% currency.currency | html %]" />
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete this currency</button>
</form>

View File

@ -84,7 +84,7 @@
<form action="/cgi-bin/koha/admin/debit_types.pl" name="Aform" method="post" class="validated">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="add_validate" />
<input type="hidden" name="op" value="cud-add_validate" />
<fieldset class="rows">
<ol>
<li>

View File

@ -100,7 +100,7 @@
<form action="/cgi-bin/koha/admin/desks.pl" name="Aform" method="post" class="validated">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="add_validate" />
<input type="hidden" name="op" value="cud-add_validate" />
<input type="hidden" name="desk_id" value="[% desk.desk_id | html %]" />
<fieldset class="rows">
@ -157,7 +157,7 @@
</table>
<form action="/cgi-bin/koha/admin/desks.pl" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="delete_confirmed" />
<input type="hidden" name="op" value="cud-delete_confirmed" />
<input type="hidden" name="desk_id" value="[% desk.desk_id | html %]" />
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete</button>
</form>

View File

@ -86,7 +86,7 @@
[% IF acct_form %]
<form action="/cgi-bin/koha/admin/edi_accounts.pl" name="Actform" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="save" />
<input type="hidden" name="op" value="cud-save" />
[% IF account %]
<input type="hidden" name="id" value="[% account.id | html %]" />
[% END %]
@ -285,7 +285,7 @@
[% INCLUDE 'csrf-token.inc' %]
<table>
</table>
<input type="hidden" name="op-cud" value="delete_confirmed" />
<input type="hidden" name="op" value="cud-delete_confirmed" />
<input type="hidden" name="id" value="[% account.id | html %]" />
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete</button>
</form>

View File

@ -85,7 +85,7 @@
[% IF ean_form %]
<form action="/cgi-bin/koha/admin/edi_ean_accounts.pl" name="Eanform" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="save" />
<input type="hidden" name="op" value="cud-save" />
[% IF ean %]
<input type="hidden" name="oldbranchcode" value="[% ean.branch.branchcode | html %]" />
<input type="hidden" name="id" value="[% ean.id | html %]" />
@ -162,7 +162,7 @@
<form action="/cgi-bin/koha/admin/edi_ean_accounts.pl" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="delete_confirmed" />
<input type="hidden" name="op" value="cud-delete_confirmed" />
<input type="hidden" name="id" value="[% ean.id | html %]" />
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete</button>
</form>

View File

@ -88,7 +88,7 @@
<form action="/cgi-bin/koha/admin/identity_providers.pl" id="add" name="add" class="validated" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="add" />
<input type="hidden" name="op" value="cud-add" />
<input type="hidden" name="domain_ops" value="1" />
<input type="hidden" name="identity_provider_id" value="[%- identity_provider_id | html -%]" />
<fieldset class="rows">
@ -170,7 +170,7 @@
<form action="/cgi-bin/koha/admin/identity_providers.pl" id="edit_save" name="edit_save" class="validated" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="edit_save" />
<input type="hidden" name="op" value="cud-edit_save" />
<input type="hidden" name="domain_ops" value="1" />
<input type="hidden" name="identity_provider_id" value="[%- identity_provider_id | html -%]" />
<input type="hidden" name="identity_provider_domain_id" value="[%- identity_provider_domain.identity_provider_domain_id | html -%]" />

View File

@ -84,7 +84,7 @@
<form action="/cgi-bin/koha/admin/identity_providers.pl" id="add" name="add" class="validated" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="add" />
<input type="hidden" name="op" value="cud-add" />
<fieldset class="rows">
<legend id="identity_provider_basic">Basic configuration</legend>
<ol>
@ -239,7 +239,7 @@
<form action="/cgi-bin/koha/admin/identity_providers.pl" id="edit_save" name="edit_save" class="validated" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="edit_save" />
<input type="hidden" name="op" value="cud-edit_save" />
<input type="hidden" name="identity_provider_id" value="[%- identity_provider.identity_provider_id | html -%]" />
<fieldset class="rows">
<legend id="identity_provider_basic">Basic configuration</legend>

View File

@ -75,7 +75,7 @@
<form action="/cgi-bin/koha/admin/ill_batch_statuses.pl" name="Aform" method="post" class="validated">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="add_validate" />
<input type="hidden" name="op" value="cud-add_validate" />
<fieldset class="rows">
<ol>
<li>

View File

@ -63,9 +63,9 @@
<fieldset class="rows">
[% INCLUDE 'admin-items-search-field-form.inc' field=field %]
[% IF (field) %]
<input type="hidden" name="op-cud" value="mod" />
<input type="hidden" name="op" value="cud-mod" />
[% ELSE %]
<input type="hidden" name="op-cud" value="add" />
<input type="hidden" name="op" value="cud-add" />
[% END %]
</fieldset>
<fieldset class="action">

View File

@ -151,7 +151,7 @@
[% END %]
<form action="/cgi-bin/koha/admin/itemtypes.pl" name="Aform" method="post" id="itemtypeentry">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="add_validate" />
<input type="hidden" name="op" value="cud-add_validate" />
<fieldset class="rows">
<ol>
[% IF itemtype %]
@ -376,7 +376,7 @@
</table>
<form action="/cgi-bin/koha/admin/itemtypes.pl" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="delete_confirmed" /><input type="hidden" name="itemtype" value="[% itemtype.itemtype | html %]" />
<input type="hidden" name="op" value="cud-delete_confirmed" /><input type="hidden" name="itemtype" value="[% itemtype.itemtype | html %]" />
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete this item type</button>
</form>
<form action="/cgi-bin/koha/admin/itemtypes.pl" method="post">

View File

@ -290,7 +290,7 @@
<form action="/cgi-bin/koha/admin/marc-overlay-rules.pl" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="redo-matching" />
<input type="hidden" name="op" value="cud-redo-matching" />
</form>
</div><!-- /.col-sm-10.col-sm-push-2 -->

View File

@ -95,7 +95,7 @@
<form action="[% script_name | html %]" name="Aform" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="add_validate" />
<input type="hidden" name="op" value="cud-add_validate" />
<input type="hidden" name="tagfield" value="[% tagfield | html %]" />
<input type="hidden" name="frameworkcode" value="[% frameworkcode | html %]" />
@ -321,7 +321,7 @@
<p>Subfield: [% mss.tagsubfield | html %]</p>
<p>Description: [% mss.liblibrarian | html_entity %]</p>
<form action="[% delete_link | html %]" method="post"><input type="hidden" name="op-cud" value="delete_confirmed" />
<form action="[% delete_link | html %]" method="post"><input type="hidden" name="op" value="cud-delete_confirmed" />
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="tagfield" value="[% mss.tagfield | html %]" />
<input type="hidden" name="tagsubfield" value="[% mss.tagsubfield | html %]" />

View File

@ -136,7 +136,7 @@
<input type="hidden" name="modif" value="1" />
[% END %]
</legend>
<input type="hidden" name="op-cud" value="add_validate" />
<input type="hidden" name="op" value="cud-add_validate" />
<input type="hidden" name="frameworkcode" value="[% framework.frameworkcode | html %]" />
<ol>
<li>
@ -201,7 +201,7 @@
<p>Description: [% liblibrarian | html %]</p>
<form action="[% script_name | html %]" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="delete_confirmed" />
<input type="hidden" name="op" value="cud-delete_confirmed" />
<input type="hidden" name="searchfield" value="[% searchfield | html %]" />
<input type="hidden" name="frameworkcode" value="[% framework.frameworkcode | html %]" />
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete this tag</button>
@ -224,7 +224,7 @@
<form action="[% script_name | html %]" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="framework_create_confirm" />
<input type="hidden" name="op" value="cud-framework_create_confirm" />
<input type="hidden" name="frameworkcode" value="[% framework.frameworkcode | html %]" />
Create framework for [% framework.frameworkcode | html %] ([% framework.frameworktext | html %]) using
<select name="existingframeworkcode">

View File

@ -115,7 +115,7 @@
[% END %]
<form action="[% script_name | html %]" name="Aform" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="[% confirm_op | html %]" />
<input type="hidden" name="op" value="cud-[% confirm_op | html %]" />
<fieldset class="rows">
<ol>
<li>
@ -430,7 +430,7 @@
<h1>Confirm deletion of record matching rule <span class="ex">'[% code | html %]' ([% description | html %])</span>?</h1>
<form action="[% script_name | html %]" name="Aform" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="[% confirm_op | html %]" />
<input type="hidden" name="op" value="cud-[% confirm_op | html %]" />
<input type="hidden" name="matcher_id" value="[% matcher_id | html %]" />
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete record matching rule</button>
</form>

View File

@ -133,7 +133,7 @@
</tbody>
</table>
<input type="hidden" name="id" value="[% id | html %]" />
<input type="hidden" name="op-cud" value="save" />
<input type="hidden" name="op" value="cud-save" />
</div> <!-- /.page-section -->
<fieldset class="action">
<input type="submit" class="btn btn-primary" value="Save" /> <a class="cancel" href="/cgi-bin/koha/admin/oai_sets.pl">Cancel</a>

View File

@ -62,10 +62,10 @@
[% INCLUDE 'csrf-token.inc' %]
[% IF ( op_new ) %]
<h1>New OAI set</h1>
<input type="hidden" name="op-cud" value="savenew" />
<input type="hidden" name="op" value="cud-savenew" />
[% ELSIF ( op_mod ) %]
<h1>[% tx("Modify OAI set '{oai_set}'", { oai_set = spec }) | html %]</h1>
<input type="hidden" name="op-cud" value="savemod" />
<input type="hidden" name="op" value="cud-savemod" />
<input type="hidden" name="id" value="[% id | html %]" />
[% END %]
<fieldset id="oaidetails" class="rows">

View File

@ -40,7 +40,7 @@
<form action="/cgi-bin/koha/admin/overdrive.pl" name="overdrive_form" method="post" class="validated">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="update" />
<input type="hidden" name="op" value="cud-update" />
<fieldset>
<table id="od_info">
<thead>

View File

@ -87,7 +87,7 @@
[% END %]
<form action="[% script_name | html %]" class="validated" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="[% confirm_op | html %]" />
<input type="hidden" name="op" value="cud-[% confirm_op | html %]" />
<fieldset class="rows">
<ol>
<li>
@ -268,7 +268,7 @@
</h1>
<form action="[% script_name | html %]" name="Aform" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="[% confirm_op | html %]" />
<input type="hidden" name="op" value="cud-[% confirm_op | html %]" />
<input type="hidden" name="code" value="[% code | html %]" />
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete patron attribute type</button>
</form>

View File

@ -61,7 +61,7 @@
<form action="/cgi-bin/koha/admin/preferences.pl" method="post">
[% INCLUDE 'csrf-token.inc' %]
[% UNLESS ( searchfield ) %]<div id="toolbar"><button class="save-all btn btn-primary" type="submit">Save all [% TAB.tab_title | html %] preferences</button></div>[% END %]
<input type="hidden" name="op-cud" value="save" />
<input type="hidden" name="op" value="cud-save" />
<input type="hidden" name="tab" value="[% TAB.tab_id | html %]" />
[% FOREACH LINE IN TAB.LINES %]

View File

@ -95,7 +95,7 @@
[% IF op == 'add_form' %]
<form id="restriction_form" action="/cgi-bin/koha/admin/restrictions.pl" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="add_validate" />
<input type="hidden" name="op" value="cud-add_validate" />
<input type="hidden" name="checked" value="0" />
[% IF restriction %]
<h1>Modify restriction type '[% PROCESS restriction_type_description restriction_type=restriction %]'</h1>
@ -170,7 +170,7 @@
<p>Are you sure you want to delete '[% PROCESS restriction_type_description restriction_type=restriction %]'?</p>
<form action="/cgi-bin/koha/admin/restrictions.pl" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="delete_confirmed" />
<input type="hidden" name="op" value="cud-delete_confirmed" />
<input type="hidden" name="code" value="[% restriction.code | html %]" />
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete</button>
</form>

View File

@ -92,7 +92,7 @@ a.add, a.delete {
<h3>The current mappings you see on the screen will be erased and replaced by the mappings in the mappings.yaml file.</h3>
<form method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="reset_confirmed" />
<input type="hidden" name="op" value="cud-reset_confirmed" />
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, reset mappings</button>
</form>
@ -505,8 +505,8 @@ a.add, a.delete {
[% END # /WRAPPER tabs %]
<fieldset class="action">
<button class="btn btn-primary" type="submit" name="op-cud" value="edit"><i class="fa-solid fa-hard-drive" aria-hidden="true"></i> Save</button>
<button class="btn btn-default" type="submit" name="op-cud" value="reset_confirm"><i class="fa-solid fa-rotate" aria-hidden="true"></i> Reset mappings</button>
<button class="btn btn-primary" type="submit" name="op" value="cud-edit"><i class="fa-solid fa-hard-drive" aria-hidden="true"></i> Save</button>
<button class="btn btn-default" type="submit" name="op" value="cud-reset_confirm"><i class="fa-solid fa-rotate" aria-hidden="true"></i> Reset mappings</button>
</fieldset>
</form>

View File

@ -105,7 +105,7 @@
</ol>
</fieldset>
<fieldset class="action">
<input type="hidden" name="op-cud" value="save" />
<input type="hidden" name="op" value="cud-save" />
<input type="submit" class="btn btn-primary" value="Save" />
</fieldset>
</form>
@ -130,7 +130,7 @@
</ol>
</fieldset>
<fieldset class="action">
<input type="hidden" name="op-cud" value="reset" />
<input type="hidden" name="op" value="cud-reset" />
<input type="submit" class="btn btn-primary" value="Reset your token" />
</fieldset>
</form>
@ -151,7 +151,7 @@
</ol>
</fieldset>
<fieldset class="action">
<input type="hidden" name="op-cud" value="send" />
<input type="hidden" name="op" value="cud-send" />
<input type="submit" class="btn btn-primary" value="Send to Mana KB" />
</fieldset>
</form>

View File

@ -107,7 +107,7 @@
<div class="page-section">
<form method="post" action="/cgi-bin/koha/admin/smart-rules.pl">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="add" />
<input type="hidden" name="op" value="cud-add" />
<input type="hidden" name="branch" value="[% current_branch | html %]"/>
<table id="default-circulation-rules">
<thead>
@ -624,7 +624,7 @@
<p>You can set a default maximum number of checkouts, hold policy and return policy that will be used if none is defined below for a particular item type or category.</p>
<form method="post" action="/cgi-bin/koha/admin/smart-rules.pl">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="set-branch-defaults" />
<input type="hidden" name="op" value="cud-set-branch-defaults" />
<input type="hidden" name="branch" value="[% current_branch | html %]"/>
<table>
<tr>
@ -819,7 +819,7 @@
</p>
<form method="post" action="/cgi-bin/koha/admin/smart-rules.pl">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="add-branch-cat" />
<input type="hidden" name="op" value="cud-add-branch-cat" />
<input type="hidden" name="branch" value="[% current_branch | html %]"/>
<table>
<tr>
@ -899,7 +899,7 @@
<p>Specify if waiting holds can be cancelled for a given patron category.</p>
<form id="set-waiting-hold-cancellation" method="post" action="/cgi-bin/koha/admin/smart-rules.pl">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="set-waiting-hold-cancellation" />
<input type="hidden" name="op" value="cud-set-waiting-hold-cancellation" />
<input type="hidden" name="branch" value="[% current_branch | html %]"/>
<table>
<tr>
@ -984,7 +984,7 @@
<p>Specify the maximum number simultaneous current article requests a patron of a given category can have.</p>
<form id="set-article-requests-daily-limit" method="post" action="/cgi-bin/koha/admin/smart-rules.pl">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="add-open-article-requests-limit" />
<input type="hidden" name="op" value="cud-add-open-article-requests-limit" />
<input type="hidden" name="branch" value="[% current_branch | html %]"/>
<table>
<tr>
@ -1039,7 +1039,7 @@
<p>Specify the article request fee for a given patron category.</p>
<form id="set-article-request-fee" method="post" action="/cgi-bin/koha/admin/smart-rules.pl">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="set-article-request-fee" />
<input type="hidden" name="op" value="cud-set-article-request-fee" />
<input type="hidden" name="branch" value="[% current_branch | html %]"/>
<table>
<tr>
@ -1100,7 +1100,7 @@
<p>Specify the default policy for lost item fees on return.</p>
<form method="post" action="/cgi-bin/koha/admin/smart-rules.pl">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="mod-refund-lost-item-fee-rule" />
<input type="hidden" name="op" value="cud-mod-refund-lost-item-fee-rule" />
<input type="hidden" name="branch" value="[% current_branch | html %]" />
<table>
<tr>
@ -1303,7 +1303,7 @@
<form method="post" action="/cgi-bin/koha/admin/smart-rules.pl">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="add-branch-item" />
<input type="hidden" name="op" value="cud-add-branch-item" />
<input type="hidden" name="branch" value="[% current_branch | html %]"/>
<table>
<tr>

View File

@ -84,7 +84,7 @@
<fieldset class="rows">
<legend>Add an SMS cellular provider</legend>
<input type="hidden" id="id" name="id" value="" />
<input type="hidden" id="op" name="op-cud" value="add_update" />
<input type="hidden" id="op" name="op" value="cud-add_update" />
<ol>
<li>
<label for="name" class="required">Name: </label>

View File

@ -81,7 +81,7 @@
<h1>New SMTP server</h1>
<form action="/cgi-bin/koha/admin/smtp_servers.pl" id="add" name="add" class="validated" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="add" />
<input type="hidden" name="op" value="cud-add" />
<fieldset class="rows">
<ol>
<li>
@ -155,7 +155,7 @@
<form action="/cgi-bin/koha/admin/smtp_servers.pl" id="edit_save" name="edit_save" class="validated" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="edit_save" />
<input type="hidden" name="op" value="cud-edit_save" />
<input type="hidden" name="smtp_server_id" value="[%- smtp_server.id | html -%]" />
<fieldset class="rows">
<ol>

View File

@ -101,7 +101,7 @@
<fieldset class="rows">
<legend class="sr-only">System preference details</legend>
<ol>
<li><label for="explanation">Explanation: </label><input type="text" name="explanation" id="explanation" size="60" value="[% explanation | html %]" /><input type="hidden" name="op-cud" value="add_validate" /></li>
<li><label for="explanation">Explanation: </label><input type="text" name="explanation" id="explanation" size="60" value="cud-[% explanation | html %]" /><input type="hidden" name="op" value="add_validate" /></li>
<li>[% IF ( searchfield ) %]<span class="label">Variable: </span>[% searchfield | html %]<input type="hidden" name="variable" value="[% searchfield | html %]" />
[% ELSE %]<label for="variable">Variable: </label><input type="text" name="variable" id="variable" size="60" />[% END %]</li>
<li><label for="value">Value: </label>
@ -284,7 +284,7 @@
</table>
<form class="inline" action="[% script_name | html %]" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="delete_confirmed" />
<input type="hidden" name="op" value="cud-delete_confirmed" />
<input type="hidden" name="searchfield" value="[% searchfield | html %]" />
<input type="hidden" name="Tvalue" value="[% Tvalue | html %]" />
<button type="submit" class="approve"><i class="fa fa-check" aria-hidden="true"></i> Yes, delete</button>
@ -430,7 +430,7 @@
[% END %]
<label for="value-no" class="yesno">OFF</label>
[% END %]
<input type="hidden" name="op-cud" value="add_validate" />
<input type="hidden" name="op" value="cud-add_validate" />
<input type="hidden" name="variable" value="[% loo.variable | html %]" />
<input type="hidden" name="prefoptions" value="[% loo.prefoptions | html %]" />
<input type="hidden" name="preftype" value="[% loo.type | html %]" />

View File

@ -57,7 +57,7 @@
<form method="post" action="/cgi-bin/koha/admin/transport-cost-matrix.pl" id="cost_matrix_form">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="set-cost-matrix" />
<input type="hidden" name="op" value="cud-set-cost-matrix" />
<fieldset id="transport-cost-matrix">
<div class="help">
<p>Costs are decimal values between some arbitrary maximum value (e.g. 1 or 100) and 0 which is the minimum (no) cost.</p>

View File

@ -247,7 +247,7 @@
</div>
<fieldset class="action">
<input type="hidden" name="op-cud" value="update" />
<input type="hidden" name="op" value="cud-update" />
<input type="submit" class="btn btn-primary" value="Update your statistics usage" />
<a class="cancel" href="/cgi-bin/koha/admin/usage_statistics.pl">Cancel</a>
</fieldset>

View File

@ -91,7 +91,7 @@
<h1>[% tx("New {servertype} server", { servertype = servertype }) | html %]</h1>
[% END %]
<input type="hidden" name="op-cud" value="add_validated" />
<input type="hidden" name="op" value="cud-add_validated" />
<input type="hidden" name="servertype" value="[% server.servertype||type||'zed' | html %]"/>
<fieldset class="rows">
<ol>

View File

@ -431,7 +431,7 @@
<form method="post" id="f" name="f" action="/cgi-bin/koha/authorities/authorities.pl">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="add" />
<input type="hidden" name="op" value="cud-add" />
<input type="hidden" name="addfield_field" value="" />
<input type="hidden" name="repeat_field" value="" />
<input type="hidden" name="authtypecode" value="[% authtypecode | html%]" />

View File

@ -281,7 +281,7 @@
<form method="POST" action="/cgi-bin/koha/tools/batchMod.pl" id="batch_item_operations">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="show" />
<input type="hidden" name="op" value="cud-show" />
<input type="hidden" id="batch_mod_del" name="del" value="0" />
</form>

View File

@ -235,7 +235,7 @@
<input type="submit" name="submit" class="submit" value="Set status" disabled="disabled"/>
<p class="help-block">Item has been claimed as returned.</p>
[% ELSE %]
<input type="hidden" name="op-cud" value="set_lost" />
<input type="hidden" name="op" value="cud-set_lost" />
<input type="submit" name="submit" class="btn btn-primary btn-xs" value="Set status" />
[% END %]
</form>
@ -271,7 +271,7 @@
[% END %]
[% END %]
</select>
<input type="hidden" name="op-cud" value="set_damaged" />
<input type="hidden" name="op" value="cud-set_damaged" />
<input type="submit" name="submit" class="btn btn-primary btn-xs" value="Set status" />
</form>
[% ELSE %]
@ -306,7 +306,7 @@
[% END %]
[% END %]
</select>
<input type="hidden" name="op-cud" value="set_withdrawn" />
<input type="hidden" name="op" value="cud-set_withdrawn" />
<input type="submit" name="submit" class="btn btn-primary btn-xs" value="Set status" />
</form>
[% ELSE %]
@ -346,7 +346,7 @@
<option value="0" selected>No</option>
[% END %]
</select>
<input type="hidden" name="op-cud" value="set_exclude_priority" />
<input type="hidden" name="op" value="cud-set_exclude_priority" />
<input type="submit" name="submit" class="btn btn-primary btn-xs" value="Update" />
</form>
</li>
@ -367,7 +367,7 @@
<option value="0" selected="selected">No</option>
[% END %]
</select>
<input type="hidden" name="op-cud" value="set_bookable" />
<input type="hidden" name="op" value="cud-set_bookable" />
<input type="submit" name="submit" class="btn btn-primary btn-xs" value="Update" />
</form>
[% ELSE %]
@ -474,7 +474,7 @@
<form class="inline" action="updateitem.pl" method="post"><input type="hidden" name="biblionumber" value="[% ITEM_DAT.biblionumber | html %]" />
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber | html %]" /><input type="hidden" name="itemnumber" value="[% ITEM_DAT.itemnumber | html %]" />
<input type="hidden" name="op-cud" value="set_public_note" />
<input type="hidden" name="op" value="cud-set_public_note" />
<textarea name="itemnotes" rows="2" cols="30">[% ITEM_DAT.itemnotes | html %]</textarea><input type="submit" name="submit" class="btn btn-primary btn-xs" value="Update" />
</form>
[% ELSE %]
@ -488,7 +488,7 @@
<form class="inline" action="updateitem.pl" method="post"><input type="hidden" name="biblionumber" value="[% ITEM_DAT.biblionumber | html %]" />
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber | html %]" /><input type="hidden" name="itemnumber" value="[% ITEM_DAT.itemnumber | html %]" />
<input type="hidden" name="op-cud" value="set_non_public_note" />
<input type="hidden" name="op" value="cud-set_non_public_note" />
<textarea name="itemnotes_nonpublic" rows="2" cols="30">[% ITEM_DAT.itemnotes_nonpublic | html %]</textarea><input type="submit" name="submit" class="btn btn-primary btn-xs" value="Update" />
</form>
[% ELSE %]

View File

@ -148,7 +148,7 @@
[% END %]
</select>
<button class="btn btn-default btn-xs" type="submit"><i class="fa fa-plus"></i> Add to rota</button>
<input type="hidden" name="op-cud" value="add_item_to_rota" />
<input type="hidden" name="op" value="cud-add_item_to_rota" />
<input type="hidden" name="item_id" value="[% item.bib_item.id | uri %]" />
<input type="hidden" name="biblionumber" value="[% biblionumber | uri %]" />
</form>

View File

@ -1053,7 +1053,7 @@ $(document).ready(function(){
[% IF ( popup ) %]
<input type="hidden" name="mode" value="popup" />
[% END %]
<input type="hidden" name="op-cud" value="addbiblio" />
<input type="hidden" name="op" value="cud-addbiblio" />
<input type="hidden" id="frameworkcode" name="frameworkcode" value="[% frameworkcode | html %]" />
<input type="hidden" name="z3950" value="[% z3950 | html %]" />
<input type="hidden" name="biblionumber" value="[% biblionumber | html %]" />

View File

@ -177,7 +177,7 @@
<div id="cataloguing_additem_newitem" class="item_edit_form page-section">
<form id="f" method="post" action="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% biblio.biblionumber | html %]" name="f">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="[% op | html %]" />
<input type="hidden" name="op" value="cud-[% op | html %]" />
[% IF (popup) %]
<input type="hidden" name="popup" value="1" />
[% END %]

View File

@ -28,7 +28,7 @@
<input type="hidden" name="plugin_name" value="marc21_linking_section.pl" />
<input type="hidden" name="index" value="[% index | html %]" />
<input type="hidden" name="result" value="marc12 field 7 [% index | html %]" />
<input type="hidden" name="op-cud" value="do_search" />
<input type="hidden" name="op" value="cud-do_search" />
<label class="label100" for="searchbox">Any word</label>
<input type="text" name="search" id="searchbox" size="35" /><br />
<label for="itypeloop">Item type</label>

View File

@ -18,7 +18,7 @@
[% INCLUDE 'csrf-token.inc' %]
<fieldset class="rows">
<input type="hidden" name="plugin_name" value="unimarc_field_210c.pl" />
<input type="hidden" name="op-cud" value="do_search" />
<input type="hidden" name="op" value="cud-do_search" />
<input type="hidden" name="type" value="intranet" />
<input type="hidden" name="nbstatements" value="[% nbstatements | html %]" />
<input type="hidden" name="index" value="[% index | html %]" />

View File

@ -25,7 +25,7 @@
<input type="hidden" name="plugin_name" value="unimarc_field_4XX.pl" />
<input type="hidden" name="index" value="[% index | html %]" />
<input type="hidden" name="result" value="unimarc field 4 [% index | html %]" />
<input type="hidden" name="op-cud" value="do_search" />
<input type="hidden" name="op" value="cud-do_search" />
<label class="label100" for="searchbox">Any word</label>
<input type="text" name="search" id="searchbox" size="35" /><br />
<label for="itypeloop">Item type:</label>

View File

@ -24,7 +24,7 @@
<h1>Z39.50 authority search points</h1>
<form method="post" action="z3950_auth_search.pl" name="f" class="checkboxed">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" id="op" value="do_search" />
<input type="hidden" name="op" id="op" value="cud-do_search" />
<input type="hidden" name="authid" value="[% authid | html %]" />
<input type="hidden" name="index" value="[% index | html %]" />
<div class="row">
@ -140,7 +140,7 @@
<form method="post" action="z3950_auth_search.pl" id="page_form" name="page_form" class="checkboxed">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" id="op" value="do_search" />
<input type="hidden" name="op" id="op" value="cud-do_search" />
<input type="hidden" name="current_page" id="current_page" value="[% current_page | html %]" />
<input type="hidden" id="nameany" name="nameany" value="[% nameany | html %]" />
<input type="hidden" id="authorany" name="authorany" value="[% authorany | html %]" />

View File

@ -45,7 +45,7 @@
[% INCLUDE 'csrf-token.inc' %]
<div class="row">
<div class="col-xs-6">
<input type="hidden" name="op-cud" id="op" value="do_search" />
<input type="hidden" name="op" id="op" value="cud-do_search" />
<fieldset class="rows">
<ol>
<li>
@ -227,7 +227,7 @@
<form method="post" action="z3950_search.pl" id="page_form" name="page_form" class="checkboxed">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" id="op" value="do_search" />
<input type="hidden" name="op" id="op" value="cud-do_search" />
<input type="hidden" name="current_page" id="current_page" value="[% current_page | html %]" />
<input type="hidden" id="title" name="title" value="[% title | html %]" />
<input type="hidden" id="isbn" name="isbn" value="[% isbn | html %]" />

View File

@ -121,7 +121,7 @@
</fieldset>
[% END %]
<input type="hidden" name="op-cud" value="show" />
<input type="hidden" name="op" value="cud-show" />
</div>
<fieldset class="action">

View File

@ -218,7 +218,7 @@
<td>
<form method="post" class="form">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="mark-as-staged"/>
<input type="hidden" name="op" value="cud-mark-as-staged"/>
<input type="hidden" name="tab" value="to-be-staged"/>
<input type="hidden" name="id" value="[% cp.id | html %]"/>
<p>
@ -228,7 +228,7 @@
<form method="post" class="form">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="cancel"/>
<input type="hidden" name="op" value="cud-cancel"/>
<input type="hidden" name="tab" value="to-be-staged"/>
<input type="hidden" name="id" value="[% cp.id | html %]"/>
<p>
@ -279,7 +279,7 @@
<td>
<form method="post" class="form">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="mark-patron-has-arrived"/>
<input type="hidden" name="op" value="cud-mark-patron-has-arrived"/>
<input type="hidden" name="tab" value="staged-and-ready"/>
<input type="hidden" name="id" value="[% cp.id | html %]"/>
<p>
@ -289,7 +289,7 @@
<form method="post" class="form">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="mark-as-delivered"/>
<input type="hidden" name="op" value="cud-mark-as-delivered"/>
<input type="hidden" name="tab" value="staged-and-ready"/>
<input type="hidden" name="id" value="[% cp.id | html %]"/>
<p>
@ -299,7 +299,7 @@
<form method="post" class="form">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="mark-as-unstaged"/>
<input type="hidden" name="op" value="cud-mark-as-unstaged"/>
<input type="hidden" name="tab" value="staged-and-ready"/>
<input type="hidden" name="id" value="[% cp.id | html %]"/>
<p>
@ -350,7 +350,7 @@
<td>
<form method="post" class="form">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="mark-as-delivered"/>
<input type="hidden" name="op" value="cud-mark-as-delivered"/>
<input type="hidden" name="tab" value="patron-is-outside"/>
<input type="hidden" name="id" value="[% cp.id | html %]"/>
<p>
@ -360,7 +360,7 @@
<form method="post" class="form">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="mark-as-staged"/>
<input type="hidden" name="op" value="cud-mark-as-staged"/>
<input type="hidden" name="tab" value="patron-is-outside"/>
<input type="hidden" name="id" value="[% cp.id | html %]"/>
<p>
@ -370,7 +370,7 @@
<form method="post" class="form">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="mark-as-unstaged"/>
<input type="hidden" name="op" value="cud-mark-as-unstaged"/>
<input type="hidden" name="tab" value="patron-is-outside"/>
<input type="hidden" name="id" value="[% cp.id | html %]"/>
<p>
@ -452,7 +452,7 @@
[% INCLUDE 'csrf-token.inc' %]
<fieldset class="rows" style="float: none;">
<input type="hidden" name="borrowernumber" value="[% patron.id | html %]"/>
<input type="hidden" name="op-cud" value="create-pickup"/>
<input type="hidden" name="op" value="cud-create-pickup"/>
<input type="hidden" name="tab" value="schedule-pickup"/>
<ol>
<li>

View File

@ -276,7 +276,7 @@
</fieldset>
<fieldset class="action">
<input type="submit" class="btn btn-primary" value="Apply filter" />
<input type="hidden" name="op-cud" value="apply filter" />
<input type="hidden" name="op" value="cud-apply filter" />
</fieldset>
</form>

View File

@ -207,7 +207,7 @@
<td>
<form name="cancelReserve" action="/cgi-bin/koha/circ/pendingreserves.pl" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="cancel_reserve" />
<input type="hidden" name="op" value="cud-cancel_reserve" />
<input type="hidden" name="reserve_id" value="[% hold.reserve_id | html %]" />
[% SET hold_cancellation = AuthorisedValues.GetAuthValueDropbox('HOLD_CANCELLATION') %]
@ -236,10 +236,10 @@
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="reserve_id" value="[% hold.reserve_id | html %]" />
[% IF Koha.Preference('CanMarkHoldsToPullAsLost') == 'allow' %]
<input type="hidden" name="op-cud" value="mark_as_lost" />
<input type="hidden" name="op" value="cud-mark_as_lost" />
<input type="submit" class="btn btn-primary" value="Mark item as lost" />
[% ELSIF Koha.Preference('CanMarkHoldsToPullAsLost') == 'allow_and_notify' %]
<input type="hidden" name="op-cud" value="mark_as_lost_and_notify" />
<input type="hidden" name="op" value="cud-mark_as_lost_and_notify" />
<input type="submit" class="btn btn-primary" value="Mark lost and notify patron" />
[% END %]
</form>

View File

@ -86,7 +86,7 @@
<form name="frameworkselection" method="post" action="install.pl">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="step" value="3" />
<input type="hidden" name="op-cud" value="selectframeworks" />
<input type="hidden" name="op" value="cud-selectframeworks" />
<p>MARC stands for Machine Readable Cataloging. A MARC record contains bibliographic record information about an item. MARC21 is used globally, UNIMARC tends to be used in a few European countries. </p>
@ -126,7 +126,7 @@
<form name="frameworkselection" method="post" action="install.pl">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="step" value="3" />
<input type="hidden" name="op-cud" value="addframeworks" />
<input type="hidden" name="op" value="cud-addframeworks" />
[% IF ( frameworksloop ) %]
<h3>MARC frameworks: [% marcflavour | html %]</h3>
[% IF ( en_marc_frameworks ) %]
@ -263,7 +263,7 @@
</p>
<input type="hidden" name="step" value="3" />
<input type="hidden" name="op-cud" value="finish" />
<input type="hidden" name="op" value="cud-finish" />
<p>
<input value="Set up some of Koha's basic requirements" class="btn btn-primary" type="submit" />
</p>
@ -317,7 +317,7 @@
<form action="install.pl" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="step" value="3" />
<input type="hidden" name="op-cud" value="importdatastructure" />
<input type="hidden" name="op" value="cud-importdatastructure" />
<p><input value="Continue to the next step" class="btn btn-primary" type="submit" /></p>
</form>
[% END # / proposeimport %]
@ -345,7 +345,7 @@
<form action="install.pl" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="step" value="3" />
<input type="hidden" name="op-cud" value="choosemarc" />
<input type="hidden" name="op" value="cud-choosemarc" />
<p><input value="Continue to the next step" class="btn btn-primary" type="submit" /></p>
</form>
[% END %]

View File

@ -7,7 +7,7 @@
<form name="f" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="do_search" />
<input type="hidden" name="op" value="cud-do_search" />
<input type="hidden" name="type" value="intranet" />
<div class="details">
<h2>Search on</h2>

View File

@ -94,7 +94,7 @@
<div>
<fieldset class="rows" style="border-bottom: 0px; border: 0px;">
<ol><li id="description">
<input type="hidden" name="op-cud" value="add" />
<input type="hidden" name="op" value="cud-add" />
<input type="hidden" name="batch_id" value="[% batch_id | html %]" />
<label for="description">Batch description: </label>
<input type="text" name="description" value="[% description | html %]"> <span id="change-status"></span>

View File

@ -39,7 +39,7 @@
<h1>Print barcode range</h1>
<form name="add_by_number" action="/cgi-bin/koha/labels/label-edit-batch.pl" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="add" />
<input type="hidden" name="op" value="cud-add" />
<fieldset class="rows">
<ol>
<li>

View File

@ -73,7 +73,7 @@
</h3>
<form name="exporting" method="post" action="/cgi-bin/koha/labels/label-print.pl">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="export" />
<input type="hidden" name="op" value="cud-export" />
<input type="hidden" name="referer" value="[% referer | html %]" />
[% FOREACH batch_id IN batch_ids %]
<input type="hidden" name="batch_id" value="[% batch_id.batch_id | html %]" />

View File

@ -21,7 +21,7 @@
<form name="f" method="post" action="/cgi-bin/koha/labels/label-item-search.pl">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="do_search" />
<input type="hidden" name="op" value="cud-do_search" />
<input type="hidden" name="batch_id" value="[% batch_id | html %]" />
<input type="hidden" name="type" value="[% type | html %]" />

View File

@ -64,7 +64,7 @@
<form id="add-api-key" action="/cgi-bin/koha/members/apikeys.pl" method="post" style="display:none">
<input type="hidden" name="patron_id" value="[% patron.id | html %]" />
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="generate" />
<input type="hidden" name="op" value="cud-generate" />
<fieldset class="brief">
<legend>Generate new client id/secret pair</legend>
<ol>
@ -103,7 +103,7 @@
<input type="hidden" name="patron_id" value="[% patron.id | html %]" />
<input type="hidden" name="key" value="[% key.id | html %]" />
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="delete" />
<input type="hidden" name="op" value="cud-delete" />
<button class="btn btn-default btn-xs delete" type="submit"><i class="fa fa-trash-can"></i> Delete</button>
</form>
<form action="/cgi-bin/koha/members/apikeys.pl" method="post">
@ -111,10 +111,10 @@
<input type="hidden" name="key" value="[% key.id | html %]" />
[% INCLUDE 'csrf-token.inc' %]
[% IF key.active %]
<input type="hidden" name="op-cud" value="revoke" />
<input type="hidden" name="op" value="cud-revoke" />
<button class="btn btn-default btn-xs" type="submit"><i class="fa fa-times"></i> Revoke</button>
[% ELSE %]
<input type="hidden" name="op-cud" value="activate" />
<input type="hidden" name="op" value="cud-activate" />
<button class="btn btn-default btn-xs" type="submit"><i class="fa fa-play"></i> Activate</button>
[% END %]
</form>

View File

@ -87,7 +87,7 @@
<fieldset class="rows">
<legend>Upload new file</legend>
<ol>
<li><input type="hidden" name="op-cud" value="upload" />
<li><input type="hidden" name="op" value="cud-upload" />
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" />
<input type="hidden" name="MAX_FILE_SIZE" value="2000000" />

View File

@ -115,7 +115,7 @@
[% IF CAN_user_tools_edit_patrons %]
<form id="patron_batchmod_form" method="post" action="/cgi-bin/koha/tools/modborrowers.pl">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="show" />
<input type="hidden" name="op" value="cud-show" />
<textarea style="display:none" id="borrowernumberlist" name="borrowernumberlist"></textarea>
</form>
[% END %]

View File

@ -254,11 +254,11 @@ legend:hover {
<input type="hidden" name="step" value="[% step | html %]" />
[% END %]
[% IF ( opadd ) %]
<input type="hidden" name="op-cud" value="insert" />
<input type="hidden" name="op" value="cud-insert" />
[% ELSIF ( opduplicate ) %]
<input type="hidden" name="op-cud" value="insert" />
<input type="hidden" name="op" value="cud-insert" />
[% ELSE %]
<input type="hidden" name="op-cud" value="save" />
<input type="hidden" name="op" value="cud-save" />
[% IF step == 4 || step == 5 || step == 6 || step == 2 || step == 1 || step == 7 %]
[%# Only put the card number if we arent showing it in the form later %]
[% IF borrower_data.cardnumber %]

View File

@ -90,7 +90,7 @@
<div class="notice">
<form id="resend_notice[% QUEUED_MESSAGE.message_id | html %]" action="/cgi-bin/koha/members/notices.pl?borrowernumber=[% borrowernumber | html %]" method="POST">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="resend_notice" />
<input type="hidden" name="op" value="cud-resend_notice" />
<input type="hidden" name="borrowernumber" value="[% borrowernumber | html %]" />
<input type="hidden" name="message_id" value="[% QUEUED_MESSAGE.message_id | html %]" />
</form>

View File

@ -60,7 +60,7 @@
<form id="two-factor-auth" action="/cgi-bin/koha/members/two_factor_auth.pl" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op-cud" value="disable-2FA" />
<input type="hidden" name="op" value="cud-disable-2FA" />
<input type="submit" value="Disable two-factor authentication" />
</form>
</div>

View File

@ -42,7 +42,7 @@
[% END %]
</tbody>
</table>
<input type="hidden" name="op-cud" value="update" />
<input type="hidden" name="op" value="cud-update" />
<input type="hidden" name="borrowernumber" value="[% borrowernumber | html %]" />
<input type="hidden" name="cattype" value="[% cattype | html %]" />
<fieldset class="action">

View File

@ -38,7 +38,7 @@
[% INCLUDE 'csrf-token.inc' %]
<fieldset class="rows" >
<input type="hidden" name="step" value="1"/>
<input type="hidden" name="op-cud" value="add_validate_library"/>
<input type="hidden" name="op" value="cud-add_validate_library"/>
<ol>
<li>
<label for="branchcode" class="required">Library code: </label>

View File

@ -50,7 +50,7 @@
[% INCLUDE 'csrf-token.inc' %]
<fieldset class="rows">
<input type="hidden" name="step" value="2" />
<input type="hidden" name="op-cud" value="add_validate_category" />
<input type="hidden" name="op" value="cud-add_validate_category" />
<ol>
<li>
<label for="categorycode" class="required">Category code: </label>

View File

@ -42,7 +42,7 @@
[% INCLUDE 'csrf-token.inc' %]
<fieldset class="rows">
<input type="hidden" name="step" value="3" />
<input type="hidden" name="op-cud" value="add_validate_patron" />
<input type="hidden" name="op" value="cud-add_validate_patron" />
<h3>Administrator identity</h3>
<ol>
<li>

View File

@ -43,7 +43,7 @@
[% INCLUDE 'csrf-token.inc' %]
<fieldset class="rows">
<input type="hidden" name="step" value="4" />
<input type="hidden" name="op-cud" value="add_validate_itemtype" />
<input type="hidden" name="op" value="cud-add_validate_itemtype" />
<ol>
<li>
<label for="itemtype" class="required">Item type code: </label>

View File

@ -59,7 +59,7 @@
[% INCLUDE 'csrf-token.inc' %]
<fieldset class="rows">
<input type="hidden" name="step" value="5"/>
<input type="hidden" name="op-cud" value="add_validate_circ_rule" />
<input type="hidden" name="op" value="cud-add_validate_circ_rule" />
<ol>
<li>
<label for="branchname" class="required"> Library branch</label>

Some files were not shown because too many files have changed in this diff Show More