new editor for patron attribute types
authorGalen Charlton <galen.charlton@liblime.com>
Mon, 12 May 2008 13:32:51 +0000 (08:32 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Mon, 12 May 2008 14:03:03 +0000 (09:03 -0500)
commite30c9d00dde2fd25ad2ba8f953dc5d79b5cf2bbe
treef8633c04ffc7596db88d5c56540375011995d868
parent7e8ff3f4b8d640db1fabf31d083c9c91a4decc11
new editor for patron attribute types

Added new script under the Administration menu
to create, update, and delete patron attribute types.

Some things to note:

- once an attribute is created, its code cannot be changed
- the repeatibility and unique_id settings of an
  attribute type cannot be changed after creation -
  this is to avoid having to deal with changing
  constraints if an attribute type is already in use
  by patron records
- an attribute type cannot be deleted if it is
  used by any patron records
- this administration page is always displayed regardless
  of the value of the ExtendedPatronAttributes syspref.  If
  the syspref is off, the page will prompt the superlibrarian
  to turn it on if desired.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
admin/patron-attr-types.pl [new file with mode: 0755]
koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc
koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tmpl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tmpl [new file with mode: 0644]