View | Details | Raw Unified | Return to bug 6190
Collapse All | Expand All

(-)a/admin/systempreferences.pl (+1 lines)
Lines 223-228 $tabsysprefs{intranetreadinghistory} = "Patrons"; Link Here
223
$tabsysprefs{NotifyBorrowerDeparture}      = "Patrons";
223
$tabsysprefs{NotifyBorrowerDeparture}      = "Patrons";
224
$tabsysprefs{memberofinstitution}          = "Patrons";
224
$tabsysprefs{memberofinstitution}          = "Patrons";
225
$tabsysprefs{BorrowerMandatoryField}       = "Patrons";
225
$tabsysprefs{BorrowerMandatoryField}       = "Patrons";
226
$tabsysprefs{BorrowerUnwantedField}        = "Patrons";
226
$tabsysprefs{borrowerRelationship}         = "Patrons";
227
$tabsysprefs{borrowerRelationship}         = "Patrons";
227
$tabsysprefs{BorrowersTitles}              = "Patrons";
228
$tabsysprefs{BorrowersTitles}              = "Patrons";
228
$tabsysprefs{patronimages}                 = "Patrons";
229
$tabsysprefs{patronimages}                 = "Patrons";
(-)a/installer/data/mysql/de-DE/mandatory/sysprefs.sql (-1 / +2 lines)
Lines 20-25 INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES Link Here
20
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('autoMemberNum',1,'If ON, patron number is auto-calculated','','YesNo');
20
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('autoMemberNum',1,'If ON, patron number is auto-calculated','','YesNo');
21
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BiblioDefaultView','normal','Choose the default detail view in the catalog; choose between normal, marc or isbd','normal|marc|isbd','Choice');
21
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BiblioDefaultView','normal','Choose the default detail view in the catalog; choose between normal, marc or isbd','normal|marc|isbd','Choice');
22
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowerMandatoryField','zipcode|surname|cardnumber','Choose the mandatory fields for a patron\'s account',NULL,'free');
22
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowerMandatoryField','zipcode|surname|cardnumber','Choose the mandatory fields for a patron\'s account',NULL,'free');
23
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowerUnwantedField','','Name the fields you don\'t need to store for a patron\'s account',NULL,'free');
23
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('borrowerRelationship','Vater|Mutter','Define valid relationships between a guarantor & a guarantee (separated by | or ,)','','free');
24
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('borrowerRelationship','Vater|Mutter','Define valid relationships between a guarantor & a guarantee (separated by | or ,)','','free');
24
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowersLog',1,'If ON, log edit/create/delete actions on patron data',NULL,'YesNo');
25
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowersLog',1,'If ON, log edit/create/delete actions on patron data',NULL,'YesNo');
25
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('casAuthentication', '0', 'Enable or disable CAS authentication', '', 'YesNo');
26
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('casAuthentication', '0', 'Enable or disable CAS authentication', '', 'YesNo');
Lines 311-314 INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES Link Here
311
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AlternateHoldingsField','','The MARC field/subfield that contains alternate holdings information for bibs taht do not have items attached (e.g. 852abchi for libraries converting from MARC Magician).',NULL,'free');
312
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AlternateHoldingsField','','The MARC field/subfield that contains alternate holdings information for bibs taht do not have items attached (e.g. 852abchi for libraries converting from MARC Magician).',NULL,'free');
312
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AlternateHoldingsSeparator','','The string to use to separate subfields in alternate holdings displays.',NULL,'free');
313
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AlternateHoldingsSeparator','','The string to use to separate subfields in alternate holdings displays.',NULL,'free');
313
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OpacHiddenItems' ,'','This syspref allows to define custom rules for hiding specific items at opac. See docs/opac/O    pacHiddenItems.txt for more informations.','','Textarea');
314
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OpacHiddenItems' ,'','This syspref allows to define custom rules for hiding specific items at opac. See docs/opac/O    pacHiddenItems.txt for more informations.','','Textarea');
314
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('numSearchRSSResults',50,'Specify the maximum number of results to display on a RSS page of results',NULL,'Integer');
315
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('numSearchRSSResults',50,'Specify the maximum number of results to display on a RSS page of results',NULL,'Integer');
(-)a/installer/data/mysql/en/mandatory/sysprefs.sql (+1 lines)
Lines 20-25 INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES Link Here
20
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('autoMemberNum',1,'If ON, patron number is auto-calculated','','YesNo');
20
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('autoMemberNum',1,'If ON, patron number is auto-calculated','','YesNo');
21
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BiblioDefaultView','normal','Choose the default detail view in the catalog; choose between normal, marc or isbd','normal|marc|isbd','Choice');
21
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BiblioDefaultView','normal','Choose the default detail view in the catalog; choose between normal, marc or isbd','normal|marc|isbd','Choice');
22
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowerMandatoryField','zipcode|surname|cardnumber','Choose the mandatory fields for a patron\'s account',NULL,'free');
22
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowerMandatoryField','zipcode|surname|cardnumber','Choose the mandatory fields for a patron\'s account',NULL,'free');
23
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowerUnwantedField','','Name the fields you don\'t need to store for a patron\'s account',NULL,'free');
23
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('borrowerRelationship','father|mother','Define valid relationships between a guarantor & a guarantee (separated by | or ,)','','free');
24
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('borrowerRelationship','father|mother','Define valid relationships between a guarantor & a guarantee (separated by | or ,)','','free');
24
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowersLog',1,'If ON, log edit/create/delete actions on patron data',NULL,'YesNo');
25
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowersLog',1,'If ON, log edit/create/delete actions on patron data',NULL,'YesNo');
25
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('casAuthentication', '0', 'Enable or disable CAS authentication', '', 'YesNo');
26
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('casAuthentication', '0', 'Enable or disable CAS authentication', '', 'YesNo');
(-)a/installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql (-1 / +2 lines)
Lines 19-24 INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES Link Here
19
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AutomaticItemReturn', '1', 'Ce paramètre permet de faire les retours vers le site propriétaire automatiquement', '', 'YesNo');
19
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AutomaticItemReturn', '1', 'Ce paramètre permet de faire les retours vers le site propriétaire automatiquement', '', 'YesNo');
20
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('autoMemberNum', '1', 'Si ce paramètre est activé, le numéro des adhérents est automatiquement calculé. Ne sera pas activé si vous avez des cartes pré-imprimées.', '', 'YesNo');
20
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('autoMemberNum', '1', 'Si ce paramètre est activé, le numéro des adhérents est automatiquement calculé. Ne sera pas activé si vous avez des cartes pré-imprimées.', '', 'YesNo');
21
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowerMandatoryField', '', 'Liste les champs obligatoires dans la grille de saisie des adhérents (séparés par | ou ,)', 'cardnumber|surname|address', 'free');
21
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowerMandatoryField', '', 'Liste les champs obligatoires dans la grille de saisie des adhérents (séparés par | ou ,)', 'cardnumber|surname|address', 'free');
22
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowerUnwantedField','','Name the fields you don\'t need to store for a patron\'s account',NULL,'free');
22
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('borrowerRelationship', '', 'Liste les relations entre les garants et leurs garantis (separées par | ou ,)', 'Père|Mère|grand-parent|Tuteur légal|Autre\r\n', 'free');
23
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('borrowerRelationship', '', 'Liste les relations entre les garants et leurs garantis (separées par | ou ,)', 'Père|Mère|grand-parent|Tuteur légal|Autre\r\n', 'free');
23
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowersLog', '0', 'Activer ce paramètre pour enregistrer les actions sur les lecteurs', '', 'YesNo');
24
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowersLog', '0', 'Activer ce paramètre pour enregistrer les actions sur les lecteurs', '', 'YesNo');
24
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowersTitles', '', 'Liste les titres de politesse (séparés par | ou ,)', 'M|Mme|Mlle', 'free');
25
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowersTitles', '', 'Liste les titres de politesse (séparés par | ou ,)', 'M|Mme|Mlle', 'free');
Lines 312-315 INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES Link Here
312
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AlternateHoldingsField','','The MARC field/subfield that contains alternate holdings information for bibs taht do not have items attached (e.g. 852abchi for libraries converting from MARC Magician).',NULL,'free');
313
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AlternateHoldingsField','','The MARC field/subfield that contains alternate holdings information for bibs taht do not have items attached (e.g. 852abchi for libraries converting from MARC Magician).',NULL,'free');
313
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AlternateHoldingsSeparator','','The string to use to separate subfields in alternate holdings displays.',NULL,'free');
314
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AlternateHoldingsSeparator','','The string to use to separate subfields in alternate holdings displays.',NULL,'free');
314
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OpacHiddenItems','','This syspref allows to define custom rules for hiding specific items at opac. See docs/opac/OpacHiddenItems.txt for more informations.','','Textarea');
315
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OpacHiddenItems','','This syspref allows to define custom rules for hiding specific items at opac. See docs/opac/OpacHiddenItems.txt for more informations.','','Textarea');
315
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('numSearchRSSResults',50,'Specify the maximum number of results to display on a RSS page of results',NULL,'Integer');
316
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('numSearchRSSResults',50,'Specify the maximum number of results to display on a RSS page of results',NULL,'Integer');
(-)a/installer/data/mysql/it-IT/necessari/sysprefs.sql (+1 lines)
Lines 35-40 insert into `systempreferences` (`variable`, `value`, `options`, `explanation`, Link Here
35
insert into `systempreferences` (`variable`, `value`, `options`, `explanation`, `type`) values('BiblioAddsAuthorities','1','','Se ON, aggiungendo un nuovo record bibliografico il sistema controlla se ci sono i  records di authority corrispondenti per i campi collegati con l’authority. Se non ci sono, gli equivalenti rcords di autority sono creati al volo.','YesNo');
35
insert into `systempreferences` (`variable`, `value`, `options`, `explanation`, `type`) values('BiblioAddsAuthorities','1','','Se ON, aggiungendo un nuovo record bibliografico il sistema controlla se ci sono i  records di authority corrispondenti per i campi collegati con l’authority. Se non ci sono, gli equivalenti rcords di autority sono creati al volo.','YesNo');
36
insert into `systempreferences` (`variable`, `value`, `options`, `explanation`, `type`) values('BiblioDefaultView','normal','normal|marc|isbd','Per scegliere la visualizzazione di default della scheda dettagliata  nel catalogo; scegliere tra normal, marc o isbd.','Choice');
36
insert into `systempreferences` (`variable`, `value`, `options`, `explanation`, `type`) values('BiblioDefaultView','normal','normal|marc|isbd','Per scegliere la visualizzazione di default della scheda dettagliata  nel catalogo; scegliere tra normal, marc o isbd.','Choice');
37
insert into `systempreferences` (`variable`, `value`, `options`, `explanation`, `type`) values('BorrowerMandatoryField','city|surname|cardnumber','','Per decidere quali campi sono obbligatori nell\'account di un utente.','free');
37
insert into `systempreferences` (`variable`, `value`, `options`, `explanation`, `type`) values('BorrowerMandatoryField','city|surname|cardnumber','','Per decidere quali campi sono obbligatori nell\'account di un utente.','free');
38
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowerUnwantedField','','Name the fields you don\'t need to store for a patron\'s account',NULL,'free');
38
insert into `systempreferences` (`variable`, `value`, `options`, `explanation`, `type`) values('borrowerRelationship','father|mother','','Definisce la relazione valida tra garante e garanzia (separali  con | o ,)','free');
39
insert into `systempreferences` (`variable`, `value`, `options`, `explanation`, `type`) values('borrowerRelationship','father|mother','','Definisce la relazione valida tra garante e garanzia (separali  con | o ,)','free');
39
insert into `systempreferences` (`variable`, `value`, `options`, `explanation`, `type`) values('BorrowersLog','0','','Se ON, logga le azioni di modifica/creazione/cancellazione sui dati utente.','YesNo');
40
insert into `systempreferences` (`variable`, `value`, `options`, `explanation`, `type`) values('BorrowersLog','0','','Se ON, logga le azioni di modifica/creazione/cancellazione sui dati utente.','YesNo');
40
insert into `systempreferences` (`variable`, `value`, `options`, `explanation`, `type`) values('BorrowersTitles','Sig|Sig.ra|Sig.na','','Definisce i titoli appropriati per gli utenti','free');
41
insert into `systempreferences` (`variable`, `value`, `options`, `explanation`, `type`) values('BorrowersTitles','Sig|Sig.ra|Sig.na','','Definisce i titoli appropriati per gli utenti','free');
(-)a/installer/data/mysql/pl-PL/mandatory/sysprefs.sql (-1 / +2 lines)
Lines 20-25 INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES Link Here
20
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('autoMemberNum',1,'If ON, patron number is auto-calculated','','YesNo');
20
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('autoMemberNum',1,'If ON, patron number is auto-calculated','','YesNo');
21
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BiblioDefaultView','normal','Choose the default detail view in the catalog; choose between normal, marc or isbd','normal|marc|isbd','Choice');
21
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BiblioDefaultView','normal','Choose the default detail view in the catalog; choose between normal, marc or isbd','normal|marc|isbd','Choice');
22
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowerMandatoryField','zipcode|surname|cardnumber','Choose the mandatory fields for a patron\'s account',NULL,'free');
22
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowerMandatoryField','zipcode|surname|cardnumber','Choose the mandatory fields for a patron\'s account',NULL,'free');
23
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowerUnwantedField','','Name the fields you don\'t need to store for a patron\'s account',NULL,'free');
23
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('borrowerRelationship','father|mother','Define valid relationships between a guarantor & a guarantee (separated by | or ,)','','free');
24
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('borrowerRelationship','father|mother','Define valid relationships between a guarantor & a guarantee (separated by | or ,)','','free');
24
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowersLog',1,'If ON, log edit/create/delete actions on patron data',NULL,'YesNo');
25
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowersLog',1,'If ON, log edit/create/delete actions on patron data',NULL,'YesNo');
25
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('casAuthentication', '0', 'Enable or disable CAS authentication', '', 'YesNo');
26
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('casAuthentication', '0', 'Enable or disable CAS authentication', '', 'YesNo');
Lines 310-313 INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES Link Here
310
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AlternateHoldingsField','','The MARC field/subfield that contains alternate holdings information for bibs taht do not have items attached (e.g. 852abchi for libraries converting from MARC Magician).',NULL,'free');
311
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AlternateHoldingsField','','The MARC field/subfield that contains alternate holdings information for bibs taht do not have items attached (e.g. 852abchi for libraries converting from MARC Magician).',NULL,'free');
311
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AlternateHoldingsSeparator','','The string to use to separate subfields in alternate holdings displays.',NULL,'free');
312
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AlternateHoldingsSeparator','','The string to use to separate subfields in alternate holdings displays.',NULL,'free');
312
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OpacHiddenItems','','This syspref allows to define custom rules for hiding specific items at opac. See docs/opac/OpacHiddenItems.txt for more informations.','','Textarea');
313
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OpacHiddenItems','','This syspref allows to define custom rules for hiding specific items at opac. See docs/opac/OpacHiddenItems.txt for more informations.','','Textarea');
313
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('numSearchRSSResults',50,'Specify the maximum number of results to display on a RSS page of results',NULL,'Integer');
314
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('numSearchRSSResults',50,'Specify the maximum number of results to display on a RSS page of results',NULL,'Integer');
(-)a/installer/data/mysql/ru-RU/mandatory/system_preferences_full_optimal_for_install_only.sql (-1 / +2 lines)
Lines 35-40 INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES Link Here
35
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('autoMemberNum',1,'If ON, patron number is auto-calculated','','YesNo');
35
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('autoMemberNum',1,'If ON, patron number is auto-calculated','','YesNo');
36
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BiblioDefaultView','normal','Choose the default detail view in the catalog; choose between normal, marc or isbd','normal|marc|isbd','Choice');
36
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BiblioDefaultView','normal','Choose the default detail view in the catalog; choose between normal, marc or isbd','normal|marc|isbd','Choice');
37
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowerMandatoryField','surname|cardnumber','Choose the mandatory fields for a patron\'s account',NULL,'free');
37
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowerMandatoryField','surname|cardnumber','Choose the mandatory fields for a patron\'s account',NULL,'free');
38
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowerUnwantedField','','Name the fields you don\'t need to store for a patron\'s account',NULL,'free');
38
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('borrowerRelationship','father|mother','Define valid relationships between a guarantor & a guarantee (separated by | or ,)','','free');
39
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('borrowerRelationship','father|mother','Define valid relationships between a guarantor & a guarantee (separated by | or ,)','','free');
39
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowersLog',1,'If ON, log edit/create/delete actions on patron data',NULL,'YesNo');
40
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowersLog',1,'If ON, log edit/create/delete actions on patron data',NULL,'YesNo');
40
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('CataloguingLog',1,'If ON, log edit/create/delete actions on bibliographic data. WARNING: this feature is very resource consuming.',NULL,'YesNo');
41
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('CataloguingLog',1,'If ON, log edit/create/delete actions on bibliographic data. WARNING: this feature is very resource consuming.',NULL,'YesNo');
Lines 365-368 INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES Link Here
365
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AlternateHoldingsField','','The MARC field/subfield that contains alternate holdings information for bibs taht do not have items attached (e.g. 852abchi for libraries converting from MARC Magician).',NULL,'free');
366
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AlternateHoldingsField','','The MARC field/subfield that contains alternate holdings information for bibs taht do not have items attached (e.g. 852abchi for libraries converting from MARC Magician).',NULL,'free');
366
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AlternateHoldingsSeparator','','The string to use to separate subfields in alternate holdings displays.',NULL,'free');
367
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AlternateHoldingsSeparator','','The string to use to separate subfields in alternate holdings displays.',NULL,'free');
367
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OpacHiddenItems','','This syspref allows to define custom rules for hiding specific items at opac. See docs/opac/OpacHiddenItems.txt for more informations.','','Textarea');
368
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OpacHiddenItems','','This syspref allows to define custom rules for hiding specific items at opac. See docs/opac/OpacHiddenItems.txt for more informations.','','Textarea');
368
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('numSearchRSSResults',50,'Specify the maximum number of results to display on a RSS page of results',NULL,'Integer');
369
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('numSearchRSSResults',50,'Specify the maximum number of results to display on a RSS page of results',NULL,'Integer');
(-)a/installer/data/mysql/uk-UA/mandatory/system_preferences_full_optimal_for_install_only.sql (+1 lines)
Lines 34-39 INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES Link Here
34
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('autoMemberNum',1,'If ON, patron number is auto-calculated','','YesNo');
34
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('autoMemberNum',1,'If ON, patron number is auto-calculated','','YesNo');
35
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BiblioDefaultView','normal','Choose the default detail view in the catalog; choose between normal, marc or isbd','normal|marc|isbd','Choice');
35
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BiblioDefaultView','normal','Choose the default detail view in the catalog; choose between normal, marc or isbd','normal|marc|isbd','Choice');
36
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowerMandatoryField','surname|cardnumber','Choose the mandatory fields for a patron\'s account',NULL,'free');
36
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowerMandatoryField','surname|cardnumber','Choose the mandatory fields for a patron\'s account',NULL,'free');
37
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowerUnwantedField','','Name the fields you don\'t need to store for a patron\'s account',NULL,'free');
37
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('borrowerRelationship','father|mother','Define valid relationships between a guarantor & a guarantee (separated by | or ,)','','free');
38
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('borrowerRelationship','father|mother','Define valid relationships between a guarantor & a guarantee (separated by | or ,)','','free');
38
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowersLog',1,'If ON, log edit/create/delete actions on patron data',NULL,'YesNo');
39
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowersLog',1,'If ON, log edit/create/delete actions on patron data',NULL,'YesNo');
39
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('CataloguingLog',1,'If ON, log edit/create/delete actions on bibliographic data. WARNING: this feature is very resource consuming.',NULL,'YesNo');
40
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('CataloguingLog',1,'If ON, log edit/create/delete actions on bibliographic data. WARNING: this feature is very resource consuming.',NULL,'YesNo');
(-)a/installer/data/mysql/updatedatabase.pl (+7 lines)
Lines 4332-4337 if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { Link Here
4332
    SetVersion($DBversion);
4332
    SetVersion($DBversion);
4333
}
4333
}
4334
4334
4335
$DBversion = "3.05.00.XXX";
4336
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
4337
    $dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowerUnwantedField','','Name the fields you don\'t need to store for a patron\'s account',NULL,'free')");
