[% USE Koha %] [% USE raw %] [% USE Asset %] [% SET footerjs = 1 %] [% USE TablesSettings %] [% INCLUDE 'doc-head-open.inc' %] [% IF op == 'add_form' %] [% IF library %] Modify library [% ELSE %] New library [% library.branchcode | html %] [% END %] › [% ELSIF op == 'delete_confirm' %] Confirm deletion of library '[% library.branchcode | html %]' › [% END %] Libraries › Administration › Koha [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'prefs-admin-search.inc' %]
[% FOREACH m IN messages %]
[% SWITCH m.code %] [% CASE 'error_on_update' %] An error occurred when updating this library. Perhaps it already exists. [% CASE 'error_on_insert' %] An error occurred when adding this library. The branchcode might already exist. [% CASE 'error_on_delete' %] An error occurred when deleting this library. Check the logs. [% CASE 'success_on_update' %] Library updated successfully. [% CASE 'success_on_insert' %] Library added successfully. [% CASE 'success_on_delete' %] Library deleted successfully. [% CASE 'cannot_delete_library' %] This library cannot be deleted. Patrons or items are still using it [% IF m.data.patrons_count and m.data.items_count %] ([% m.data.patrons_count | html %] patrons and [% m.data.items_count | html %] items). [% ELSIF m.data.patrons_count %] ([% m.data.patrons_count | html %] patrons). [% ELSIF m.data.items_count %] ([% m.data.items_count | html %] items). [% END %] [% CASE 'error_on_update_category' %] An error occurred when updating this library category. Perhaps it already exists. [% CASE 'error_on_insert_category' %] An error occurred when adding this library category. The categorycode might already exist. [% CASE 'error_on_delete_category' %] An error occurred when deleting this library category. Check the logs. [% CASE 'success_on_update_category' %] Library category updated successfully. [% CASE 'success_on_insert_category' %] Library category added successfully. [% CASE 'success_on_delete_category' %] Library category deleted successfully. [% CASE 'cannot_delete_category' %] This library category cannot be deleted. [% m.data.libraries_count | html %] libraries are still using it. [% CASE %] [% m.code | html %] [% END %]
[% END %] [% IF op == 'list' || op == 'view' %]
New library [% IF op == 'view' && library %] Edit library [% END %]
[% END %] [% IF op == 'add_form' %]

[% IF library %]Modify library[% ELSE %]New library[% END %]

[% IF library %] [% END %]
  1. [% IF library %] Library code: [% library.branchcode | html %] [% ELSE %] Required [% END %]
  2. [% IF library %] [% ELSE %] [% END %] Required
[% IF categories %]
Group(s):
    [% FOREACH category IN categories %]
  1. [% IF category and selected_categorycodes.grep(category.categorycode).size %] [% ELSE %] [% END %]
    [% category.codedescription | html %]
  2. [% END %]
[% END %]
  1. [% IF (Koha.Preference('ILLModule')) %]
  2. [% IF ( CAN_user_parameters_manage_sysprefs ) %] Default: ILLDefaultStaffEmail system preference [% ELSE %] Default: ILLDefaultStaffEmail system preference [% END %]
  3. [% END %]
  4. [% IF ( CAN_user_parameters_manage_sysprefs ) %] Default: ReplyToDefault system preference [% ELSE %] Default: ReplyToDefault system preference [% END %]
  5. [% IF ( CAN_user_parameters_manage_sysprefs ) %] Default: ReturnpathDefault system preference [% ELSE %] Default: ReturnpathDefault system preference [% END %]
  6. Can be entered as a single IP, or a subnet such as 192.168.1.*
  7. [% IF ( CAN_user_parameters_manage_sysprefs ) %] If not filled in defaults to system preference MARCOrgCode. [% ELSE %] If not filled in defaults to system preference MARCOrgCode. [% END %] You can obtain your code from Library of Congress.
  8. Set to 'yes' to show this library on the Libraries page in the OPAC.
Cancel
[% END %] [% IF op == 'delete_confirm' and not ( items_count or patrons_count )%]

Are you sure you want to delete [% library.branchname | html %] ([% library.branchcode | html %])?

[% END %] [% IF op == 'list' %]

Libraries

[% IF libraries_count > 0 %]
Name Code Address MARC organization code IP Pickup location Public SMTP server Actions
[% ELSE %]
There are no libraries defined. Start defining libraries.
[% END %] [% END %] [% IF op == 'view' && library %]

[% library.branchname | html %]

  1. Library code: [% library.branchcode | html %]
  2. Name: [% library.branchname | html %]
  3. Category: [% category.categoryname | html %]
  4. Address line 1: [% library.branchaddress1 | html %]
  5. Address line 2: [% library.branchaddress2 | html %]
  6. Address line 3: [% library.branchaddress3 | html %]
  7. City: [% library.branchcity | html %]
  8. State: [% library.branchstate | html %]
  9. ZIP/Postal code: [% library.branchzip | html %]
  10. Country: [% library.branchcountry | html %]
  11. Phone: [% library.branchphone | html %]
  12. Fax: [% library.branchfax | html %]
  1. Email: [% IF ( library.branchemail ) %] [% library.branchemail | html %] [% END %]
  2. ILL staff email: [% IF ( library.branchillemail ) %] [% library.branchillemail | html %] [% END %]
  3. Reply-To: [% IF ( library.branchreplyto ) %] [% library.branchreplyto | html %] [% END %]
  4. Return-Path: [% library.branchreturnpath | html %]
  5. SMTP server: [% smtp_server.name | html %]
  6. URL: [% IF ( library.branchurl ) %] [% library.branchurl | html %] [% END %]
  7. IP: [% library.branchip | html %]
  8. MARC organization code [% library.marcorgcode | html %]
  9. Notes: [% library.branchnotes | html %]
  10. Pickup location: [% IF ( library.pickup_location ) %] Yes [% ELSE %] No [% END %]
  11. Public: [% IF ( library.public ) %] Yes [% ELSE %] No [% END %]
[% IF ( library.opac_info ) %]

OPAC information

[% library.opac_info | $raw %]
[% END %] [% ELSIF op == 'view' %]
This library does not exist.
[% END %]
[% MACRO jsinclude BLOCK %] [% Asset.js("js/admin-menu.js") | $raw %] [% INCLUDE 'datatables.inc' %] [% INCLUDE 'columns_settings.inc' %] [% Asset.js("lib/tiny_mce/tinymce.min.js") | $raw %] [% INCLUDE 'str/tinymce_i18n.inc' %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]