[% USE raw %]
[% USE Asset %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
Koha › Administration › Classification sources
[% IF op == 'add_source' %]
›
[% IF class_source %]Modify classification source[% ELSE %]Add classification source[% END %]
[% ELSIF op == 'add_sort_rule' %]
›
[% IF sort_rule %]Modify filing rule[% ELSE %]Add filing rule[% END %]
[% ELSIF op == 'add_split_rule' %]
›
[% IF split_rule %]Modify splitting rule[% ELSE %]Add splitting rule[% END %]
[% END %]
[% INCLUDE 'doc-head-close.inc' %]
[% INCLUDE 'header.inc' %]
[% INCLUDE 'prefs-admin-search.inc' %]
Home
› Administration
› Classification sources
[% IF op == 'add_source' %]
› [% IF class_source %]Modify classification source[% ELSE %]Add classification source[% END %]
[% ELSIF op == 'add_sort_rule' %]
› [% IF sort_rule %]Modify filing rule[% ELSE %]Add filing rule[% END %]
[% ELSIF op == 'add_split_rule' %]
› [% IF split_rule %]Modify splitting rule[% ELSE %]Add splitting rule[% END %]
[% END %]
[% FOR m IN messages %]
[% SWITCH m.code %]
[% CASE 'error_on_update_source' %]
An error occurred when updating this classification source.
[% CASE 'success_on_update_source' %]
Classification source updated successfully.
[% CASE 'error_on_insert_source' %]
An error occurred when adding this classification source. Perhaps the code already exists?
[% CASE 'success_on_insert_source' %]
Classification source added successfully.
[% CASE 'error_on_delete_source' %]
An error occurred when deleting this classification source.
[% CASE 'success_on_delete_source' %]
Classification source deleted successfully.
[% CASE 'error_on_update_sort_rule' %]
An error occurred when updating this filing rule.
[% CASE 'success_on_update_sort_rule' %]
Filing rule updated successfully.
[% CASE 'error_on_insert_sort_rule' %]
An error occurred when adding this filing rule. Perhaps the code already exists?
[% CASE 'success_on_insert_sort_rule' %]
Filing rule added successfully.
[% CASE 'error_on_delete_sort_rule' %]
An error occurred when deleting this filing rule. Perhaps it is used by at least one classification source?
[% CASE 'success_on_delete_sort_rule' %]
Filing rule deleted successfully.
[% CASE 'error_on_update_split_rule' %]
An error occurred when updating this splitting rule.
[% CASE 'success_on_update_split_rule' %]
Splitting rule updated successfully.
[% CASE 'error_on_insert_split_rule' %]
An error occurred when adding this splitting rule. Perhaps the code already exists?
[% CASE 'success_on_insert_split_rule' %]
Splitting rule added successfully.
[% CASE 'error_on_delete_split_rule' %]
An error occurred when deleting this splitting rule. Perhaps it is used by at least one classification source?
[% CASE 'success_on_delete_split_rule' %]
Splitting rule deleted successfully.
[% CASE %]
[% m.code | html %]
[% END %]
[% END %]
[% IF op == 'add_source' %]
[% IF class_source %]
Modify classification source
[% ELSE %]
Add classification source
[% END %]
[% END %]
[% IF op == 'add_sort_rule' %]
[% IF sort_rule %]
Modify filing rule
[% ELSE %]
Add filing rule
[% END %]
[% END %]
[% IF op == 'add_split_rule' %]
[% IF split_rule %]