4338
    print "Upgrade to $DBversion done (BorrowerUnwantedField syspref)\n";
4339
    SetVersion ($DBversion);
4340
}
4341
4335
=head1 FUNCTIONS
4342
=head1 FUNCTIONS
4336
4343
4337
=head2 DropAllForeignKeys($table)
4344
=head2 DropAllForeignKeys($table)
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref (+5 lines)
Lines 32-37 Patrons: Link Here
32
           class: multi
32
           class: multi
33
         - (separate columns with |)
33
         - (separate columns with |)
34
     -
34
     -
35
         - "The following database columns will not appear on the patron entry screen:"
36
         - pref: BorrowerUnwantedField
37
           class: multi
38
         - (separate columns with |)
39
     -
35
         - "Guarantors can be the following of those they guarantee:"
40
         - "Guarantors can be the following of those they guarantee:"
36
         - pref: borrowerRelationship
41
         - pref: borrowerRelationship
37
           class: multi
42
           class: multi
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/help/members/memberentry.tt (+1 lines)
Lines 22-27 Link Here
22
	<li>Enter the identifying information regarding your patron
22
	<li>Enter the identifying information regarding your patron
23
<ul>
23
<ul>
24
	<li>Required fields are defined in the BorrowerMandatoryField system preference</li>
