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 / +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','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 317-320 INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ( Link Here
317
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('BasketConfirmations', '1', 'When closing or reopening a basket,', 'always ask for confirmation.|do not ask for confirmation.', 'Choice');
318
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('BasketConfirmations', '1', 'When closing or reopening a basket,', 'always ask for confirmation.|do not ask for confirmation.', 'Choice');
318
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('MARCAuthorityControlField008', '|| aca||aabn           | a|a     d', NULL, NULL, 'Textarea');
319
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('MARCAuthorityControlField008', '|| aca||aabn           | a|a     d', NULL, NULL, 'Textarea');
319
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OpenLibraryCovers',0, 'If ON Openlibrary book covers will be show',NULL,'YesNo');
320
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OpenLibraryCovers',0, 'If ON Openlibrary book covers will be show',NULL,'YesNo');
320
(-)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/es-ES/mandatory/sysprefs.sql (+1 lines)
Lines 317-319 INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ( Link Here
317
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('BasketConfirmations', '1', 'When closing or reopening a basket,', 'always ask for confirmation.|do not ask for confirmation.', 'Choice');
317
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('BasketConfirmations', '1', 'When closing or reopening a basket,', 'always ask for confirmation.|do not ask for confirmation.', 'Choice');
318
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('MARCAuthorityControlField008', '|| aca||aabn           | a|a     d', NULL, NULL, 'Textarea');
318
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('MARCAuthorityControlField008', '|| aca||aabn           | a|a     d', NULL, NULL, 'Textarea');
319
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OpenLibraryCovers',0,'If ON Openlibrary book covers will be show',NULL,'YesNo');
319
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OpenLibraryCovers',0,'If ON Openlibrary book covers will be show',NULL,'YesNo');
320
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');
(-)a/installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql (-1 / +1 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 318-321 INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ( Link Here
318
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('BasketConfirmations', '1', 'When closing or reopening a basket,', 'always ask for confirmation.|do not ask for confirmation.', 'Choice');
319
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('BasketConfirmations', '1', 'When closing or reopening a basket,', 'always ask for confirmation.|do not ask for confirmation.', 'Choice');
319
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('MARCAuthorityControlField008', '|| aca||aabn           | a|a     d', NULL, NULL, 'Textarea');
320
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('MARCAuthorityControlField008', '|| aca||aabn           | a|a     d', NULL, NULL, 'Textarea');
320
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OpenLibraryCovers',0,'If ON Openlibrary book covers will be show',NULL,'YesNo');
321
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OpenLibraryCovers',0,'If ON Openlibrary book covers will be show',NULL,'YesNo');
321
(-)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/nb-NO/1-Obligatorisk/sysprefs.sql (-2 / +25 lines)
Lines 41-46 INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES Link Here
41
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('autoMemberNum',1,'If ON, patron number is auto-calculated','','YesNo');
41
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('autoMemberNum',1,'If ON, patron number is auto-calculated','','YesNo');
42
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');
42
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');
43
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowerMandatoryField','surname|cardnumber','Choose the mandatory fields for a patron\'s account',NULL,'free');
43
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowerMandatoryField','surname|cardnumber','Choose the mandatory fields for a patron\'s account',NULL,'free');
44
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');
44
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('borrowerRelationship','far|mor','Define valid relationships between a guarantor & a guarantee (separated by | or ,)','','free');
45
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('borrowerRelationship','far|mor','Define valid relationships between a guarantor & a guarantee (separated by | or ,)','','free');
45
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowersLog',1,'If ON, log edit/create/delete actions on patron data',NULL,'YesNo');
46
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowersLog',1,'If ON, log edit/create/delete actions on patron data',NULL,'YesNo');
46
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('casAuthentication', '0', 'Enable or disable CAS authentication', '', 'YesNo');
47
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('casAuthentication', '0', 'Enable or disable CAS authentication', '', 'YesNo');
Lines 48-53 INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES Link Here
48
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('casServerUrl', 'https://localhost:8443/cas', 'URL of the cas server', '', 'Free');
49
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('casServerUrl', 'https://localhost:8443/cas', 'URL of the cas server', '', 'Free');
49
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');
50
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');
50
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('checkdigit','none','If ON, enable checks on patron cardnumber: none or \"Katipo\" style checks','none|katipo','Choice');
51
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('checkdigit','none','If ON, enable checks on patron cardnumber: none or \"Katipo\" style checks','none|katipo','Choice');
52
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('COinSinOPACResults', 1, 'If ON, use COinS in OPAC search results page.  NOTE: this can slow down search response time significantly','','YesNo');
51
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('delimiter',';','Define the default separator character for exporting reports',';|tabulation|,|/|\\|#|\|','Choice');
53
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('delimiter',';','Define the default separator character for exporting reports',';|tabulation|,|/|\\|#|\|','Choice');
52
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('EnhancedMessagingPreferences',0,'If ON, allows patrons to select to receive additional messages about items due or nearly due.','','YesNo');
54
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('EnhancedMessagingPreferences',0,'If ON, allows patrons to select to receive additional messages about items due or nearly due.','','YesNo');
53
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('expandedSearchOption',0,'If ON, set advanced search to be expanded by default',NULL,'YesNo');
55
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('expandedSearchOption',0,'If ON, set advanced search to be expanded by default',NULL,'YesNo');
Lines 55-60 INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES Link Here
55
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('FinesLog',1,'If ON, log fines',NULL,'YesNo');
57
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('FinesLog',1,'If ON, log fines',NULL,'YesNo');
56
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('hidelostitems',0,'If ON, disables display of\"lost\" items in OPAC.','','YesNo');
58
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('hidelostitems',0,'If ON, disables display of\"lost\" items in OPAC.','','YesNo');
57
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('hide_marc',0,'If ON, disables display of MARC fields, subfield codes & indicators (still shows data)',NULL,'YesNo');
59
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('hide_marc',0,'If ON, disables display of MARC fields, subfield codes & indicators (still shows data)',NULL,'YesNo');
60
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('WaitingNotifyAtCheckin',0,'If ON, notify librarians of waiting holds for the patron whose items they are checking in.',NULL,'YesNo');
58
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('IndependantBranches',0,'If ON, increases security between libraries',NULL,'YesNo');
61
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('IndependantBranches',0,'If ON, increases security between libraries',NULL,'YesNo');
59
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('insecure',0,'If ON, bypasses all authentication. Be careful!',NULL,'YesNo');
62
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('insecure',0,'If ON, bypasses all authentication. Be careful!',NULL,'YesNo');
60
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('IntranetBiblioDefaultView','normal','Choose the default detail view in the staff interface; choose between normal, labeled_marc, marc or isbd','normal|marc|isbd|labeled_marc','Choice');
63
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('IntranetBiblioDefaultView','normal','Choose the default detail view in the staff interface; choose between normal, labeled_marc, marc or isbd','normal|marc|isbd|labeled_marc','Choice');
Lines 118-124 INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES Link Here
118
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ReturnBeforeExpiry',0,'If ON, checkout will be prevented if returndate is after patron card expiry',NULL,'YesNo');
121
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ReturnBeforeExpiry',0,'If ON, checkout will be prevented if returndate is after patron card expiry',NULL,'YesNo');
119
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ReturnLog',1,'If ON, enables the circulation (returns) log',NULL,'YesNo');
122
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ReturnLog',1,'If ON, enables the circulation (returns) log',NULL,'YesNo');
120
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('reviewson',1,'If ON, enables patron reviews of bibliographic records in the OPAC','','YesNo');
123
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('reviewson',1,'If ON, enables patron reviews of bibliographic records in the OPAC','','YesNo');
124
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ShowReviewer',1,'If ON, name of reviewer will be shown above comments in OPAC','','YesNo');
121
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ShowReviewerPhoto',1,'If ON, photo of reviewer will be shown beside comments in OPAC','','YesNo');
125
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ShowReviewerPhoto',1,'If ON, photo of reviewer will be shown beside comments in OPAC','','YesNo');
126
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ShowReviewer',1,'If ON, name of reviewer will be shown above comments in OPAC','','YesNo');
122
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SpecifyDueDate',1,'Define whether to display \"Specify Due Date\" form in Circulation','','YesNo');
127
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SpecifyDueDate',1,'Define whether to display \"Specify Due Date\" form in Circulation','','YesNo');
123
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SubscriptionHistory','simplified','Define the display preference for serials issue history in OPAC','simplified|full','Choice');
128
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SubscriptionHistory','simplified','Define the display preference for serials issue history in OPAC','simplified|full','Choice');
124
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SubscriptionLog',1,'If ON, enables subscriptions log',NULL,'YesNo');
129
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SubscriptionLog',1,'If ON, enables subscriptions log',NULL,'YesNo');
Lines 127-132 INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES Link Here
127
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('timeout',12000000,'Inactivity timeout for cookies authentication (in seconds)',NULL,'Integer');
132
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('timeout',12000000,'Inactivity timeout for cookies authentication (in seconds)',NULL,'Integer');
128
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('TransfersMaxDaysWarning',3,'Define the days before a transfer is suspected of having a problem',NULL,'Integer');
133
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('TransfersMaxDaysWarning',3,'Define the days before a transfer is suspected of having a problem',NULL,'Integer');
129
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('useDaysMode','Calendar','Choose the method for calculating due date: select Calendar to use the holidays module, and Days to ignore the holidays module','Calendar|Days|Datedue','Choice');
134
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('useDaysMode','Calendar','Choose the method for calculating due date: select Calendar to use the holidays module, and Days to ignore the holidays module','Calendar|Days|Datedue','Choice');
135
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('UseControlNumber',0,'If ON, record control number (w subfields) and control number (001) are used for linking of bibliographic records.','','YesNo');
130
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('virtualshelves',1,'If ON, enables Lists management','','YesNo');
136
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('virtualshelves',1,'If ON, enables Lists management','','YesNo');
131
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('z3950AuthorAuthFields','701,702,700','Define the MARC biblio fields for Personal Name Authorities to fill biblio.author',NULL,'free');
137
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('z3950AuthorAuthFields','701,702,700','Define the MARC biblio fields for Personal Name Authorities to fill biblio.author',NULL,'free');
132
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('z3950NormalizeAuthor',0,'If ON, Personal Name Authorities will replace authors in biblio.author','','YesNo');
138
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('z3950NormalizeAuthor',0,'If ON, Personal Name Authorities will replace authors in biblio.author','','YesNo');
Lines 160-165 INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES Link Here
160
-- need AddressType to distinguish between US and other, telephone numbers, maori stuff, sex, nationality, etc.
166
-- need AddressType to distinguish between US and other, telephone numbers, maori stuff, sex, nationality, etc.
161
-- LDAP ? required fields?
167
-- LDAP ? required fields?
162
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('WebBasedSelfCheck',0,'If ON, enables the web-based self-check system',NULL,'YesNo');
168
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('WebBasedSelfCheck',0,'If ON, enables the web-based self-check system',NULL,'YesNo');
169
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SelfCheckTimeout',120,'Define the number of seconds before the Web-based Self Checkout times out a patron','','Integer');
170
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AllowSelfCheckReturns',0,'If enabled, patrons may return items through the Web-based Self Checkout','','YesNo');
171
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SelfCheckHelpMessage','','Enter HTML to include under the basic Web-based Self Checkout instructions on the Help page','70|10','Textarea');
163
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('numSearchResults',20,'Specify the maximum number of results to display on a page of results',NULL,'Integer');
172
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('numSearchResults',20,'Specify the maximum number of results to display on a page of results',NULL,'Integer');
164
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACnumSearchResults',20,'Specify the maximum number of results to display on a page of results',NULL,'Integer');
173
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACnumSearchResults',20,'Specify the maximum number of results to display on a page of results',NULL,'Integer');
165
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('defaultSortField',NULL,'Specify the default field used for sorting','relevance|popularity|call_number|pubdate|acqdate|title|author','Choice');
174
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('defaultSortField',NULL,'Specify the default field used for sorting','relevance|popularity|call_number|pubdate|acqdate|title|author','Choice');
Lines 173-180 INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES Link Here
173
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('emailLibrarianWhenHoldIsPlaced',0,'If ON, emails the librarian whenever a hold is placed',NULL,'YesNo');
182
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('emailLibrarianWhenHoldIsPlaced',0,'If ON, emails the librarian whenever a hold is placed',NULL,'YesNo');
174
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('numReturnedItemsToShow','20','Number of returned items to show on the check-in page',NULL,'Integer');
183
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('numReturnedItemsToShow','20','Number of returned items to show on the check-in page',NULL,'Integer');
175
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('finesMode','test','Choose the fines mode, \'off\', \'test\' (emails admin report) or \'production\' (accrue overdue fines).  Requires accruefines cronjob.','off|test|production','Choice');
184
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('finesMode','test','Choose the fines mode, \'off\', \'test\' (emails admin report) or \'production\' (accrue overdue fines).  Requires accruefines cronjob.','off|test|production','Choice');
176
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('globalDueDate','','If set, allows a global static due date for all checkouts','10','free');
177
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ceilingDueDate','','If set, date due will not be past this date.  Enter date according to the dateformat System Preference',NULL,'free');
178
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('itemBarcodeInputFilter','','If set, allows specification of a item barcode input filter','whitespace|T-prefix|cuecat|libsuite8','Choice');
185
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('itemBarcodeInputFilter','','If set, allows specification of a item barcode input filter','whitespace|T-prefix|cuecat|libsuite8','Choice');
179
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('singleBranchMode',0,'Operate in Single-branch mode, hide branch selection in the OPAC',NULL,'YesNo');
186
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('singleBranchMode',0,'Operate in Single-branch mode, hide branch selection in the OPAC',NULL,'YesNo');
180
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('URLLinkText','','Text to display as the link anchor in the OPAC',NULL,'free');
187
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('URLLinkText','','Text to display as the link anchor in the OPAC',NULL,'free');
Lines 286-291 INSERT INTO `systempreferences` ( `variable` , `value` , `options` , `explanatio Link Here
286
INSERT INTO `systempreferences` ( `variable` , `value` , `options` , `explanation` , `type` ) VALUES ( 'DisplayClearScreenButton', '0', '', 'If set to ON, a clear screen button will appear on the circulation page.', 'YesNo');
293
INSERT INTO `systempreferences` ( `variable` , `value` , `options` , `explanation` , `type` ) VALUES ( 'DisplayClearScreenButton', '0', '', 'If set to ON, a clear screen button will appear on the circulation page.', 'YesNo');
287
INSERT INTO systempreferences (variable,value,options,explanation,type)VALUES('HidePatronName', '0', '', 'If this is switched on, patron''s cardnumber will be shown instead of their name on the holds and catalog screens', 'YesNo');
294
INSERT INTO systempreferences (variable,value,options,explanation,type)VALUES('HidePatronName', '0', '', 'If this is switched on, patron''s cardnumber will be shown instead of their name on the holds and catalog screens', 'YesNo');
288
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('OPACSearchForTitleIn','<li><a  href="http://worldcat.org/search?q={TITLE}" target="_blank">Andre bibliotek (WorldCat)</a></li>\n<li><a href="http://www.scholar.google.com/scholar?q={TITLE}" target="_blank">Andre databaser (Google Scholar)</a></li>\n<li><a href="http://www.bookfinder.com/search/?author={AUTHOR}&amp;title={TITLE}&amp;st=xl&amp;ac=qr" target="_blank">Nettbutikker (Bookfinder.com)</a></li>','Skriv inn HTML som vil vises i \'Flere søk\'-menyen i detaljvisningen i OPACen.  Bruk {TITLE}, {AUTHOR} eller {ISBN} som variabler i URLer. La feltet være tomt for å skru av \'Flere søk\'-menyen.','70|10','Textarea');
295
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('OPACSearchForTitleIn','<li><a  href="http://worldcat.org/search?q={TITLE}" target="_blank">Andre bibliotek (WorldCat)</a></li>\n<li><a href="http://www.scholar.google.com/scholar?q={TITLE}" target="_blank">Andre databaser (Google Scholar)</a></li>\n<li><a href="http://www.bookfinder.com/search/?author={AUTHOR}&amp;title={TITLE}&amp;st=xl&amp;ac=qr" target="_blank">Nettbutikker (Bookfinder.com)</a></li>','Skriv inn HTML som vil vises i \'Flere søk\'-menyen i detaljvisningen i OPACen.  Bruk {TITLE}, {AUTHOR} eller {ISBN} som variabler i URLer. La feltet være tomt for å skru av \'Flere søk\'-menyen.','70|10','Textarea');
296
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('OPACMySummaryHTML','','Enter the HTML that will appear in a column on the \'my profile\' tab when a user is logged in to the OPAC. Enter {BIBLIONUMBER}, {TITLE}, {AUTHOR}, or {ISBN} in place of their respective variables in the HTML. Leave blank to disable.','70|10','Textarea');
289
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('OPACPatronDetails','1','If OFF the patron details tab in the OPAC is disabled.','','YesNo');
297
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('OPACPatronDetails','1','If OFF the patron details tab in the OPAC is disabled.','','YesNo');
290
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('OPACFinesTab','1','If OFF the patron fines tab in the OPAC is disabled.','','YesNo');
298
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('OPACFinesTab','1','If OFF the patron fines tab in the OPAC is disabled.','','YesNo');
291
INSERT INTO systempreferences (variable,value,options,explanation,type)VALUES('DisplayOPACiconsXSLT', '1', '', 'If ON, displays the format, audience, type icons in XSLT MARC21 results and display pages.', 'YesNo');
299
INSERT INTO systempreferences (variable,value,options,explanation,type)VALUES('DisplayOPACiconsXSLT', '1', '', 'If ON, displays the format, audience, type icons in XSLT MARC21 results and display pages.', 'YesNo');
Lines 321-326 INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ( Link Here
321
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OpacFavicon','','Enter a complete URL to an image to replace the default Koha favicon on the OPAC','','free');
329
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OpacFavicon','','Enter a complete URL to an image to replace the default Koha favicon on the OPAC','','free');
322
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('IntranetFavicon','','Enter a complete URL to an image to replace the default Koha favicon on the Staff client','','free');
330
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('IntranetFavicon','','Enter a complete URL to an image to replace the default Koha favicon on the Staff client','','free');
323
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('TraceSubjectSubdivisions', '0', 'Create searches on all subdivisions for subject tracings.','1','YesNo');
331
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('TraceSubjectSubdivisions', '0', 'Create searches on all subdivisions for subject tracings.','1','YesNo');
332
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('StaffAuthorisedValueImages','1','',NULL,'YesNo');
333
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACDisplay856uAsImage','OFF','Display the URI in the 856u field as an image, the corresponding OPACXSLT option must be on','OFF|Details|Results|Both','Choice');
334
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('Display856uAsImage','OFF','Display the URI in the 856u field as an image, the corresponding Staff Client XSLT option must be on','OFF|Details|Results|Both','Choice');
335
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');
336
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AlternateHoldingsSeparator','','The string to use to separate subfields in alternate holdings displays.',NULL,'free');
337
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');
338
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');
324
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('BasketConfirmations', '1', 'When closing or reopening a basket,', 'always ask for confirmation.|do not ask for confirmation.', 'Choice');
339
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('BasketConfirmations', '1', 'When closing or reopening a basket,', 'always ask for confirmation.|do not ask for confirmation.', 'Choice');
325
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('MARCAuthorityControlField008', '|| aca||aabn           | a|a     d', NULL, NULL, 'Textarea');
340
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('MARCAuthorityControlField008', '|| aca||aabn           | a|a     d', NULL, NULL, 'Textarea');
326
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OpenLibraryCovers',0,'If ON Openlibrary book covers will be show',NULL,'YesNo');
341
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OpenLibraryCovers',0,'If ON Openlibrary book covers will be show',NULL,'YesNo');
342
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('StaffAuthorisedValueImages','1','',NULL,'YesNo');
343
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACDisplay856uAsImage','OFF','Display the URI in the 856u field as an image, the corresponding OPACXSLT option must be on','OFF|Details|Results|Both','Choice');
344
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('Display856uAsImage','OFF','Display the URI in the 856u field as an image, the corresponding Staff Client XSLT option must be on','OFF|Details|Results|Both','Choice');
345
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');
346
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AlternateHoldingsSeparator','','The string to use to separate subfields in alternate holdings displays.',NULL,'free');
347
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');
348
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');
349
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('OpacRenewalBranch','checkoutbranch','Choose how the branch for an OPAC renewal is recorded in statistics','itemhomebranch|patronhomebranch|checkoutbranch|null','Choice');
(-)a/installer/data/mysql/pl-PL/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/ru-RU/mandatory/system_preferences_full_optimal_for_install_only.sql (+1 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');
(-)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 (+6 lines)
Lines 4439-4444 if (C4::Context->preference("Version") < TransformToNum($DBversion)) { Link Here
4439
    SetVersion($DBversion);
4439
    SetVersion($DBversion);
4440
}
4440
}
4441
4441
4442
$DBversion = "3.05.00.XXX";
4443
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
4444
    $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')");
4445
    print "Upgrade to $DBversion done (BorrowerUnwantedField syspref)\n";
4446
    SetVersion ($DBversion);
4447
}
4442
4448
4443
=head1 FUNCTIONS
4449
=head1 FUNCTIONS
4444
4450
(-)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 (-4 / +120 lines)
Lines 178-187 Link Here
178
[% END %]
178
[% END %]
179
179
180
[% IF ( step_1 ) %]
180
[% IF ( step_1 ) %]
181
[%UNLESS notitle && nosurname && nofirstname && nodateofbirth && noinitials && noothernames &&nosex %]
181
	<fieldset class="rows" id="memberentry_identity">
182
	<fieldset class="rows" id="memberentry_identity">
182
		<legend>[% IF ( I ) %]Organization [% ELSE %]Patron [% END %]identity</legend>
183
		<legend>[% IF ( I ) %]Organization [% ELSE %]Patron [% END %]identity</legend>
183
		<ol>
184
		<ol>
184
		[% UNLESS ( I ) %]
185
		[% UNLESS ( I ) %]
186
        [% UNLESS notitle %]
185
		[% IF ( title_cgipopup ) %]
187
		[% IF ( title_cgipopup ) %]
186
            <li>
188
            <li>
187
            [% IF ( mandatorytitle ) %]
189
            [% IF ( mandatorytitle ) %]
Lines 195-200 Link Here
195
            </li>
197
            </li>
196
		[% END %]
198
		[% END %]
197
        [% END %]
199
        [% END %]
200
		[% END %]
201
        [% UNLESS nosurname %]
198
		<li>
202
		<li>
199
		[% IF ( mandatorysurname ) %]
203
		[% IF ( mandatorysurname ) %]
200
		<label for="surname" class="required">
204
		<label for="surname" class="required">
Lines 209-215 Link Here
209
		[% END %]
213
		[% END %]
210
		[% IF ( mandatorysurname ) %]<span class="required">Required</span>[% END %]
214
		[% IF ( mandatorysurname ) %]<span class="required">Required</span>[% END %]
211
		</li>
215
		</li>
216
        [% END %]
212
		[% UNLESS ( I ) %]
217
		[% UNLESS ( I ) %]
218
        [% UNLESS nofirstname %]
213
            <li>
219
            <li>
214
                [% IF ( mandatoryfirstname ) %]
220
                [% IF ( mandatoryfirstname ) %]
215
                <label for="firstname" class="required">
221
                <label for="firstname" class="required">
Lines 220-225 Link Here
220
                <input type="text" id="firstname" name="firstname" size="20"  value="[% IF ( opduplicate ) %][% ELSE %][% firstname %][% END %]" />
226
                <input type="text" id="firstname" name="firstname" size="20"  value="[% IF ( opduplicate ) %][% ELSE %][% firstname %][% END %]" />
221
                [% IF ( mandatoryfirstname ) %]<span class="required">Required</span>[% END %]
227
                [% IF ( mandatoryfirstname ) %]<span class="required">Required</span>[% END %]
222
            </li>
228
            </li>
229
        [% END %]
230
        [% UNLESS nodateofbirth %]
223
            <li>
231
            <li>
224
                [% IF ( mandatorydateofbirth ) %]
232
                [% IF ( mandatorydateofbirth ) %]
225
                <label for="dateofbirth" class="required">
233
                <label for="dateofbirth" class="required">
Lines 248-253 Link Here
248
        [% IF ( ERROR_dateofbirth ) %]<span class="required">(Error)</span>[% END %]
256
        [% IF ( ERROR_dateofbirth ) %]<span class="required">(Error)</span>[% END %]
249
		<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
257
		<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
250
            </li>
258
            </li>
259
        [% END %]
260
        [% UNLESS noinitials %]
251
            <li>
261
            <li>
252
                [% IF ( mandatoryinitials ) %]
262
                [% IF ( mandatoryinitials ) %]
253
                    <label for="initials" class="required">
263
                    <label for="initials" class="required">
Lines 259-264 Link Here
259
                [% IF ( mandatoryinitials ) %]<span class="required">Required</span>[% END %]
269
                [% IF ( mandatoryinitials ) %]<span class="required">Required</span>[% END %]
260
            </li>
270
            </li>
261
        [% END %]
271
        [% END %]
272
        [% END %]
273
        [% UNLESS noothernames %]
262
		<li>
274
		<li>
263
			[% IF ( mandatoryothernames ) %]
275
			[% IF ( mandatoryothernames ) %]
264
			<label for="othernames" class="required">
276
			<label for="othernames" class="required">
Lines 270-276 Link Here
270
[% IF ( mandatoryothernames ) %]<span class="required">Required</span>[% END %]
282
[% IF ( mandatoryothernames ) %]<span class="required">Required</span>[% END %]
271
		[% IF ( I ) %]<input type="hidden" name="sex" value="N" />[% END %]
283
		[% IF ( I ) %]<input type="hidden" name="sex" value="N" />[% END %]
272
		</li>
284
		</li>
285
        [% END %]
273
    [% UNLESS ( I ) %]
286
    [% UNLESS ( I ) %]
287
        [% UNLESS nosex %]
274
		<li class="radio">
288
		<li class="radio">
275
		
289
		
276
		[% IF ( female ) %]
290
		[% IF ( female ) %]
Lines 289-297 Link Here
289
				<label for="sex-none">N/A </label><input type="radio" name="sex" id="sex-none" value="" />
303
				<label for="sex-none">N/A </label><input type="radio" name="sex" id="sex-none" value="" />
290
[% END %]
304
[% END %]
291
       	</li>
305
       	</li>
306
        [% END %]
292
    [% END %]
307
    [% END %]
293
		</ol>
308
		</ol>
294
	</fieldset>
309
	</fieldset>
310
[% END # hide fieldset %]    
295
	
311
	
296
[% IF ( showguarantor ) %]<input type="hidden" id="guarantorid" name="guarantorid"   value="[% guarantorid %]" />
312
[% IF ( showguarantor ) %]<input type="hidden" id="guarantorid" name="guarantorid"   value="[% guarantorid %]" />
297
    <fieldset class="rows">
313
    <fieldset class="rows">
Lines 323-328 Link Here
323
 [% END %]
339
 [% END %]
324
     <span class="label">Patron #:</span> [% IF ( guarantorid ) %] <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantorid %]" target="blank">[% guarantorid %]</a>[% END %]
340
     <span class="label">Patron #:</span> [% IF ( guarantorid ) %] <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantorid %]" target="blank">[% guarantorid %]</a>[% END %]
325
 </li>
341
 </li>
342
        [% UNLESS nocontactname %]
326
 <li>
343
 <li>
327
     <label for="contactname">Surname: </label>
344
     <label for="contactname">Surname: </label>
328
     [% IF ( guarantorid ) %]
345
     [% IF ( guarantorid ) %]
Lines 332-337 Link Here
332
     <input name="contactname" id="contactname" type="text" size="20" value="[% contactname %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
349
     <input name="contactname" id="contactname" type="text" size="20" value="[% contactname %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
333
     [% END %]
350
     [% END %]
334
 </li>
351
 </li>
352
        [% END %]
353
        [% UNLESS nocontactfirstname %]
335
 <li>
354
 <li>
336
     <label for="contactfirstname">First name: </label>
355
     <label for="contactfirstname">First name: </label>
337
     [% IF ( guarantorid ) %]
356
     [% IF ( guarantorid ) %]
Lines 341-346 Link Here
341
     <input name="contactfirstname" id="contactfirstname" type="text" size="20" value="[% contactfirstname %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
360
     <input name="contactfirstname" id="contactfirstname" type="text" size="20" value="[% contactfirstname %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
342
     [% END %]
361
     [% END %]
343
 </li>
362
 </li>
363
        [% END %]
344
 [% IF ( relshiploop ) %]
364
 [% IF ( relshiploop ) %]
345
 <li>
365
 <li>
346
     <label for="relationship">Relationship: </label>
366
     <label for="relationship">Relationship: </label>
Lines 370-377 Link Here
370
    </fieldset>
390
    </fieldset>
371
391
372
[% END %]
392
[% END %]
393
[% UNLESS noaddress && noaddress2 && nocity && nostate && nozipcode && nocountry %]
373
<fieldset class="rows">
394
<fieldset class="rows">
374
    <legend>Main address</legend><ol>
395
    <legend>Main address</legend><ol>
396
        [% UNLESS nostreetnumber %]
375
    <li>
397
    <li>
376
      [% IF ( mandatorystreetnumber ) %]
398
      [% IF ( mandatorystreetnumber ) %]
377
      <label for="streetnumber" class="required">
399
      <label for="streetnumber" class="required">
Lines 382-387 Link Here
382
      <input type="text" id="streetnumber" name="streetnumber" size="5" value="[% streetnumber %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
404
      <input type="text" id="streetnumber" name="streetnumber" size="5" value="[% streetnumber %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
383
[% IF ( mandatorystreetnumber ) %]<span class="required">Required</span>[% END %]
405
[% IF ( mandatorystreetnumber ) %]<span class="required">Required</span>[% END %]
384
    </li>
406
    </li>
407
        [% END %]
408
        [% UNLESS nostreettype %]
385
    [% IF ( road_cgipopup ) %]
409
    [% IF ( road_cgipopup ) %]
386
      <li>
410
      <li>
387
      [% IF ( mandatorystreettype ) %]
411
      [% IF ( mandatorystreettype ) %]
Lines 394-399 Link Here
394
	  [% IF ( mandatorystreettype ) %]<span class="required">Required</span>[% END %]
418
	  [% IF ( mandatorystreettype ) %]<span class="required">Required</span>[% END %]
395
      </li>
419
      </li>
396
    [% END %] 
420
    [% END %] 
421
        [% END %]
422
        [% UNLESS noaddress %]
397
    <li>
423
    <li>
398
      [% IF ( mandatoryaddress ) %]
424
      [% IF ( mandatoryaddress ) %]
399
      <label for="address" class="required">
425
      <label for="address" class="required">
Lines 404-409 Link Here
404
      <input type="text" id="address" name="address" size="35" value="[% address %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
430
      <input type="text" id="address" name="address" size="35" value="[% address %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
405
	  [% IF ( mandatoryaddress ) %]<span class="required">Required</span>[% END %]
431
	  [% IF ( mandatoryaddress ) %]<span class="required">Required</span>[% END %]
406
    </li>
432
    </li>
433
        [% END %]
434
        [% UNLESS noaddress2 %]
407
    <li>
435
    <li>
408
      [% IF ( mandatoryaddress2 ) %]
436
      [% IF ( mandatoryaddress2 ) %]
409
      <label for="address2" class="required">
437
      <label for="address2" class="required">
Lines 414-419 Link Here
414
      <input type="text" id="address2" name="address2" size="35" value="[% address2 %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
442
      <input type="text" id="address2" name="address2" size="35" value="[% address2 %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
415
	  [% IF ( mandatoryaddress2 ) %]<span class="required">Required</span>[% END %]
443
	  [% IF ( mandatoryaddress2 ) %]<span class="required">Required</span>[% END %]
416
    </li>  
444
    </li>  
445
        [% END %]
446
        [% UNLESS nocity %]
417
    <li>
447
    <li>
418
      [% IF ( mandatorycity ) %]
448
      [% IF ( mandatorycity ) %]
419
        <label for="city" class="required">
449
        <label for="city" class="required">
Lines 438-443 Link Here
438
        [% END %]
468
        [% END %]
439
	  [% IF ( mandatorycity ) %]<span class="required">Required</span>[% END %]
469
	  [% IF ( mandatorycity ) %]<span class="required">Required</span>[% END %]
440
    </li>
470
    </li>
471
        [% END %]
472
        [% UNLESS nostate %]
441
    <li> 
473
    <li> 
442
      [% IF ( mandatorystate ) %]
474
      [% IF ( mandatorystate ) %]
443
        <label for="state" class="required">
475
        <label for="state" class="required">
Lines 448-453 Link Here
448
      <input type="text" name="state" id="state" size="20" value="[% state %]" />
480
      <input type="text" name="state" id="state" size="20" value="[% state %]" />
449
	  [% IF ( mandatorystate ) %]<span class="required">Required</span>[% END %]
481
	  [% IF ( mandatorystate ) %]<span class="required">Required</span>[% END %]
450
    </li>
482
    </li>
483
        [% END %]
484
        [% UNLESS nozipcode %]
451
    <li> 
485
    <li> 
452
      [% IF ( mandatoryzipcode ) %]
486
      [% IF ( mandatoryzipcode ) %]
453
        <label for="zipcode" class="required">
487
        <label for="zipcode" class="required">
Lines 458-464 Link Here
458
      <input type="text" name="zipcode" id="zipcode" size="10" value="[% zipcode %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
492
      <input type="text" name="zipcode" id="zipcode" size="10" value="[% zipcode %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
459
	  [% IF ( mandatoryzipcode ) %]<span class="required">Required</span>[% END %]
493
	  [% IF ( mandatoryzipcode ) %]<span class="required">Required</span>[% END %]
460
    </li>
494
    </li>
461
    
495
        [% END %]
496
        [% UNLESS nocountry %]
462
    <li> 
497
    <li> 
463
      [% IF ( mandatorycountry ) %]
498
      [% IF ( mandatorycountry ) %]
464
        <label for="country" class="required">
499
        <label for="country" class="required">
Lines 469-479 Link Here
469
      <input type="text" name="country" id="country" size="20" value="[% country %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
504
      <input type="text" name="country" id="country" size="20" value="[% country %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
470
	  [% IF ( mandatorycountry ) %]<span class="required">Required</span>[% END %]
505
	  [% IF ( mandatorycountry ) %]<span class="required">Required</span>[% END %]
471
    </li>    
506
    </li>    
472
  
507
        [% END %]
473
	</ol>
508
	</ol>
474
    </fieldset>
509
    </fieldset>
510
[% END # nostreet && nocity etc group%]
511
512
[% UNLESS nophone && nophonepro && nomobile && noemail && noemailpro && nofax %]
475
  <fieldset class="rows" id="memberentry_contact">
513
  <fieldset class="rows" id="memberentry_contact">
476
    <legend>Contact</legend><ol>
514
    <legend>Contact</legend><ol>
515
        [% UNLESS nophone %]
477
      <li>
516
      <li>
478
      [% IF ( mandatoryphone ) %] 
517
      [% IF ( mandatoryphone ) %] 
479
      <label for="phone" class="required">
518
      <label for="phone" class="required">
Lines 485-490 Link Here
485
	  [% IF ( mandatoryphone ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
524
	  [% IF ( mandatoryphone ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
486
525
487
    </li>
526
    </li>
527
        [% END %]
528
        [% UNLESS nophonepro %]
488
    <li>
529
    <li>
489
      [% IF ( mandatoryphonepro ) %]
530
      [% IF ( mandatoryphonepro ) %]
490
      <label for="phonepro" class="required">
531
      <label for="phonepro" class="required">
Lines 495-500 Link Here
495
      <input type="text" id="phonepro" name="phonepro" value="[% phonepro %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
536
      <input type="text" id="phonepro" name="phonepro" value="[% phonepro %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
496
	  [% IF ( mandatoryphonepro ) %]<span class="required">Required</span>[% END %]
537
	  [% IF ( mandatoryphonepro ) %]<span class="required">Required</span>[% END %]
497
    </li>
538
    </li>
539
        [% END %]
540
        [% UNLESS nomobile %]
498
    <li>
541
    <li>
499
      [% IF ( mandatorymobile ) %]
542
      [% IF ( mandatorymobile ) %]
500
      <label for="mobile" class="required">
543
      <label for="mobile" class="required">
Lines 505-510 Link Here
505
      <input type="text" id="mobile" name="mobile" value="[% mobile %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
548
      <input type="text" id="mobile" name="mobile" value="[% mobile %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
506
	  [% IF ( mandatorymobile ) %]<span class="required">Required</span>[% END %]
549
	  [% IF ( mandatorymobile ) %]<span class="required">Required</span>[% END %]
507
    </li>
550
    </li>
551
        [% END %]
552
        [% UNLESS noemail %]
508
    <li>
553
    <li>
509
      [% IF ( mandatoryemail ) %]
554
      [% IF ( mandatoryemail ) %]
510
      <label for="email" class="required">
555
      <label for="email" class="required">
Lines 516-521 Link Here
516
	  [% IF ( mandatoryemail ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
561
	  [% IF ( mandatoryemail ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
517
562
518
    </li>
563
    </li>
564
        [% END %]
565
        [% UNLESS noemailpro %]
519
    <li>
566
    <li>
520
      [% IF ( mandatoryemailpro ) %] 
567
      [% IF ( mandatoryemailpro ) %] 
521
      <label for="emailpro" class="required">
568
      <label for="emailpro" class="required">
Lines 526-531 Link Here
526
      <input type="text" id="emailpro" name="emailpro" size="45" value="[% emailpro %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
573
      <input type="text" id="emailpro" name="emailpro" size="45" value="[% emailpro %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
527
	  [% IF ( mandatoryemailpro ) %]<span class="required">Required</span>[% END %]
574
	  [% IF ( mandatoryemailpro ) %]<span class="required">Required</span>[% END %]
528
    </li>
575
    </li>
576
        [% END %]
577
        [% UNLESS nofax %]
529
    <li>
578
    <li>
530
      [% IF ( mandatoryfax ) %]
579
      [% IF ( mandatoryfax ) %]
531
      <label for="fax" class="required">
580
      <label for="fax" class="required">
Lines 536-551 Link Here
536
      <input type="text" id="fax" name="fax" value="[% fax %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
585
      <input type="text" id="fax" name="fax" value="[% fax %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
537
	  [% IF ( mandatoryfax ) %]<span class="required">Required</span>[% END %]
586
	  [% IF ( mandatoryfax ) %]<span class="required">Required</span>[% END %]
538
    </li>
587
    </li>
588
        [% END %]
539
	</ol>
589
	</ol>
540
  </fieldset>
590
  </fieldset>
541
591
[%END # hide fieldset %]  
542
592
543
<!-- ************************ STEP_1 *********************** -->
593
<!-- ************************ STEP_1 *********************** -->
544
[% END %]
594
[% END %]
545
[% IF ( step_6 ) %]
595
[% IF ( step_6 ) %]
546
596
597
    [% UNLESS noB_address && noB_address2 && noB_city && noB_zipcode && noB_state && noB_country &&nocontactnote && noB_phone && noB_email %]
547
		<fieldset class="rows" id="memberentry_address">
598
		<fieldset class="rows" id="memberentry_address">
548
		<legend>Alternate address</legend><ol>
599
		<legend>Alternate address</legend><ol>
600
        [% UNLESS noB_address %]
549
			<li>
601
			<li>
550
				[% IF ( mandatoryB_address ) %]
602
				[% IF ( mandatoryB_address ) %]
551
					<label for="B_address" class="required">
603
					<label for="B_address" class="required">
Lines 556-561 Link Here
556
				<input type="text" id="B_address" name="B_address" size="40" value="[% B_address %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
608
				<input type="text" id="B_address" name="B_address" size="40" value="[% B_address %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
557
	  [% IF ( mandatoryB_address ) %]<span class="required">Required</span>[% END %]
609
	  [% IF ( mandatoryB_address ) %]<span class="required">Required</span>[% END %]
558
			</li>
610
			</li>
611
        [% END %]
612
        [% UNLESS noB_address2 %]
559
			<li>
613
			<li>
560
				[% IF ( mandatoryB_address2 ) %]
614
				[% IF ( mandatoryB_address2 ) %]
561
					<label for="B_address2" class="required">
615
					<label for="B_address2" class="required">
Lines 566-571 Link Here
566
				<input type="text" id="B_address2" name="B_address2" size="40" value="[% B_address2 %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
620
				<input type="text" id="B_address2" name="B_address2" size="40" value="[% B_address2 %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
567
	  [% IF ( mandatoryB_address2 ) %]<span class="required">Required</span>[% END %]
621
	  [% IF ( mandatoryB_address2 ) %]<span class="required">Required</span>[% END %]
568
			</li>
622
			</li>
623
        [% END %]
624
        [% UNLESS noB_city %]
569
			<li>
625
			<li>
570
				[% IF ( mandatoryB_city ) %]
626
				[% IF ( mandatoryB_city ) %]
571
					<label for="B_city" class="required" >
627
					<label for="B_city" class="required" >
Lines 576-581 Link Here
576
				<input type="text" id="B_city" name="B_city" size="20" value="[% B_city %]" />
632
				<input type="text" id="B_city" name="B_city" size="20" value="[% B_city %]" />
577
	  [% IF ( mandatoryB_city ) %]<span class="required">Required</span>[% END %]
633
	  [% IF ( mandatoryB_city ) %]<span class="required">Required</span>[% END %]
578
			</li>
634
			</li>
635
        [% END %]
636
        [% UNLESS noB_state %]
579
			<li>
637
			<li>
580
				[% IF ( mandatoryB_state ) %]
638
				[% IF ( mandatoryB_state ) %]
581
					<label for="B_state" class="required" >
639
					<label for="B_state" class="required" >
Lines 586-591 Link Here
586
				<input type="text" id="B_state" name="B_state" size="20" value="[% B_state %]" />
644
				<input type="text" id="B_state" name="B_state" size="20" value="[% B_state %]" />
587
	  [% IF ( mandatoryB_state ) %]<span class="required">Required</span>[% END %]
645
	  [% IF ( mandatoryB_state ) %]<span class="required">Required</span>[% END %]
588
			</li>
646
			</li>
647
        [% END %]
648
        [% UNLESS noB_zipcode %]
589
			<li>
649
			<li>
590
				[% IF ( mandatoryB_zipcode ) %]
650
				[% IF ( mandatoryB_zipcode ) %]
591
					<label for="B_zipcode" class="required">
651
					<label for="B_zipcode" class="required">
Lines 596-601 Link Here
596
				<input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% B_zipcode %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
656
				<input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% B_zipcode %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
597
	  [% IF ( mandatoryB_zipcode ) %]<span class="required">Required</span>[% END %]
657
	  [% IF ( mandatoryB_zipcode ) %]<span class="required">Required</span>[% END %]
598
			</li>
658
			</li>
659
        [% END %]
660
        [% UNLESS noB_country %]
599
			<li>
661
			<li>
600
				[% IF ( mandatoryB_country ) %]
662
				[% IF ( mandatoryB_country ) %]
601
					<label for="B_country" class="required">
663
					<label for="B_country" class="required">
Lines 606-611 Link Here
606
				<input type="text" id="B_country" name="B_country" size="20" value="[% B_country %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
668
				<input type="text" id="B_country" name="B_country" size="20" value="[% B_country %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
607
	  [% IF ( mandatoryB_country ) %]<span class="required">Required</span>[% END %]
669
	  [% IF ( mandatoryB_country ) %]<span class="required">Required</span>[% END %]
608
			</li>
670
			</li>
671
        [% END %]
672
        [% UNLESS noB_phone %]
609
            <li>
673
            <li>
610
                [% IF ( mandatoryB_phone ) %]
674
                [% IF ( mandatoryB_phone ) %]
611
                <label for="B_phone" class="required">
675
                <label for="B_phone" class="required">
Lines 616-621 Link Here
616
                <input type="text" id="B_phone" name="B_phone" value="[% B_phone %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
680
                <input type="text" id="B_phone" name="B_phone" value="[% B_phone %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
617
                [% IF ( mandatoryB_phone ) %]<span class="required">Required</span>[% END %]
681
                [% IF ( mandatoryB_phone ) %]<span class="required">Required</span>[% END %]
618
            </li>
682
            </li>
683
        [% END %]
684
        [% UNLESS noB_email %]
619
			<li> 
685
			<li> 
620
        [% IF ( mandatoryB_email ) %]
686
        [% IF ( mandatoryB_email ) %]
621
          <label for="B_email" class="required">
687
          <label for="B_email" class="required">
Lines 625-630 Link Here
625
        Email: </label>
691
        Email: </label>
626
        <input type="text" id="B_email" name="B_email" size="45" value="[% B_email %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
692
        <input type="text" id="B_email" name="B_email" size="45" value="[% B_email %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
627
		[% IF ( mandatoryB_email ) %]<span class="required">Required</span>[% END %] </li>
693
		[% IF ( mandatoryB_email ) %]<span class="required">Required</span>[% END %] </li>
694
        [% END %]
695
        [% UNLESS nocontactnote %]
628
            <li>
696
            <li>
629
                [% IF ( mandatorycontactnote ) %]
697
                [% IF ( mandatorycontactnote ) %]
630
                <label for="contactnote" class="required">
698
                <label for="contactnote" class="required">
Lines 635-646 Link Here
635
                <textarea id="contactnote" name="contactnote" cols="40" rows="2">[% contactnote %]</textarea>
703
                <textarea id="contactnote" name="contactnote" cols="40" rows="2">[% contactnote %]</textarea>
636
        [% IF ( mandatorycontactnote ) %]<span class="required">Required</span>[% END %]
704
        [% IF ( mandatorycontactnote ) %]<span class="required">Required</span>[% END %]
637
            </li>
705
            </li>
706
        [% END %]
638
			</ol>
707
			</ol>
639
		</fieldset>
708
		</fieldset>
709
    [% END # UNLESS noB_address && noB_city && noB_state && noB_phone && noB_email %]
640
[% END %]		
710
[% END %]		
641
[% IF ( step_2 ) %]
711
[% IF ( step_2 ) %]
712
    [% UNLESS noaltcontactsurname && noaltcontactfirstname && noaltcontactaddress1 && noaltcontactaddress2 && noaltcontactaddress3 && noaltcontactstate && noaltcontactzipcode && noaltcontactcountry && noaltcontactphone %]
642
		<fieldset class="rows" id="memberentry_altaddress">       
713
		<fieldset class="rows" id="memberentry_altaddress">       
643
		    <legend>Alternate Contact</legend><ol>
714
		    <legend>Alternate Contact</legend><ol>
715
        [% UNLESS noaltcontactsurname %]
644
			<li>
716
			<li>
645
			    [% IF ( mandatoryaltcontactsurname ) %]
717
			    [% IF ( mandatoryaltcontactsurname ) %]
646
				<label for="altcontactsurname" class="required">
718
				<label for="altcontactsurname" class="required">
Lines 651-656 Link Here
651
				<input type="text" name="altcontactsurname" id="altcontactsurname" value="[% altcontactsurname %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
723
				<input type="text" name="altcontactsurname" id="altcontactsurname" value="[% altcontactsurname %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
652
				[% IF ( mandatoryaltcontactsurname ) %]<span class="required">Required</span>[% END %]
724
				[% IF ( mandatoryaltcontactsurname ) %]<span class="required">Required</span>[% END %]
653
			</li>
725
			</li>
726
        [% END %]
727
        [% UNLESS noaltcontactfirstname %]
654
			<li>
728
			<li>
655
			    [% IF ( mandatoryaltcontactfirstname ) %]
729
			    [% IF ( mandatoryaltcontactfirstname ) %]
656
				<label for="altcontactfirstname" class="required">
730
				<label for="altcontactfirstname" class="required">
Lines 661-666 Link Here
661
				<input type="text" name="altcontactfirstname" id="altcontactfirstname" value="[% altcontactfirstname %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
735
				<input type="text" name="altcontactfirstname" id="altcontactfirstname" value="[% altcontactfirstname %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
662
				[% IF ( mandatoryaltcontactfirstname ) %]<span class="required">Required</span>[% END %]
736
				[% IF ( mandatoryaltcontactfirstname ) %]<span class="required">Required</span>[% END %]
663
			</li>
737
			</li>
738
        [% END %]
739
        [% UNLESS noaltcontactaddress1 %]
664
			<li>
740
			<li>
665
			    [% IF ( mandatoryaltcontactaddress1 ) %]
741
			    [% IF ( mandatoryaltcontactaddress1 ) %]
666
				<label for="altcontactaddress1" class="required">
742
				<label for="altcontactaddress1" class="required">
Lines 671-676 Link Here
671
				<input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% altcontactaddress1 %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] size="40" />
747
				<input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% altcontactaddress1 %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] size="40" />
672
				[% IF ( mandatoryaltcontactaddress1 ) %]<span class="required">Required</span>[% END %]
748
				[% IF ( mandatoryaltcontactaddress1 ) %]<span class="required">Required</span>[% END %]
673
			</li>
749
			</li>
750
        [% END %]
751
        [% UNLESS noaltcontactaddress2 %]
674
			<li>
752
			<li>
675
			    [% IF ( mandatoryaltcontactaddress2 ) %]
753
			    [% IF ( mandatoryaltcontactaddress2 ) %]
676
				<label for="altcontactaddress2" class="required">
754
				<label for="altcontactaddress2" class="required">
Lines 681-686 Link Here
681
				<input type="text" name="altcontactaddress2" id="altcontactaddress2" value="[% altcontactaddress2 %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] size="40" />
759
				<input type="text" name="altcontactaddress2" id="altcontactaddress2" value="[% altcontactaddress2 %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] size="40" />
682
				[% IF ( mandatoryaltcontactaddress2 ) %]<span class="required">Required</span>[% END %]
760
				[% IF ( mandatoryaltcontactaddress2 ) %]<span class="required">Required</span>[% END %]
683
			</li>
761
			</li>
762
        [% END %]
763
        [% UNLESS noaltcontactaddress3 %]
684
			<li>
764
			<li>
685
			    [% IF ( mandatoryaltcontactaddress3 ) %]
765
			    [% IF ( mandatoryaltcontactaddress3 ) %]
686
				<label for="altcontactaddress3" class="required">
766
				<label for="altcontactaddress3" class="required">
Lines 691-696 Link Here
691
				<input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% altcontactaddress3 %]" size="20" />
771
				<input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% altcontactaddress3 %]" size="20" />
692
				[% IF ( mandatoryaltcontactaddress3 ) %]<span class="required">Required</span>[% END %]
772
				[% IF ( mandatoryaltcontactaddress3 ) %]<span class="required">Required</span>[% END %]
693
			</li>
773
			</li>
774
        [% END %]
775
        [% UNLESS noaltcontactstate %]
694
			<li>
776
			<li>
695
			    [% IF ( mandatoryaltcontactstate ) %]
777
			    [% IF ( mandatoryaltcontactstate ) %]
696
				<label for="altcontactstate" class="required">
778
				<label for="altcontactstate" class="required">
Lines 701-706 Link Here
701
				<input type="text" name="altcontactstate" id="altcontactstate" value="[% altcontactstate %]" size="20" />
783
				<input type="text" name="altcontactstate" id="altcontactstate" value="[% altcontactstate %]" size="20" />
702
				[% IF ( mandatoryaltcontactstate ) %]<span class="required">Required</span>[% END %]
784
				[% IF ( mandatoryaltcontactstate ) %]<span class="required">Required</span>[% END %]
703
			</li>
785
			</li>
786
        [% END %]
787
        [% UNLESS noaltcontactzipcode %]
704
			<li>
788
			<li>
705
			    [% IF ( mandatoryaltcontactzipcode ) %]
789
			    [% IF ( mandatoryaltcontactzipcode ) %]
706
				<label for="altcontactzipcode" class="required">
790
				<label for="altcontactzipcode" class="required">
Lines 711-716 Link Here
711
				<input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% altcontactzipcode %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] size="5" />
795
				<input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% altcontactzipcode %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] size="5" />
712
				[% IF ( mandatoryaltcontactzipcode ) %]<span class="required">Required</span>[% END %]
796
				[% IF ( mandatoryaltcontactzipcode ) %]<span class="required">Required</span>[% END %]
713
			</li>
797
			</li>
798
        [% END %]
799
        [% UNLESS noaltcontactcountry %]
714
			<li>
800
			<li>
715
			    [% IF ( mandatoryaltcontactcountry ) %]
801
			    [% IF ( mandatoryaltcontactcountry ) %]
716
				<label for="altcontactcountry" class="required">
802
				<label for="altcontactcountry" class="required">
Lines 721-726 Link Here
721
				<input type="text" name="altcontactcountry" id="altcontactcountry" value="[% altcontactcountry %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] size="20" />
807
				<input type="text" name="altcontactcountry" id="altcontactcountry" value="[% altcontactcountry %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] size="20" />
722
				[% IF ( mandatoryaltcontactcountry ) %]<span class="required">Required</span>[% END %]
808
				[% IF ( mandatoryaltcontactcountry ) %]<span class="required">Required</span>[% END %]
723
			</li>			
809
			</li>			
810
        [% END %]
811
        [% UNLESS noaltcontactphone %]
724
			<li>
812
			<li>
725
			    [% IF ( mandatoryaltcontactphone ) %]
813
			    [% IF ( mandatoryaltcontactphone ) %]
726
				<label for="altcontactphone" class="required">
814
				<label for="altcontactphone" class="required">
Lines 731-744 Link Here
731
				<input type="text" name="altcontactphone" id="altcontactphone" value="[% altcontactphone %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
819
				<input type="text" name="altcontactphone" id="altcontactphone" value="[% altcontactphone %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
732
				[% IF ( mandatoryaltcontactphone ) %]<span class="required">Required</span>[% END %]
820
				[% IF ( mandatoryaltcontactphone ) %]<span class="required">Required</span>[% END %]
733
			</li>
821
			</li>
822
        [% END %]
734
            </ol>
823
            </ol>
735
        </fieldset>
824
        </fieldset>
825
    [% END # UNLESS noaltcontactsurname && noaltcontactfirstname etc %]
736
826
737
[% END %]
827
[% END %]
738
[% IF ( step_3 ) %]
828
[% IF ( step_3 ) %]
739
829
740
  <fieldset class="rows" id="memberentry_library_management">
830
  <fieldset class="rows" id="memberentry_library_management">
741
    <legend>Library Management</legend><ol>
831
    <legend>Library Management</legend><ol>
832
        [% UNLESS nocardnumber %]
742
   <li> [% IF ( mandatorycardnumber ) %]
833
   <li> [% IF ( mandatorycardnumber ) %]
743
      <label for="cardnumber" class="required">
834
      <label for="cardnumber" class="required">
744
    [% ELSE %]
835
    [% ELSE %]
Lines 747-752 Link Here
747
    Card number: </label>
838
    Card number: </label>
748
    <input type="text" id="cardnumber" name="cardnumber" size="20" value="[% IF ( opduplicate ) %][% ELSE %][% cardnumber %][% END %]" />
839
    <input type="text" id="cardnumber" name="cardnumber" size="20" value="[% IF ( opduplicate ) %][% ELSE %][% cardnumber %][% END %]" />
749
	  [% IF ( mandatorycardnumber ) %]<span class="required">Required</span>[% END %]</li>
840
	  [% IF ( mandatorycardnumber ) %]<span class="required">Required</span>[% END %]</li>
841
        [% END %]
842
        [% UNLESS nobranchcode %]
750
    <li>
843
    <li>
751
      [% IF ( mandatorybranchcode ) %]
844
      [% IF ( mandatorybranchcode ) %]
752
        <label for="branchcode" class="required">
845
        <label for="branchcode" class="required">
Lines 757-762 Link Here
757
      [% CGIbranch %]
850
      [% CGIbranch %]
758
	  [% IF ( mandatorybranchcode ) %]<span class="required">Required</span>[% END %]
851
	  [% IF ( mandatorybranchcode ) %]<span class="required">Required</span>[% END %]
759
    </li>
852
    </li>
853
        [% END %]
760
    <li>
854
    <li>
761
        <label for="categorycode">Category: </label>
855
        <label for="categorycode">Category: </label>
762
        <select id="categorycode" name="categorycode">
856
        <select id="categorycode" name="categorycode">
Lines 782-787 Link Here
782
       [% END %]
876
       [% END %]
783
       </select>
877
       </select>
784
    </li>
878
    </li>
879
        [% UNLESS nosort1 %]
785
    <li>
880
    <li>
786
      [% IF ( mandatorysort1 ) %]
881
      [% IF ( mandatorysort1 ) %]
787
        <label for="sort1" class="required">
882
        <label for="sort1" class="required">
Lines 796-801 Link Here
796
	  [% IF ( mandatorysort1 ) %]<span class="required">Required</span>[% END %]
891
	  [% IF ( mandatorysort1 ) %]<span class="required">Required</span>[% END %]
797
      [% END %]   
892
      [% END %]   
798
    </li>
893
    </li>
894
        [% END %]
895
        [% UNLESS nosort2 %]
799
    <li>
896
    <li>
800
    [% IF ( mandatorysort2 ) %]
897
    [% IF ( mandatorysort2 ) %]
801
    <label for="sort2" class="required">
898
    <label for="sort2" class="required">
Lines 810-819 Link Here
810
	  [% IF ( mandatorysort2 ) %]<span class="required">Required</span>[% END %]
907
	  [% IF ( mandatorysort2 ) %]<span class="required">Required</span>[% END %]
811
    [% END %] 
908
    [% END %] 
812
    </li>
909
    </li>
910
        [% END %]
813
	</ol>
911
	</ol>
814
  </fieldset>
912
  </fieldset>
913
    [% UNLESS nodateenrolled && nodateexpiry &&  noopacnote && noborrowernotes %]
815
	<fieldset class="rows" id="memberentry_subscription">
914
	<fieldset class="rows" id="memberentry_subscription">
816
	<legend>Library set-up</legend><ol>
915
	<legend>Library set-up</legend><ol>
916
        [% UNLESS nodateenrolled %]
817
		<li>
917
		<li>
818
			[% IF ( mandatorydateenrolled ) %]
918
			[% IF ( mandatorydateenrolled ) %]
819
			<label for="dateenrolled" class="required">
919
			<label for="dateenrolled" class="required">
Lines 836-841 Link Here
836
		[% IF ( ERROR_dateenrolled ) %]<span class="required">(Error)</span>[% END %]
936
		[% IF ( ERROR_dateenrolled ) %]<span class="required">(Error)</span>[% END %]
837
		<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
937
		<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
838
		</li>
938
		</li>
939
        [% END %]
940
        [% UNLESS nodateexpiry %]
839
		<li>
941
		<li>
840
			[% IF ( mandatorydateexpiry ) %]
942
			[% IF ( mandatorydateexpiry ) %]
841
			<label for="dateexpiry" class="required">
943
			<label for="dateexpiry" class="required">
Lines 858-863 Link Here
858
		[% IF ( ERROR_dateexpiry ) %]<span class="required">(Error)</span>[% END %]
960
		[% IF ( ERROR_dateexpiry ) %]<span class="required">(Error)</span>[% END %]
859
		<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
961
		<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
860
		</li>
962
		</li>
963
        [% END %]
964
        [% UNLESS noopacnote %]
861
		<li>
965
		<li>
862
			[% IF ( mandatoryopacnote ) %]
966
			[% IF ( mandatoryopacnote ) %]
863
				<label for="opacnote" class="required">
967
				<label for="opacnote" class="required">
Lines 869-874 Link Here
869
			<div class="hint">This message appears on this patron's user page in the OPAC</div>
973
			<div class="hint">This message appears on this patron's user page in the OPAC</div>
870
	  [% IF ( mandatoryopacnote ) %]<span class="required">Required</span>[% END %]
974
	  [% IF ( mandatoryopacnote ) %]<span class="required">Required</span>[% END %]
871
		</li>
975
		</li>
976
        [% END %]
977
        [% UNLESS noborrowernotes %]
872
		<li>
978
		<li>
873
			[% IF ( mandatoryborrowernotes ) %]	
979
			[% IF ( mandatoryborrowernotes ) %]	
874
				<label for="borrowernotes" class="required">
980
				<label for="borrowernotes" class="required">
Lines 880-889 Link Here
880
			<div class="hint">This message displays when checking out to this patron</div>
986
			<div class="hint">This message displays when checking out to this patron</div>
881
	  [% IF ( mandatoryborrowernotes ) %]<span class="required">Required</span>[% END %]
987
	  [% IF ( mandatoryborrowernotes ) %]<span class="required">Required</span>[% END %]
882
		</li>
988
		</li>
989
        [% END %]
883
		</ol>
990
		</ol>
884
	</fieldset>
991
	</fieldset>
992
    [% END # hide fieldset %]
993
994
    [% UNLESS nouserid && nopassword %]
885
	<fieldset class="rows" id="memberentry_userid">
995
	<fieldset class="rows" id="memberentry_userid">
886
		<legend>OPAC/Staff Login</legend><ol>
996
		<legend>OPAC/Staff Login</legend><ol>
997
        [% UNLESS nouserid %]
887
		<li>
998
		<li>
888
			[% IF ( mandatoryuserid ) %]
999
			[% IF ( mandatoryuserid ) %]
889
			<label for="userid" class="required">
1000
			<label for="userid" class="required">
Lines 900-905 Link Here
900
1011
901
	  [% IF ( mandatoryuserid ) %]<span class="required">Required</span>[% END %]
1012
	  [% IF ( mandatoryuserid ) %]<span class="required">Required</span>[% END %]
902
		</li>
1013
		</li>
1014
        [%END %]
1015
        [% UNLESS nopassword %]
903
		<li>
1016
		<li>
904
			[% IF ( mandatorypassword ) %]
1017
			[% IF ( mandatorypassword ) %]
905
			<label for="password" class="required">
1018
			<label for="password" class="required">
Lines 930-937 Link Here
930
			[% END %]
1043
			[% END %]
931
	  [% IF ( mandatorypassword ) %]<span class="required">Required</span>[% END %][% IF ( ERROR_short_password ) %]<span class="required">Password is too short</span>[% END %]
1044
	  [% IF ( mandatorypassword ) %]<span class="required">Required</span>[% END %][% IF ( ERROR_short_password ) %]<span class="required">Password is too short</span>[% END %]
932
[% IF ( minPasswordLength ) %]<div class="hint">Minimum password length: [% minPasswordLength %]</div>[% END %]
1045
[% IF ( minPasswordLength ) %]<div class="hint">Minimum password length: [% minPasswordLength %]</div>[% END %]
933
		</li></ol>
1046
		</li>
1047
        [% END %]
1048
    </ol>
934
		</fieldset>
1049
		</fieldset>
1050
        [% END # hide fieldset %]
935
		<!--this zones are not necessary in modif mode -->
1051
		<!--this zones are not necessary in modif mode -->
936
		[% UNLESS ( opadd ) %]
1052
		[% UNLESS ( opadd ) %]
937
		<fieldset class="rows">
1053
		<fieldset class="rows">
(-)a/members/memberentry.pl (+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 );
(-)a/xt/syspref.t (-1 / +1 lines)
Lines 34-39 my @trans_syspref_files = qw( Link Here
34
    ru-RU/mandatory/system_preferences_full_optimal_for_install_only.sql
34
    ru-RU/mandatory/system_preferences_full_optimal_for_install_only.sql
35
    pl-PL/mandatory/sysprefs.sql
35
    pl-PL/mandatory/sysprefs.sql
36
    es-ES/mandatory/sysprefs.sql
36
    es-ES/mandatory/sysprefs.sql
37
    nb-NO/1-Obligatorisk/sysprefs.sql
37
);
38
);
38
39
39
ok(
40
ok(
40
- 

Return to bug 6190