[% USE raw %] [% USE Asset %] [% USE Koha %] [% PROCESS 'i18n.inc' %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] [% FILTER collapse %] [% IF ( add_form ) %] [% IF ( modify ) %] [% tx("Modify system preference '{system_preference}'", { system_preference = searchfield }) | html %] [% ELSE %] [% t("New system preference") | html %] [% END %] › [% END %] [% IF ( delete_confirm ) %] [% tx("Confirm deletion of system preference '{system_preference}'", { system_preference = searchfield }) | html %] › [% END %] [% IF ( delete_confirmed ) %] [% t("System preference deleted") | html %] › [% END %] [% t("Local use system preferences") | html %] › [% t("Administration") | html %] › [% t("Koha") | html %] [% END %] [% INCLUDE 'doc-head-close.inc' %] [% WRAPPER 'header.inc' %] [% INCLUDE 'prefs-admin-search.inc' %] [% END %] [% WRAPPER 'sub-header.inc' %] [% WRAPPER breadcrumbs %] [% WRAPPER breadcrumb_item %] Administration [% END %] [% IF ( add_form || delete_confirm || delete_confirmed ) %] [% WRAPPER breadcrumb_item %] Local use system preferences [% END %] [% END %] [% IF ( add_form ) %] [% WRAPPER breadcrumb_item bc_active= 1 %] [% IF ( modify ) %] [% tx("Modify system preference '{system_preference}'", { system_preference = searchfield }) | html %] [% ELSE %] New system preference [% END %] [% END %] [% END %] [% IF ( delete_confirm ) %] [% WRAPPER breadcrumb_item %] [% searchfield | html %] [% END %] [% WRAPPER breadcrumb_item bc_active= 1 %] [% tx("Confirm deletion of system preference '{system_preference}'", { system_preference = searchfield }) | html %] [% END %] [% END %] [% IF ( delete_confirmed ) %] [% WRAPPER breadcrumb_item bc_active= 1 %] System preference deleted [% END %] [% END %] [% IF ( else ) %] [% WRAPPER breadcrumb_item bc_active= 1 %] Local use system preferences [% END %] [% END %] [% END #/ WRAPPER breadcrumbs %] [% END #/ WRAPPER sub-header.inc %] [% INCLUDE 'blocking_errors.inc' %]
[% INCLUDE 'messages.inc' %] [% IF ( add_form ) %]

[% IF ( modify ) %] [% tx("Modify system preference '{system_preference}'", { system_preference = searchfield }) | html %] [% ELSE %] New local use system preference [% END %]

[% IF ( type_upload ) %]
[% ELSE %] [% END %] [% INCLUDE 'csrf-token.inc' %]
System preference details
  1. [% IF ( searchfield ) %]Variable: [% searchfield | html %] [% ELSE %][% END %]
  2. [% IF ( type_free ) %] [% ELSIF ( type_upload ) %] [% ELSIF ( type_textarea || type_htmlarea ) %] [% IF ( type_htmlarea ) && ( Koha.Preference('UseWYSIWYGinSystemPreferences') ) %] [% ELSE %] [% END %] [% ELSIF ( type_choice ) %] [% END %] [% IF ( type_langselector ) %] [% IF ( languages_loop ) %] [% FOREACH languages_loo IN languages_loop %] [% END %]
    [% IF ( languages_loo.plural ) %] [% IF ( languages_loo.native_description ) %][% languages_loo.native_description | html %][% ELSE %][% languages_loo.rfc4646_subtag | html %][% END %] [% FOREACH sublanguages_loo IN languages_loo.sublanguages_loop %]
    [% IF ( sublanguages_loo.sublanguage_current ) %] [% ELSE %] [% END %]
    [% END %] [% ELSE %] [% IF ( languages_loo.current ) %] [% ELSE %] [% END %] [% END %]
    [% END %] [% END %] [% IF ( type_yesno ) %] [% IF ( value_yes ) %] [% ELSE %] [% END %] [% IF ( value_no ) %] [% ELSE %] [% END %] [% END %]
  3. Note: change the variable type to one of the dropdown values as needed
  4. (a choice list for choice (separated by |) or cols|rows for texarea)
[% IF ( return_tab ) %] Cancel [% ELSE %] Cancel [% END %]
[% END %] [% IF ( delete_confirm ) %]

[% tx("Confirm deletion of system preference '{system_preference}'?", { system_preference = searchfield }) | html %]

Variable name: [% searchfield | html %]
Value: [% Tvalue | html %]
[% INCLUDE 'csrf-token.inc' %]
[% END %] [% IF ( delete_confirmed ) %]

Data deleted

[% END %] [% IF ( else ) %] [% IF ( tab != 'local_use' ) %]

Please click on one of the tabs at the left side of this form.

[% ELSE %]

Local use system preferences

[% END %] [% FOREACH loo IN loop %] [% IF ( loo.oneline ) %] [% END %]
Preference Explanation Value Actions
[% loo.variable | html %] [% loo.explanation | html %] [% ELSE %] [% END %] [% IF ( loo.type_upload ) %]
[% ELSE %] [% END %] [% INCLUDE 'csrf-token.inc' %] [% IF ( loo.type_free ) %] [% END %] [% IF ( loo.type_upload ) %] [% END %] [% IF ( loo.type_textarea ) || ( loo.type_htmlarea ) %] [% IF ( loo.type_htmlarea ) && ( Koha.Preference('UseWYSIWYGinSystemPreferences') ) %] [% ELSE %] [% END %] [% END %] [% IF ( loo.type_choice ) %] [% END %] [% IF ( loo.type_langselector ) %] [% IF ( loo.languages_loop ) %] [% FOREACH languages_loo IN loo.languages_loop %] [% END %]
[% IF ( languages_loo.plural ) %] [% IF ( languages_loo.native_description ) %][% languages_loo.native_description | html %][% ELSE %][% languages_loo.rfc4646_subtag | html %][% END %] [% FOREACH sublanguages_loo IN languages_loo.sublanguages_loop %]
[% IF ( sublanguages_loo.sublanguage_current ) %] [% ELSE %] [% END %]
[% END %] [% ELSE %] [% IF ( languages_loo.current ) %] [% ELSE %] [% END %] [% END %]
[% END %] [% END %] [% IF ( loo.type_yesno ) %] [% IF ( loo.value_yes ) %] [% ELSE %] [% END %] [% IF ( loo.value_no ) %] [% ELSE %] [% END %] [% END %]
Edit Delete
[% IF tab == 'local_use' %]
[% END %] [% END %]
[% MACRO jsinclude BLOCK %] [%# Add WYSIWYG editor for htmlarea system preferences %] [% INCLUDE 'wysiwyg-systempreferences.inc' %] [% IF ( else ) %] [% INCLUDE 'datatables.inc' %] [% END %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]