24
	<li>Required fields are defined in the BorrowerMandatoryField system preference</li>
25
	<li>Unwanted fields are defined in the BorrowerUnwantedField system preference</li>
25
	<li>Salutation is populated by the BorrowersTitles system preference</li>
26
	<li>Salutation is populated by the BorrowersTitles system preference</li>
26
</ul>
27
</ul>
27
</li>
28
</li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-3 / +108 lines)
Lines 169-174 Link Here
169
		<legend>[% IF ( I ) %]Organization [% ELSE %]Patron [% END %]identity</legend>
169
		<legend>[% IF ( I ) %]Organization [% ELSE %]Patron [% END %]identity</legend>
170
		<ol>
170
		<ol>
171
		[% UNLESS ( I ) %]
171
		[% UNLESS ( I ) %]
172
        [% UNLESS notitle %]
172
		[% IF ( title_cgipopup ) %]
173
		[% IF ( title_cgipopup ) %]
173
            <li>
174
            <li>
174
            [% IF ( mandatorytitle ) %]
175
            [% IF ( mandatorytitle ) %]
Lines 182-187 Link Here
182
            </li>
183
            </li>
183
		[% END %]
184
		[% END %]
184
        [% END %]
185
        [% END %]
186
		[% END %]
187
        [% UNLESS nosurname %]
185
		<li>
188
		<li>
186
		[% IF ( mandatorysurname ) %]
189
		[% IF ( mandatorysurname ) %]
187
		<label for="surname" class="required">
190
		<label for="surname" class="required">
Lines 196-202 Link Here
196
		[% END %]
199
		[% END %]
197
		[% IF ( mandatorysurname ) %]<span class="required">Required</span>[% END %]
200
		[% IF ( mandatorysurname ) %]<span class="required">Required</span>[% END %]
198
		</li>
201
		</li>
202
        [% END %]
199
		[% UNLESS ( I ) %]
203
		[% UNLESS ( I ) %]
204
        [% UNLESS nofirstname %]
200
            <li>
205
            <li>
201
                [% IF ( mandatoryfirstname ) %]
206
                [% IF ( mandatoryfirstname ) %]
202
                <label for="firstname" class="required">
207
                <label for="firstname" class="required">
Lines 207-212 Link Here
207
                <input type="text" id="firstname" name="firstname" size="20"  value="[% IF ( opduplicate ) %][% ELSE %][% firstname %][% END %]" />
212
                <input type="text" id="firstname" name="firstname" size="20"  value="[% IF ( opduplicate ) %][% ELSE %][% firstname %][% END %]" />
208
                [% IF ( mandatoryfirstname ) %]<span class="required">Required</span>[% END %]
213
                [% IF ( mandatoryfirstname ) %]<span class="required">Required</span>[% END %]
209
            </li>
214
            </li>
215
        [% END %]
216
        [% UNLESS nodateofbirth %]
210
            <li>
217
            <li>
211
                [% IF ( mandatorydateofbirth ) %]
218
                [% IF ( mandatorydateofbirth ) %]
212
                <label for="dateofbirth" class="required">
219
                <label for="dateofbirth" class="required">
Lines 235-240 Link Here
235
        [% IF ( ERROR_dateofbirth ) %]<span class="required">(Error)</span>[% END %]
242
        [% IF ( ERROR_dateofbirth ) %]<span class="required">(Error)</span>[% END %]
236
		<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
243
		<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
237
            </li>
244
            </li>
245
        [% END %]
246
        [% UNLESS noinitials %]
238
            <li>
247
            <li>
239
                [% IF ( mandatoryinitials ) %]
248
                [% IF ( mandatoryinitials ) %]
240
                    <label for="initials" class="required">
249
                    <label for="initials" class="required">
Lines 246-251 Link Here
246
                [% IF ( mandatoryinitials ) %]<span class="required">Required</span>[% END %]
255
                [% IF ( mandatoryinitials ) %]<span class="required">Required</span>[% END %]
247
            </li>
256
            </li>
248
        [% END %]
257
        [% END %]
258
        [% END %]
259
        [% UNLESS noothernames %]
249
		<li>
260
		<li>
250
			[% IF ( mandatoryothernames ) %]
261
			[% IF ( mandatoryothernames ) %]
251
			<label for="othernames" class="required">
262
			<label for="othernames" class="required">
Lines 257-263 Link Here
257
[% IF ( mandatoryothernames ) %]<span class="required">Required</span>[% END %]
268
[% IF ( mandatoryothernames ) %]<span class="required">Required</span>[% END %]
258
		[% IF ( I ) %]<input type="hidden" name="sex" value="N" />[% END %]
269
		[% IF ( I ) %]<input type="hidden" name="sex" value="N" />[% END %]
259
		</li>
270
		</li>
271
        [% END %]
260
    [% UNLESS ( I ) %]
272
    [% UNLESS ( I ) %]
273
        [% UNLESS nosex %]
261
		<li class="radio">
274
		<li class="radio">
262
		
275
		
263
		[% IF ( female ) %]
276
		[% IF ( female ) %]
Lines 276-281 Link Here
276
				<label for="sex-none">N/A </label><input type="radio" name="sex" id="sex-none" value="" />
289
				<label for="sex-none">N/A </label><input type="radio" name="sex" id="sex-none" value="" />
277
[% END %]
290
[% END %]
278
       	</li>
291
       	</li>
292
        [% END %]
279
    [% END %]
293
    [% END %]
280
		</ol>
294
		</ol>
281
	</fieldset>
295
	</fieldset>
Lines 310-315 Link Here
310
 [% END %]
324
 [% END %]
311
     <span class="label">Patron #:</span> [% IF ( guarantorid ) %] <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantorid %]" target="blank">[% guarantorid %]</a>[% END %]
325
     <span class="label">Patron #:</span> [% IF ( guarantorid ) %] <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantorid %]" target="blank">[% guarantorid %]</a>[% END %]
312
 </li>
326
 </li>
327
        [% UNLESS nocontactname %]
313
 <li>
328
 <li>
314
     <label for="contactname">Surname: </label>
329
     <label for="contactname">Surname: </label>
315
     [% IF ( guarantorid ) %]
330
     [% IF ( guarantorid ) %]
Lines 319-324 Link Here
319
     <input name="contactname" id="contactname" type="text" size="20" value="[% contactname %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
334
     <input name="contactname" id="contactname" type="text" size="20" value="[% contactname %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
320
     [% END %]
335
     [% END %]
321
 </li>
336
 </li>
337
        [% END %]
338
        [% UNLESS nocontactfirstname %]
322
 <li>
339
 <li>
323
     <label for="contactfirstname">First name: </label>
340
     <label for="contactfirstname">First name: </label>
324
     [% IF ( guarantorid ) %]
341
     [% IF ( guarantorid ) %]
Lines 328-333 Link Here
328
     <input name="contactfirstname" id="contactfirstname" type="text" size="20" value="[% contactfirstname %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
345
     <input name="contactfirstname" id="contactfirstname" type="text" size="20" value="[% contactfirstname %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
329
     [% END %]
346
     [% END %]
330
 </li>
347
 </li>
348
        [% END %]
331
 [% IF ( relshiploop ) %]
349
 [% IF ( relshiploop ) %]
332
 <li>
350
 <li>
333
     <label for="relationship">Relationship: </label>
351
     <label for="relationship">Relationship: </label>
Lines 357-364 Link Here
357
    </fieldset>
375
    </fieldset>
358
376
359
[% END %]
377
[% END %]
378
[% UNLESS noaddress && nocity && nostate %]
360
<fieldset class="rows">
379
<fieldset class="rows">
361
    <legend>Main address</legend><ol>
380
    <legend>Main address</legend><ol>
381
        [% UNLESS nostreetnumber %]
362
    <li>
382
    <li>
363
      [% IF ( mandatorystreetnumber ) %]
383
      [% IF ( mandatorystreetnumber ) %]
364
      <label for="streetnumber" class="required">
384
      <label for="streetnumber" class="required">
Lines 369-374 Link Here
369
      <input type="text" id="streetnumber" name="streetnumber" size="5" value="[% streetnumber %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
389
      <input type="text" id="streetnumber" name="streetnumber" size="5" value="[% streetnumber %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
370
[% IF ( mandatorystreetnumber ) %]<span class="required">Required</span>[% END %]
390
[% IF ( mandatorystreetnumber ) %]<span class="required">Required</span>[% END %]
371
    </li>
391
    </li>
392
        [% END %]
393
        [% UNLESS nostreettype %]
372
    [% IF ( road_cgipopup ) %]
394
    [% IF ( road_cgipopup ) %]
373
      <li>
395
      <li>
374
      [% IF ( mandatorystreettype ) %]
396
      [% IF ( mandatorystreettype ) %]
Lines 381-386 Link Here
381
	  [% IF ( mandatorystreettype ) %]<span class="required">Required</span>[% END %]
403
	  [% IF ( mandatorystreettype ) %]<span class="required">Required</span>[% END %]
382
      </li>
404
      </li>
383
    [% END %] 
405
    [% END %] 
406
        [% END %]
407
        [% UNLESS noaddress %]
384
    <li>
408
    <li>
385
      [% IF ( mandatoryaddress ) %]
409
      [% IF ( mandatoryaddress ) %]
386
      <label for="address" class="required">
410
      <label for="address" class="required">
Lines 391-396 Link Here
391
      <input type="text" id="address" name="address" size="35" value="[% address %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
415
      <input type="text" id="address" name="address" size="35" value="[% address %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
392
	  [% IF ( mandatoryaddress ) %]<span class="required">Required</span>[% END %]
416
	  [% IF ( mandatoryaddress ) %]<span class="required">Required</span>[% END %]
393
    </li>
417
    </li>
418
        [% END %]
419
        [% UNLESS noaddress2 %]
394
    <li>
420
    <li>
395
      [% IF ( mandatoryaddress2 ) %]
421
      [% IF ( mandatoryaddress2 ) %]
396
      <label for="address2" class="required">
422
      <label for="address2" class="required">
Lines 401-406 Link Here
401
      <input type="text" id="address2" name="address2" size="35" value="[% address2 %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
427
      <input type="text" id="address2" name="address2" size="35" value="[% address2 %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
402
	  [% IF ( mandatoryaddress2 ) %]<span class="required">Required</span>[% END %]
428
	  [% IF ( mandatoryaddress2 ) %]<span class="required">Required</span>[% END %]
403
    </li>  
429
    </li>  
430
        [% END %]
431
        [% UNLESS nocity %]
404
    <li>
432
    <li>
405
      [% IF ( mandatorycity ) %]
433
      [% IF ( mandatorycity ) %]
406
        <label for="city" class="required">
434
        <label for="city" class="required">
Lines 425-430 Link Here
425
        [% END %]
453
        [% END %]
426
	  [% IF ( mandatorycity ) %]<span class="required">Required</span>[% END %]
454
	  [% IF ( mandatorycity ) %]<span class="required">Required</span>[% END %]
427
    </li>
455
    </li>
456
        [% END %]
457
        [% UNLESS nostate %]
428
    <li> 
458
    <li> 
429
      [% IF ( mandatorystate ) %]
459
      [% IF ( mandatorystate ) %]
430
        <label for="state" class="required">
460
        <label for="state" class="required">
Lines 435-440 Link Here
435
      <input type="text" name="state" id="state" size="20" value="[% state %]" />
465
      <input type="text" name="state" id="state" size="20" value="[% state %]" />
436
	  [% IF ( mandatorystate ) %]<span class="required">Required</span>[% END %]
466
	  [% IF ( mandatorystate ) %]<span class="required">Required</span>[% END %]
437
    </li>
467
    </li>
468
        [% END %]
469
        [% UNLESS nozipcode %]
438
    <li> 
470
    <li> 
439
      [% IF ( mandatoryzipcode ) %]
471
      [% IF ( mandatoryzipcode ) %]
440
        <label for="zipcode" class="required">
472
        <label for="zipcode" class="required">
Lines 445-451 Link Here
445
      <input type="text" name="zipcode" id="zipcode" size="10" value="[% zipcode %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
477
      <input type="text" name="zipcode" id="zipcode" size="10" value="[% zipcode %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
446
	  [% IF ( mandatoryzipcode ) %]<span class="required">Required</span>[% END %]
478
	  [% IF ( mandatoryzipcode ) %]<span class="required">Required</span>[% END %]
447
    </li>
479
    </li>
448
    
480
        [% END %]
481
        [% UNLESS nocountry %]
449
    <li> 
482
    <li> 
450
      [% IF ( mandatorycountry ) %]
483
      [% IF ( mandatorycountry ) %]
451
        <label for="country" class="required">
484
        <label for="country" class="required">
Lines 456-466 Link Here
456
      <input type="text" name="country" id="country" size="20" value="[% country %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
489
      <input type="text" name="country" id="country" size="20" value="[% country %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
457
	  [% IF ( mandatorycountry ) %]<span class="required">Required</span>[% END %]
490
	  [% IF ( mandatorycountry ) %]<span class="required">Required</span>[% END %]
458
    </li>    
491
    </li>    
459
  
492
        [% END %]
460
	</ol>
493
	</ol>
461
    </fieldset>
494
    </fieldset>
495
[% END # nostreet && nocity etc group%]
462
  <fieldset class="rows" id="memberentry_contact">
496
  <fieldset class="rows" id="memberentry_contact">
463
    <legend>Contact</legend><ol>
497
    <legend>Contact</legend><ol>
498
        [% UNLESS nophone %]
464
      <li>
499
      <li>
465
      [% IF ( mandatoryphone ) %] 
500
      [% IF ( mandatoryphone ) %] 
466
      <label for="phone" class="required">
501
      <label for="phone" class="required">
Lines 472-477 Link Here
472
	  [% IF ( mandatoryphone ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
507
	  [% IF ( mandatoryphone ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
473
508
474
    </li>
509
    </li>
510
        [% END %]
511
        [% UNLESS nophonepro %]
475
    <li>
512
    <li>
476
      [% IF ( mandatoryphonepro ) %]
513
      [% IF ( mandatoryphonepro ) %]
477
      <label for="phonepro" class="required">
514
      <label for="phonepro" class="required">
Lines 482-487 Link Here
482
      <input type="text" id="phonepro" name="phonepro" value="[% phonepro %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
519
      <input type="text" id="phonepro" name="phonepro" value="[% phonepro %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
483
	  [% IF ( mandatoryphonepro ) %]<span class="required">Required</span>[% END %]
520
	  [% IF ( mandatoryphonepro ) %]<span class="required">Required</span>[% END %]
484
    </li>
521
    </li>
522
        [% END %]
523
        [% UNLESS nomobile %]
485
    <li>
524
    <li>
486
      [% IF ( mandatorymobile ) %]
525
      [% IF ( mandatorymobile ) %]
487
      <label for="mobile" class="required">
526
      <label for="mobile" class="required">
Lines 492-497 Link Here
492
      <input type="text" id="mobile" name="mobile" value="[% mobile %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
531
      <input type="text" id="mobile" name="mobile" value="[% mobile %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
493
	  [% IF ( mandatorymobile ) %]<span class="required">Required</span>[% END %]
532
	  [% IF ( mandatorymobile ) %]<span class="required">Required</span>[% END %]
494
    </li>
533
    </li>
534
        [% END %]
535
        [% UNLESS noemail %]
495
    <li>
536
    <li>
496
      [% IF ( mandatoryemail ) %]
537
      [% IF ( mandatoryemail ) %]
497
      <label for="email" class="required">
538
      <label for="email" class="required">
Lines 503-508 Link Here
503
	  [% IF ( mandatoryemail ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
544
	  [% IF ( mandatoryemail ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
504
545
505
    </li>
546
    </li>
547
        [% END %]
548
        [% UNLESS noemailpro %]
506
    <li>
549
    <li>
507
      [% IF ( mandatoryemailpro ) %] 
550
      [% IF ( mandatoryemailpro ) %] 
508
      <label for="emailpro" class="required">
551
      <label for="emailpro" class="required">
Lines 513-518 Link Here
513
      <input type="text" id="emailpro" name="emailpro" size="45" value="[% emailpro %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
556
      <input type="text" id="emailpro" name="emailpro" size="45" value="[% emailpro %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
514
	  [% IF ( mandatoryemailpro ) %]<span class="required">Required</span>[% END %]
557
	  [% IF ( mandatoryemailpro ) %]<span class="required">Required</span>[% END %]
515
    </li>
558
    </li>
559
        [% END %]
560
        [% UNLESS nofax %]
516
    <li>
561
    <li>
517
      [% IF ( mandatoryfax ) %]
562
      [% IF ( mandatoryfax ) %]
518
      <label for="fax" class="required">
563
      <label for="fax" class="required">
Lines 523-528 Link Here
523
      <input type="text" id="fax" name="fax" value="[% fax %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
568
      <input type="text" id="fax" name="fax" value="[% fax %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
524
	  [% IF ( mandatoryfax ) %]<span class="required">Required</span>[% END %]
569
	  [% IF ( mandatoryfax ) %]<span class="required">Required</span>[% END %]
525
    </li>
570
    </li>
571
        [% END %]
526
	</ol>
572
	</ol>
527
  </fieldset>
573
  </fieldset>
528
574
Lines 531-538 Link Here
531
[% END %]
577
[% END %]
532
[% IF ( step_6 ) %]
578
[% IF ( step_6 ) %]
533
579
580
    [% UNLESS noB_address && noB_city && noB_state && noB_phone && noB_email %]
534
		<fieldset class="rows" id="memberentry_address">
581
		<fieldset class="rows" id="memberentry_address">
535
		<legend>Alternate address</legend><ol>
582
		<legend>Alternate address</legend><ol>
583
        [% UNLESS noB_address %]
536
			<li>
584
			<li>
537
				[% IF ( mandatoryB_address ) %]
585
				[% IF ( mandatoryB_address ) %]
538
					<label for="B_address" class="required">
586
					<label for="B_address" class="required">
Lines 543-548 Link Here
543
				<input type="text" id="B_address" name="B_address" size="40" value="[% B_address %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
591
				<input type="text" id="B_address" name="B_address" size="40" value="[% B_address %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
544
	  [% IF ( mandatoryB_address ) %]<span class="required">Required</span>[% END %]
592
	  [% IF ( mandatoryB_address ) %]<span class="required">Required</span>[% END %]
545
			</li>
593
			</li>
594
        [% END %]
595
        [% UNLESS noB_address2 %]
546
			<li>
596
			<li>
547
				[% IF ( mandatoryB_address2 ) %]
597
				[% IF ( mandatoryB_address2 ) %]
548
					<label for="B_address2" class="required">
598
					<label for="B_address2" class="required">
Lines 553-558 Link Here
553
				<input type="text" id="B_address2" name="B_address2" size="40" value="[% B_address2 %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
603
				<input type="text" id="B_address2" name="B_address2" size="40" value="[% B_address2 %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
554
	  [% IF ( mandatoryB_address2 ) %]<span class="required">Required</span>[% END %]
604
	  [% IF ( mandatoryB_address2 ) %]<span class="required">Required</span>[% END %]
555
			</li>
605
			</li>
606
        [% END %]
607
        [% UNLESS noB_city %]
556
			<li>
608
			<li>
557
				[% IF ( mandatoryB_city ) %]
609
				[% IF ( mandatoryB_city ) %]
558
					<label for="B_city" class="required" >
610
					<label for="B_city" class="required" >
Lines 563-568 Link Here
563
				<input type="text" id="B_city" name="B_city" size="20" value="[% B_city %]" />
615
				<input type="text" id="B_city" name="B_city" size="20" value="[% B_city %]" />
564
	  [% IF ( mandatoryB_city ) %]<span class="required">Required</span>[% END %]
616
	  [% IF ( mandatoryB_city ) %]<span class="required">Required</span>[% END %]
565
			</li>
617
			</li>
618
        [% END %]
619
        [% UNLESS noB_state %]
566
			<li>
620
			<li>
567
				[% IF ( mandatoryB_state ) %]
621
				[% IF ( mandatoryB_state ) %]
568
					<label for="B_state" class="required" >
622
					<label for="B_state" class="required" >
Lines 573-578 Link Here
573
				<input type="text" id="B_state" name="B_state" size="20" value="[% B_state %]" />
627
				<input type="text" id="B_state" name="B_state" size="20" value="[% B_state %]" />
574
	  [% IF ( mandatoryB_state ) %]<span class="required">Required</span>[% END %]
628
	  [% IF ( mandatoryB_state ) %]<span class="required">Required</span>[% END %]
575
			</li>
629
			</li>
630
        [% END %]
631
        [% UNLESS noB_zipcode %]
576
			<li>
632
			<li>
577
				[% IF ( mandatoryB_zipcode ) %]
633
				[% IF ( mandatoryB_zipcode ) %]
578
					<label for="B_zipcode" class="required">
634
					<label for="B_zipcode" class="required">
Lines 583-588 Link Here
583
				<input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% B_zipcode %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
639
				<input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% B_zipcode %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
584
	  [% IF ( mandatoryB_zipcode ) %]<span class="required">Required</span>[% END %]
640
	  [% IF ( mandatoryB_zipcode ) %]<span class="required">Required</span>[% END %]
585
			</li>
641
			</li>
642
        [% END %]
643
        [% UNLESS noB_country %]
586
			<li>
644
			<li>
587
				[% IF ( mandatoryB_country ) %]
645
				[% IF ( mandatoryB_country ) %]
588
					<label for="B_country" class="required">
646
					<label for="B_country" class="required">
Lines 593-598 Link Here
593
				<input type="text" id="B_country" name="B_country" size="20" value="[% B_country %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
651
				<input type="text" id="B_country" name="B_country" size="20" value="[% B_country %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
594
	  [% IF ( mandatoryB_country ) %]<span class="required">Required</span>[% END %]
652
	  [% IF ( mandatoryB_country ) %]<span class="required">Required</span>[% END %]
595
			</li>
653
			</li>
654
        [% END %]
655
        [% UNLESS noB_phone %]
596
            <li>
656
            <li>
597
                [% IF ( mandatoryB_phone ) %]
657
                [% IF ( mandatoryB_phone ) %]
598
                <label for="B_phone" class="required">
658
                <label for="B_phone" class="required">
Lines 603-608 Link Here
603
                <input type="text" id="B_phone" name="B_phone" value="[% B_phone %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
663
                <input type="text" id="B_phone" name="B_phone" value="[% B_phone %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
604
                [% IF ( mandatoryB_phone ) %]<span class="required">Required</span>[% END %]
664
                [% IF ( mandatoryB_phone ) %]<span class="required">Required</span>[% END %]
605
            </li>
665
            </li>
666
        [% END %]
667
        [% UNLESS noB_email %]
606
			<li> 
668
			<li> 
607
        [% IF ( mandatoryB_email ) %]
669
        [% IF ( mandatoryB_email ) %]
608
          <label for="B_email" class="required">
670
          <label for="B_email" class="required">
Lines 612-617 Link Here
612
        Email: </label>
674
        Email: </label>
613
        <input type="text" id="B_email" name="B_email" size="45" value="[% B_email %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
675
        <input type="text" id="B_email" name="B_email" size="45" value="[% B_email %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
614
		[% IF ( mandatoryB_email ) %]<span class="required">Required</span>[% END %] </li>
676
		[% IF ( mandatoryB_email ) %]<span class="required">Required</span>[% END %] </li>
677
        [% END %]
678
        [% UNLESS nocontactnote %]
615
            <li>
679
            <li>
616
                [% IF ( mandatorycontactnote ) %]
680
                [% IF ( mandatorycontactnote ) %]
617
                <label for="contactnote" class="required">
681
                <label for="contactnote" class="required">
Lines 622-633 Link Here
622
                <textarea id="contactnote" name="contactnote" cols="40" rows="2">[% contactnote %]</textarea>
686
                <textarea id="contactnote" name="contactnote" cols="40" rows="2">[% contactnote %]</textarea>
623
        [% IF ( mandatorycontactnote ) %]<span class="required">Required</span>[% END %]
687
        [% IF ( mandatorycontactnote ) %]<span class="required">Required</span>[% END %]
624
            </li>
688
            </li>
689
        [% END %]
625
			</ol>
690
			</ol>
626
		</fieldset>
691
		</fieldset>
692
    [% END # UNLESS noB_address && noB_city && noB_state && noB_phone && noB_email %]
627
[% END %]		
693
[% END %]		
628
[% IF ( step_2 ) %]
694
[% IF ( step_2 ) %]
695
    [% UNLESS noaltcontactsurname && noaltcontactfirstname && noaltcontactaddress1 && noaltcontactphone %]
629
		<fieldset class="rows" id="memberentry_altaddress">       
696
		<fieldset class="rows" id="memberentry_altaddress">       
630
		    <legend>Alternate Contact</legend><ol>
697
		    <legend>Alternate Contact</legend><ol>
698
        [% UNLESS noaltcontactsurname %]
631
			<li>
699
			<li>
632
			    [% IF ( mandatoryaltcontactsurname ) %]
700
			    [% IF ( mandatoryaltcontactsurname ) %]
633
				<label for="altcontactsurname" class="required">
701
				<label for="altcontactsurname" class="required">
Lines 638-643 Link Here
638
				<input type="text" name="altcontactsurname" id="altcontactsurname" value="[% altcontactsurname %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
706
				<input type="text" name="altcontactsurname" id="altcontactsurname" value="[% altcontactsurname %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
639
				[% IF ( mandatoryaltcontactsurname ) %]<span class="required">Required</span>[% END %]
707
				[% IF ( mandatoryaltcontactsurname ) %]<span class="required">Required</span>[% END %]
640
			</li>
708
			</li>
709
        [% END %]
710
        [% UNLESS noaltcontactfirstname %]
641
			<li>
711
			<li>
642
			    [% IF ( mandatoryaltcontactfirstname ) %]
712
			    [% IF ( mandatoryaltcontactfirstname ) %]
643
				<label for="altcontactfirstname" class="required">
713
				<label for="altcontactfirstname" class="required">
Lines 648-653 Link Here
648
				<input type="text" name="altcontactfirstname" id="altcontactfirstname" value="[% altcontactfirstname %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
718
				<input type="text" name="altcontactfirstname" id="altcontactfirstname" value="[% altcontactfirstname %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
649
				[% IF ( mandatoryaltcontactfirstname ) %]<span class="required">Required</span>[% END %]
719
				[% IF ( mandatoryaltcontactfirstname ) %]<span class="required">Required</span>[% END %]
650
			</li>
720
			</li>
721
        [% END %]
722
        [% UNLESS noaltcontactaddress1 %]
651
			<li>
723
			<li>
652
			    [% IF ( mandatoryaltcontactaddress1 ) %]
724
			    [% IF ( mandatoryaltcontactaddress1 ) %]
653
				<label for="altcontactaddress1" class="required">
725
				<label for="altcontactaddress1" class="required">
Lines 658-663 Link Here
658
				<input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% altcontactaddress1 %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] size="40" />
730
				<input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% altcontactaddress1 %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] size="40" />
659
				[% IF ( mandatoryaltcontactaddress1 ) %]<span class="required">Required</span>[% END %]
731
				[% IF ( mandatoryaltcontactaddress1 ) %]<span class="required">Required</span>[% END %]
660
			</li>
732
			</li>
733
        [% END %]
734
        [% UNLESS noaltcontactaddress2 %]
661
			<li>
735
			<li>
662
			    [% IF ( mandatoryaltcontactaddress2 ) %]
736
			    [% IF ( mandatoryaltcontactaddress2 ) %]
663
				<label for="altcontactaddress2" class="required">
737
				<label for="altcontactaddress2" class="required">
Lines 668-673 Link Here
668
				<input type="text" name="altcontactaddress2" id="altcontactaddress2" value="[% altcontactaddress2 %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] size="40" />
742
				<input type="text" name="altcontactaddress2" id="altcontactaddress2" value="[% altcontactaddress2 %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] size="40" />
669
				[% IF ( mandatoryaltcontactaddress2 ) %]<span class="required">Required</span>[% END %]
743
				[% IF ( mandatoryaltcontactaddress2 ) %]<span class="required">Required</span>[% END %]
670
			</li>
744
			</li>
745
        [% END %]
746
        [% UNLESS noaltcontactaddress3 %]
671
			<li>
747
			<li>
672
			    [% IF ( mandatoryaltcontactaddress3 ) %]
748
			    [% IF ( mandatoryaltcontactaddress3 ) %]
673
				<label for="altcontactaddress3" class="required">
749
				<label for="altcontactaddress3" class="required">
Lines 678-683 Link Here
678
				<input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% altcontactaddress3 %]" size="20" />
754
				<input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% altcontactaddress3 %]" size="20" />
679
				[% IF ( mandatoryaltcontactaddress3 ) %]<span class="required">Required</span>[% END %]
755
				[% IF ( mandatoryaltcontactaddress3 ) %]<span class="required">Required</span>[% END %]
680
			</li>
756
			</li>
757
        [% END %]
758
        [% UNLESS noaltcontactstate %]
681
			<li>
759
			<li>
682
			    [% IF ( mandatoryaltcontactstate ) %]
760
			    [% IF ( mandatoryaltcontactstate ) %]
683
				<label for="altcontactstate" class="required">
761
				<label for="altcontactstate" class="required">
Lines 688-693 Link Here
688
				<input type="text" name="altcontactstate" id="altcontactstate" value="[% altcontactstate %]" size="20" />
766
				<input type="text" name="altcontactstate" id="altcontactstate" value="[% altcontactstate %]" size="20" />
689
				[% IF ( mandatoryaltcontactstate ) %]<span class="required">Required</span>[% END %]
767
				[% IF ( mandatoryaltcontactstate ) %]<span class="required">Required</span>[% END %]
690
			</li>
768
			</li>
769
        [% END %]
770
        [% UNLESS noaltcontactzipcode %]
691
			<li>
771
			<li>
692
			    [% IF ( mandatoryaltcontactzipcode ) %]
772
			    [% IF ( mandatoryaltcontactzipcode ) %]
693
				<label for="altcontactzipcode" class="required">
773
				<label for="altcontactzipcode" class="required">
Lines 698-703 Link Here
698
				<input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% altcontactzipcode %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] size="5" />
778
				<input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% altcontactzipcode %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] size="5" />
699
				[% IF ( mandatoryaltcontactzipcode ) %]<span class="required">Required</span>[% END %]
779
				[% IF ( mandatoryaltcontactzipcode ) %]<span class="required">Required</span>[% END %]
700
			</li>
780
			</li>
781
        [% END %]
782
        [% UNLESS noaltcontactcountry %]
701
			<li>
783
			<li>
702
			    [% IF ( mandatoryaltcontactcountry ) %]
784
			    [% IF ( mandatoryaltcontactcountry ) %]
703
				<label for="altcontactcountry" class="required">
785
				<label for="altcontactcountry" class="required">
Lines 708-713 Link Here
708
				<input type="text" name="altcontactcountry" id="altcontactcountry" value="[% altcontactcountry %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] size="20" />
790
				<input type="text" name="altcontactcountry" id="altcontactcountry" value="[% altcontactcountry %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] size="20" />
709
				[% IF ( mandatoryaltcontactcountry ) %]<span class="required">Required</span>[% END %]
791
				[% IF ( mandatoryaltcontactcountry ) %]<span class="required">Required</span>[% END %]
710
			</li>			
792
			</li>			
793
        [% END %]
794
        [% UNLESS noaltcontactphone %]
711
			<li>
795
			<li>
712
			    [% IF ( mandatoryaltcontactphone ) %]
796
			    [% IF ( mandatoryaltcontactphone ) %]
713
				<label for="altcontactphone" class="required">
797
				<label for="altcontactphone" class="required">
Lines 718-725 Link Here
718
				<input type="text" name="altcontactphone" id="altcontactphone" value="[% altcontactphone %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
802
				<input type="text" name="altcontactphone" id="altcontactphone" value="[% altcontactphone %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
719
				[% IF ( mandatoryaltcontactphone ) %]<span class="required">Required</span>[% END %]
803
				[% IF ( mandatoryaltcontactphone ) %]<span class="required">Required</span>[% END %]
720
			</li>
804
			</li>
805
        [% END %]
721
            </ol>
806
            </ol>
722
        </fieldset>
807
        </fieldset>
808
    [% END # UNLESS noaltcontactsurname && noaltcontactfirstname etc %]
723
809
724
810
725
  [% IF ( I ) %]
811
  [% IF ( I ) %]
Lines 746-751 Link Here
746
832
747
  <fieldset class="rows" id="memberentry_library_management">
833
  <fieldset class="rows" id="memberentry_library_management">
748
    <legend>Library Management</legend><ol>
834
    <legend>Library Management</legend><ol>
835
        [% UNLESS nocardnumber %]
749
   <li> [% IF ( mandatorycardnumber ) %]
836
   <li> [% IF ( mandatorycardnumber ) %]
750
      <label for="cardnumber" class="required">
837
      <label for="cardnumber" class="required">
751
    [% ELSE %]
838
    [% ELSE %]
Lines 754-759 Link Here
754
    Card number: </label>
841
    Card number: </label>
755
    <input type="text" id="cardnumber" name="cardnumber" size="20" value="[% IF ( opduplicate ) %][% ELSE %][% cardnumber %][% END %]" />
842
    <input type="text" id="cardnumber" name="cardnumber" size="20" value="[% IF ( opduplicate ) %][% ELSE %][% cardnumber %][% END %]" />
756
	  [% IF ( mandatorycardnumber ) %]<span class="required">Required</span>[% END %]</li>
843
	  [% IF ( mandatorycardnumber ) %]<span class="required">Required</span>[% END %]</li>
844
        [% END %]
845
        [% UNLESS nobranchcode %]
757
    <li>
846
    <li>
758
      [% IF ( mandatorybranchcode ) %]
847
      [% IF ( mandatorybranchcode ) %]
759
        <label for="branchcode" class="required">
848
        <label for="branchcode" class="required">
Lines 764-769 Link Here
764
      [% CGIbranch %]
853
      [% CGIbranch %]
765
	  [% IF ( mandatorybranchcode ) %]<span class="required">Required</span>[% END %]
854
	  [% IF ( mandatorybranchcode ) %]<span class="required">Required</span>[% END %]
766
    </li>
855
    </li>
856
        [% END %]
767
    <li>
857
    <li>
768
        <label for="categorycode">Category: </label>
858
        <label for="categorycode">Category: </label>
769
        <select id="categorycode" name="categorycode">
859
        <select id="categorycode" name="categorycode">
Lines 789-794 Link Here
789
       [% END %]
879
       [% END %]
790
       </select>
880
       </select>
791
    </li>
881
    </li>
882
        [% UNLESS nosort1 %]
792
    <li>
883
    <li>
793
      [% IF ( mandatorysort1 ) %]
884
      [% IF ( mandatorysort1 ) %]
794
        <label for="sort1" class="required">
885
        <label for="sort1" class="required">
Lines 803-808 Link Here
803
	  [% IF ( mandatorysort1 ) %]<span class="required">Required</span>[% END %]
894
	  [% IF ( mandatorysort1 ) %]<span class="required">Required</span>[% END %]
804
      [% END %]   
895
      [% END %]   
805
    </li>
896
    </li>
897
        [% END %]
898
        [% UNLESS nosort2 %]
806
    <li>
899
    <li>
807
    [% IF ( mandatorysort2 ) %]
900
    [% IF ( mandatorysort2 ) %]
808
    <label for="sort2" class="required">
901
    <label for="sort2" class="required">
Lines 817-826 Link Here
817
	  [% IF ( mandatorysort2 ) %]<span class="required">Required</span>[% END %]
910
	  [% IF ( mandatorysort2 ) %]<span class="required">Required</span>[% END %]
818
    [% END %] 
911
    [% END %] 
819
    </li>
912
    </li>
913
        [% END %]
820
	</ol>
914
	</ol>
821
  </fieldset>
915
  </fieldset>
822
	<fieldset class="rows" id="memberentry_subscription">
916
	<fieldset class="rows" id="memberentry_subscription">
823
	<legend>Library set-up</legend><ol>
917
	<legend>Library set-up</legend><ol>
918
        [% UNLESS nodateenrolled %]
824
		<li>
919
		<li>
825
			[% IF ( mandatorydateenrolled ) %]
920
			[% IF ( mandatorydateenrolled ) %]
826
			<label for="dateenrolled" class="required">
921
			<label for="dateenrolled" class="required">
Lines 843-848 Link Here
843
		[% IF ( ERROR_dateenrolled ) %]<span class="required">(Error)</span>[% END %]
938
		[% IF ( ERROR_dateenrolled ) %]<span class="required">(Error)</span>[% END %]
844
		<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
939
		<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
845
		</li>
940
		</li>
941
        [% END %]
942
        [% UNLESS nodateexpiry %]
846
		<li>
943
		<li>
847
			[% IF ( mandatorydateexpiry ) %]
944
			[% IF ( mandatorydateexpiry ) %]
848
			<label for="dateexpiry" class="required">
945
			<label for="dateexpiry" class="required">
Lines 865-870 Link Here
865
		[% IF ( ERROR_dateexpiry ) %]<span class="required">(Error)</span>[% END %]
962
		[% IF ( ERROR_dateexpiry ) %]<span class="required">(Error)</span>[% END %]
866
		<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
963
		<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
867
		</li>
964
		</li>
965
        [% END %]
966
        [% UNLESS noopacnote %]
868
		<li>
967
		<li>
869
			[% IF ( mandatoryopacnote ) %]
968
			[% IF ( mandatoryopacnote ) %]
870
				<label for="opacnote" class="required">
969
				<label for="opacnote" class="required">
Lines 876-881 Link Here
876
			<div class="hint">This message appears on this patron's user page in the OPAC</div>
975
			<div class="hint">This message appears on this patron's user page in the OPAC</div>
877
	  [% IF ( mandatoryopacnote ) %]<span class="required">Required</span>[% END %]
976
	  [% IF ( mandatoryopacnote ) %]<span class="required">Required</span>[% END %]
878
		</li>
977
		</li>
978
        [% END %]
979
        [% UNLESS noborrowernotes %]
879
		<li>
980
		<li>
880
			[% IF ( mandatoryborrowernotes ) %]	
981
			[% IF ( mandatoryborrowernotes ) %]	
881
				<label for="borrowernotes" class="required">
982
				<label for="borrowernotes" class="required">
Lines 887-896 Link Here
887
			<div class="hint">This message displays when checking out to this patron</div>
988
			<div class="hint">This message displays when checking out to this patron</div>
888
	  [% IF ( mandatoryborrowernotes ) %]<span class="required">Required</span>[% END %]
989
	  [% IF ( mandatoryborrowernotes ) %]<span class="required">Required</span>[% END %]
889
		</li>
990
		</li>
991
        [% END %]
890
		</ol>
992
		</ol>
891
	</fieldset>
993
	</fieldset>
892
	<fieldset class="rows" id="memberentry_userid">
994
	<fieldset class="rows" id="memberentry_userid">
893
		<legend>OPAC login</legend><ol>
995
		<legend>OPAC login</legend><ol>
996
        [% UNLESS nouserid %]
894
		<li>
997
		<li>
895
			[% IF ( mandatoryuserid ) %]
998
			[% IF ( mandatoryuserid ) %]
896
			<label for="userid" class="required">
999
			<label for="userid" class="required">
Lines 937-943 Link Here
937
			[% END %]
1040
			[% END %]
938
	  [% IF ( mandatorypassword ) %]<span class="required">Required</span>[% END %][% IF ( ERROR_short_password ) %]<span class="required">Password is too short</span>[% END %]
1041
	  [% IF ( mandatorypassword ) %]<span class="required">Required</span>[% END %][% IF ( ERROR_short_password ) %]<span class="required">Password is too short</span>[% END %]
939
[% IF ( minPasswordLength ) %]<div class="hint">Minimum password length: [% minPasswordLength %]</div>[% END %]
1042
[% IF ( minPasswordLength ) %]<div class="hint">Minimum password length: [% minPasswordLength %]</div>[% END %]
940
		</li></ol>
1043
		</li>
1044
        [% END %]
1045
    </ol>
941
		</fieldset>
1046
		</fieldset>
942
		<!--this zones are not necessary in modif mode -->
1047
		<!--this zones are not necessary in modif mode -->
943
		[% UNLESS ( opadd ) %]
1048
		[% UNLESS ( opadd ) %]
(-)a/members/memberentry.pl (-1 / +7 lines)
Lines 100-105 my @field_check=split(/\|/,$check_BorrowerMandatoryField); Link Here
100
foreach (@field_check) {
100
foreach (@field_check) {
101
	$template->param( "mandatory$_" => 1);    
101
	$template->param( "mandatory$_" => 1);    
102
}
102
}
103
# function to designate unwanted fields
104
my $check_BorrowerUnwantedField=C4::Context->preference("BorrowerUnwantedField");
105
@field_check=split(/\|/,$check_BorrowerUnwantedField);
106
foreach (@field_check) {
107
    next unless m/\w/o;
108
	$template->param( "no$_" => 1);    
109
}
103
$template->param( "add" => 1 ) if ( $op eq 'add' );
110
$template->param( "add" => 1 ) if ( $op eq 'add' );
104
$template->param( "duplicate" => 1 ) if ( $op eq 'duplicate' );
111
$template->param( "duplicate" => 1 ) if ( $op eq 'duplicate' );
105
$template->param( "checked" => 1 ) if ( defined($nodouble) && $nodouble eq 1 );
112
$template->param( "checked" => 1 ) if ( defined($nodouble) && $nodouble eq 1 );
106
- 

Return to bug 6190