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 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');
(-)a/installer/data/mysql/en/mandatory/sysprefs.sql (+1 lines)
Lines 20-25 INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES Link Here
20
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('autoMemberNum',1,'If ON, patron number is auto-calculated','','YesNo');
20
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('autoMemberNum',1,'If ON, patron number is auto-calculated','','YesNo');
21
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BiblioDefaultView','normal','Choose the default detail view in the catalog; choose between normal, marc or isbd','normal|marc|isbd','Choice');
21
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BiblioDefaultView','normal','Choose the default detail view in the catalog; choose between normal, marc or isbd','normal|marc|isbd','Choice');
22
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowerMandatoryField','zipcode|surname|cardnumber','Choose the mandatory fields for a patron\'s account',NULL,'free');
22
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowerMandatoryField','zipcode|surname|cardnumber','Choose the mandatory fields for a patron\'s account',NULL,'free');
23
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowerUnwantedField','','Name the fields you don\'t need to store for a patron\'s account',NULL,'free');
23
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('borrowerRelationship','father|mother','Define valid relationships between a guarantor & a guarantee (separated by | or ,)','','free');
24
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('borrowerRelationship','father|mother','Define valid relationships between a guarantor & a guarantee (separated by | or ,)','','free');
24
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowersLog',1,'If ON, log edit/create/delete actions on patron data',NULL,'YesNo');
25
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowersLog',1,'If ON, log edit/create/delete actions on patron data',NULL,'YesNo');
25
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('casAuthentication', '0', 'Enable or disable CAS authentication', '', 'YesNo');
26
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('casAuthentication', '0', 'Enable or disable CAS authentication', '', 'YesNo');
(-)a/installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql (+1 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');
(-)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 / +16 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 119-124 INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES Link Here
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');
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');
124
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('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');
126
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');
127
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');
128
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');
131
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');
132
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');
133
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('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');
135
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');
136
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');
137
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.
165
-- need AddressType to distinguish between US and other, telephone numbers, maori stuff, sex, nationality, etc.
161
-- LDAP ? required fields?
166
-- 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');
167
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('SelfCheckTimeout',120,'Define the number of seconds before the Web-based Self Checkout times out a patron','','Integer');
169
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AllowSelfCheckReturns',0,'If enabled, patrons may return items through the Web-based Self Checkout','','YesNo');
170
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');
171
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');
172
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');
173
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');
181
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');
182
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');
183
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');
184
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');
185
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');
186
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');
292
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');
293
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');
294
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 ('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');
296
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');
297
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');
298
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-323 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');
328
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');
329
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');
330
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('StaffAuthorisedValueImages','1','',NULL,'YesNo');
332
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');
333
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');
334
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');
335
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AlternateHoldingsSeparator','','The string to use to separate subfields in alternate holdings displays.',NULL,'free');
336
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');
337
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('numSearchRSSResults',50,'Specify the maximum number of results to display on a RSS page of results',NULL,'Integer');
(-)a/installer/data/mysql/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 (+7 lines)
Lines 4370-4375 if (C4::Context->preference("Version") < TransformToNum($DBversion)) { Link Here
4370
    SetVersion($DBversion);
4370
    SetVersion($DBversion);
4371
}
4371
}
4372
4372
4373
$DBversion = "3.05.00.XXX";
4374
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
4375
    $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')");
4376
    print "Upgrade to $DBversion done (BorrowerUnwantedField syspref)\n";
4377
    SetVersion ($DBversion);
4378
}
4379
4373
=head1 FUNCTIONS
4380
=head1 FUNCTIONS
4374
4381
4375
=head2 DropAllForeignKeys($table)
4382
=head2 DropAllForeignKeys($table)
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref (+5 lines)
Lines 32-37 Patrons: Link Here
32
           class: multi
32
           class: multi
33
         - (separate columns with |)
33
         - (separate columns with |)
34
     -
34
     -
35
         - "The following database columns will not appear on the patron entry screen:"
36
         - pref: BorrowerUnwantedField
37
           class: multi
38
         - (separate columns with |)
39
     -
35
         - "Guarantors can be the following of those they guarantee:"
40
         - "Guarantors can be the following of those they guarantee:"
36
         - pref: borrowerRelationship
41
         - pref: borrowerRelationship
37
           class: multi
42
           class: multi
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/help/members/memberentry.tt (+1 lines)
Lines 22-27 Link Here
22
	<li>Enter the identifying information regarding your patron
22
	<li>Enter the identifying information regarding your patron
23
<ul>
23
<ul>
24
	<li>Required fields are defined in the BorrowerMandatoryField system preference</li>
24
	<li>Required fields are defined in the BorrowerMandatoryField system preference</li>
25
	<li>Unwanted fields are defined in the BorrowerUnwantedField system preference</li>
25
	<li>Salutation is populated by the BorrowersTitles system preference</li>
26
	<li>Salutation is populated by the BorrowersTitles system preference</li>
26
</ul>
27
</ul>
27
</li>
28
</li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-3 / +108 lines)
Lines 180-185 Link Here
180
		<legend>[% IF ( I ) %]Organization [% ELSE %]Patron [% END %]identity</legend>
180
		<legend>[% IF ( I ) %]Organization [% ELSE %]Patron [% END %]identity</legend>
181
		<ol>
181
		<ol>
182
		[% UNLESS ( I ) %]
182
		[% UNLESS ( I ) %]
183
        [% UNLESS notitle %]
183
		[% IF ( title_cgipopup ) %]
184
		[% IF ( title_cgipopup ) %]
184
            <li>
185
            <li>
185
            [% IF ( mandatorytitle ) %]
186
            [% IF ( mandatorytitle ) %]
Lines 193-198 Link Here
193
            </li>
194
            </li>
194
		[% END %]
195
		[% END %]
195
        [% END %]
196
        [% END %]
197
		[% END %]
198
        [% UNLESS nosurname %]
196
		<li>
199
		<li>
197
		[% IF ( mandatorysurname ) %]
200
		[% IF ( mandatorysurname ) %]
198
		<label for="surname" class="required">
201
		<label for="surname" class="required">
Lines 207-213 Link Here
207
		[% END %]
210
		[% END %]
208
		[% IF ( mandatorysurname ) %]<span class="required">Required</span>[% END %]
211
		[% IF ( mandatorysurname ) %]<span class="required">Required</span>[% END %]
209
		</li>
212
		</li>
213
        [% END %]
210
		[% UNLESS ( I ) %]
214
		[% UNLESS ( I ) %]
215
        [% UNLESS nofirstname %]
211
            <li>
216
            <li>
212
                [% IF ( mandatoryfirstname ) %]
217
                [% IF ( mandatoryfirstname ) %]
213
                <label for="firstname" class="required">
218
                <label for="firstname" class="required">
Lines 218-223 Link Here
218
                <input type="text" id="firstname" name="firstname" size="20"  value="[% IF ( opduplicate ) %][% ELSE %][% firstname %][% END %]" />
223
                <input type="text" id="firstname" name="firstname" size="20"  value="[% IF ( opduplicate ) %][% ELSE %][% firstname %][% END %]" />
219
                [% IF ( mandatoryfirstname ) %]<span class="required">Required</span>[% END %]
224
                [% IF ( mandatoryfirstname ) %]<span class="required">Required</span>[% END %]
220
            </li>
225
            </li>
226
        [% END %]
227
        [% UNLESS nodateofbirth %]
221
            <li>
228
            <li>
222
                [% IF ( mandatorydateofbirth ) %]
229
                [% IF ( mandatorydateofbirth ) %]
223
                <label for="dateofbirth" class="required">
230
                <label for="dateofbirth" class="required">
Lines 246-251 Link Here
246
        [% IF ( ERROR_dateofbirth ) %]<span class="required">(Error)</span>[% END %]
253
        [% IF ( ERROR_dateofbirth ) %]<span class="required">(Error)</span>[% END %]
247
		<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
254
		<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
248
            </li>
255
            </li>
256
        [% END %]
257
        [% UNLESS noinitials %]
249
            <li>
258
            <li>
250
                [% IF ( mandatoryinitials ) %]
259
                [% IF ( mandatoryinitials ) %]
251
                    <label for="initials" class="required">
260
                    <label for="initials" class="required">
Lines 257-262 Link Here
257
                [% IF ( mandatoryinitials ) %]<span class="required">Required</span>[% END %]
266
                [% IF ( mandatoryinitials ) %]<span class="required">Required</span>[% END %]
258
            </li>
267
            </li>
259
        [% END %]
268
        [% END %]
269
        [% END %]
270
        [% UNLESS noothernames %]
260
		<li>
271
		<li>
261
			[% IF ( mandatoryothernames ) %]
272
			[% IF ( mandatoryothernames ) %]
262
			<label for="othernames" class="required">
273
			<label for="othernames" class="required">
Lines 268-274 Link Here
268
[% IF ( mandatoryothernames ) %]<span class="required">Required</span>[% END %]
279
[% IF ( mandatoryothernames ) %]<span class="required">Required</span>[% END %]
269
		[% IF ( I ) %]<input type="hidden" name="sex" value="N" />[% END %]
280
		[% IF ( I ) %]<input type="hidden" name="sex" value="N" />[% END %]
270
		</li>
281
		</li>
282
        [% END %]
271
    [% UNLESS ( I ) %]
283
    [% UNLESS ( I ) %]
284
        [% UNLESS nosex %]
272
		<li class="radio">
285
		<li class="radio">
273
		
286
		
274
		[% IF ( female ) %]
287
		[% IF ( female ) %]
Lines 287-292 Link Here
287
				<label for="sex-none">N/A </label><input type="radio" name="sex" id="sex-none" value="" />
300
				<label for="sex-none">N/A </label><input type="radio" name="sex" id="sex-none" value="" />
288
[% END %]
301
[% END %]
289
       	</li>
302
       	</li>
303
        [% END %]
290
    [% END %]
304
    [% END %]
291
		</ol>
305
		</ol>
292
	</fieldset>
306
	</fieldset>
Lines 321-326 Link Here
321
 [% END %]
335
 [% END %]
322
     <span class="label">Patron #:</span> [% IF ( guarantorid ) %] <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantorid %]" target="blank">[% guarantorid %]</a>[% END %]
336
     <span class="label">Patron #:</span> [% IF ( guarantorid ) %] <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantorid %]" target="blank">[% guarantorid %]</a>[% END %]
323
 </li>
337
 </li>
338
        [% UNLESS nocontactname %]
324
 <li>
339
 <li>
325
     <label for="contactname">Surname: </label>
340
     <label for="contactname">Surname: </label>
326
     [% IF ( guarantorid ) %]
341
     [% IF ( guarantorid ) %]
Lines 330-335 Link Here
330
     <input name="contactname" id="contactname" type="text" size="20" value="[% contactname %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
345
     <input name="contactname" id="contactname" type="text" size="20" value="[% contactname %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
331
     [% END %]
346
     [% END %]
332
 </li>
347
 </li>
348
        [% END %]
349
        [% UNLESS nocontactfirstname %]
333
 <li>
350
 <li>
334
     <label for="contactfirstname">First name: </label>
351
     <label for="contactfirstname">First name: </label>
335
     [% IF ( guarantorid ) %]
352
     [% IF ( guarantorid ) %]
Lines 339-344 Link Here
339
     <input name="contactfirstname" id="contactfirstname" type="text" size="20" value="[% contactfirstname %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
356
     <input name="contactfirstname" id="contactfirstname" type="text" size="20" value="[% contactfirstname %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
340
     [% END %]
357
     [% END %]
341
 </li>
358
 </li>
359
        [% END %]
342
 [% IF ( relshiploop ) %]
360
 [% IF ( relshiploop ) %]
343
 <li>
361
 <li>
344
     <label for="relationship">Relationship: </label>
362
     <label for="relationship">Relationship: </label>
Lines 368-375 Link Here
368
    </fieldset>
386
    </fieldset>
369
387
370
[% END %]
388
[% END %]
389
[% UNLESS noaddress && nocity && nostate %]
371
<fieldset class="rows">
390
<fieldset class="rows">
372
    <legend>Main address</legend><ol>
391
    <legend>Main address</legend><ol>
392
        [% UNLESS nostreetnumber %]
373
    <li>
393
    <li>
374
      [% IF ( mandatorystreetnumber ) %]
394
      [% IF ( mandatorystreetnumber ) %]
375
      <label for="streetnumber" class="required">
395
      <label for="streetnumber" class="required">
Lines 380-385 Link Here
380
      <input type="text" id="streetnumber" name="streetnumber" size="5" value="[% streetnumber %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
400
      <input type="text" id="streetnumber" name="streetnumber" size="5" value="[% streetnumber %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
381
[% IF ( mandatorystreetnumber ) %]<span class="required">Required</span>[% END %]
401
[% IF ( mandatorystreetnumber ) %]<span class="required">Required</span>[% END %]
382
    </li>
402
    </li>
403
        [% END %]
404
        [% UNLESS nostreettype %]
383
    [% IF ( road_cgipopup ) %]
405
    [% IF ( road_cgipopup ) %]
384
      <li>
406
      <li>
385
      [% IF ( mandatorystreettype ) %]
407
      [% IF ( mandatorystreettype ) %]
Lines 392-397 Link Here
392
	  [% IF ( mandatorystreettype ) %]<span class="required">Required</span>[% END %]
414
	  [% IF ( mandatorystreettype ) %]<span class="required">Required</span>[% END %]
393
      </li>
415
      </li>
394
    [% END %] 
416
    [% END %] 
417
        [% END %]
418
        [% UNLESS noaddress %]
395
    <li>
419
    <li>
396
      [% IF ( mandatoryaddress ) %]
420
      [% IF ( mandatoryaddress ) %]
397
      <label for="address" class="required">
421
      <label for="address" class="required">
Lines 402-407 Link Here
402
      <input type="text" id="address" name="address" size="35" value="[% address %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
426
      <input type="text" id="address" name="address" size="35" value="[% address %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
403
	  [% IF ( mandatoryaddress ) %]<span class="required">Required</span>[% END %]
427
	  [% IF ( mandatoryaddress ) %]<span class="required">Required</span>[% END %]
404
    </li>
428
    </li>
429
        [% END %]
430
        [% UNLESS noaddress2 %]
405
    <li>
431
    <li>
406
      [% IF ( mandatoryaddress2 ) %]
432
      [% IF ( mandatoryaddress2 ) %]
407
      <label for="address2" class="required">
433
      <label for="address2" class="required">
Lines 412-417 Link Here
412
      <input type="text" id="address2" name="address2" size="35" value="[% address2 %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
438
      <input type="text" id="address2" name="address2" size="35" value="[% address2 %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
413
	  [% IF ( mandatoryaddress2 ) %]<span class="required">Required</span>[% END %]
439
	  [% IF ( mandatoryaddress2 ) %]<span class="required">Required</span>[% END %]
414
    </li>  
440
    </li>  
441
        [% END %]
442
        [% UNLESS nocity %]
415
    <li>
443
    <li>
416
      [% IF ( mandatorycity ) %]
444
      [% IF ( mandatorycity ) %]
417
        <label for="city" class="required">
445
        <label for="city" class="required">
Lines 436-441 Link Here
436
        [% END %]
464
        [% END %]
437
	  [% IF ( mandatorycity ) %]<span class="required">Required</span>[% END %]
465
	  [% IF ( mandatorycity ) %]<span class="required">Required</span>[% END %]
438
    </li>
466
    </li>
467
        [% END %]
468
        [% UNLESS nostate %]
439
    <li> 
469
    <li> 
440
      [% IF ( mandatorystate ) %]
470
      [% IF ( mandatorystate ) %]
441
        <label for="state" class="required">
471
        <label for="state" class="required">
Lines 446-451 Link Here
446
      <input type="text" name="state" id="state" size="20" value="[% state %]" />
476
      <input type="text" name="state" id="state" size="20" value="[% state %]" />
447
	  [% IF ( mandatorystate ) %]<span class="required">Required</span>[% END %]
477
	  [% IF ( mandatorystate ) %]<span class="required">Required</span>[% END %]
448
    </li>
478
    </li>
479
        [% END %]
480
        [% UNLESS nozipcode %]
449
    <li> 
481
    <li> 
450
      [% IF ( mandatoryzipcode ) %]
482
      [% IF ( mandatoryzipcode ) %]
451
        <label for="zipcode" class="required">
483
        <label for="zipcode" class="required">
Lines 456-462 Link Here
456
      <input type="text" name="zipcode" id="zipcode" size="10" value="[% zipcode %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
488
      <input type="text" name="zipcode" id="zipcode" size="10" value="[% zipcode %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
457
	  [% IF ( mandatoryzipcode ) %]<span class="required">Required</span>[% END %]
489
	  [% IF ( mandatoryzipcode ) %]<span class="required">Required</span>[% END %]
458
    </li>
490
    </li>
459
    
491
        [% END %]
492
        [% UNLESS nocountry %]
460
    <li> 
493
    <li> 
461
      [% IF ( mandatorycountry ) %]
494
      [% IF ( mandatorycountry ) %]
462
        <label for="country" class="required">
495
        <label for="country" class="required">
Lines 467-477 Link Here
467
      <input type="text" name="country" id="country" size="20" value="[% country %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
500
      <input type="text" name="country" id="country" size="20" value="[% country %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
468
	  [% IF ( mandatorycountry ) %]<span class="required">Required</span>[% END %]
501
	  [% IF ( mandatorycountry ) %]<span class="required">Required</span>[% END %]
469
    </li>    
502
    </li>    
470
  
503
        [% END %]
471
	</ol>
504
	</ol>
472
    </fieldset>
505
    </fieldset>
506
[% END # nostreet && nocity etc group%]
473
  <fieldset class="rows" id="memberentry_contact">
507
  <fieldset class="rows" id="memberentry_contact">
474
    <legend>Contact</legend><ol>
508
    <legend>Contact</legend><ol>
509
        [% UNLESS nophone %]
475
      <li>
510
      <li>
476
      [% IF ( mandatoryphone ) %] 
511
      [% IF ( mandatoryphone ) %] 
477
      <label for="phone" class="required">
512
      <label for="phone" class="required">
Lines 483-488 Link Here
483
	  [% IF ( mandatoryphone ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
518
	  [% IF ( mandatoryphone ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
484
519
485
    </li>
520
    </li>
521
        [% END %]
522
        [% UNLESS nophonepro %]
486
    <li>
523
    <li>
487
      [% IF ( mandatoryphonepro ) %]
524
      [% IF ( mandatoryphonepro ) %]
488
      <label for="phonepro" class="required">
525
      <label for="phonepro" class="required">
Lines 493-498 Link Here
493
      <input type="text" id="phonepro" name="phonepro" value="[% phonepro %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
530
      <input type="text" id="phonepro" name="phonepro" value="[% phonepro %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
494
	  [% IF ( mandatoryphonepro ) %]<span class="required">Required</span>[% END %]
531
	  [% IF ( mandatoryphonepro ) %]<span class="required">Required</span>[% END %]
495
    </li>
532
    </li>
533
        [% END %]
534
        [% UNLESS nomobile %]
496
    <li>
535
    <li>
497
      [% IF ( mandatorymobile ) %]
536
      [% IF ( mandatorymobile ) %]
498
      <label for="mobile" class="required">
537
      <label for="mobile" class="required">
Lines 503-508 Link Here
503
      <input type="text" id="mobile" name="mobile" value="[% mobile %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
542
      <input type="text" id="mobile" name="mobile" value="[% mobile %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
504
	  [% IF ( mandatorymobile ) %]<span class="required">Required</span>[% END %]
543
	  [% IF ( mandatorymobile ) %]<span class="required">Required</span>[% END %]
505
    </li>
544
    </li>
545
        [% END %]
546
        [% UNLESS noemail %]
506
    <li>
547
    <li>
507
      [% IF ( mandatoryemail ) %]
548
      [% IF ( mandatoryemail ) %]
508
      <label for="email" class="required">
549
      <label for="email" class="required">
Lines 514-519 Link Here
514
	  [% IF ( mandatoryemail ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
555
	  [% IF ( mandatoryemail ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
515
556
516
    </li>
557
    </li>
558
        [% END %]
559
        [% UNLESS noemailpro %]
517
    <li>
560
    <li>
518
      [% IF ( mandatoryemailpro ) %] 
561
      [% IF ( mandatoryemailpro ) %] 
519
      <label for="emailpro" class="required">
562
      <label for="emailpro" class="required">
Lines 524-529 Link Here
524
      <input type="text" id="emailpro" name="emailpro" size="45" value="[% emailpro %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
567
      <input type="text" id="emailpro" name="emailpro" size="45" value="[% emailpro %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
525
	  [% IF ( mandatoryemailpro ) %]<span class="required">Required</span>[% END %]
568
	  [% IF ( mandatoryemailpro ) %]<span class="required">Required</span>[% END %]
526
    </li>
569
    </li>
570
        [% END %]
571
        [% UNLESS nofax %]
527
    <li>
572
    <li>
528
      [% IF ( mandatoryfax ) %]
573
      [% IF ( mandatoryfax ) %]
529
      <label for="fax" class="required">
574
      <label for="fax" class="required">
Lines 534-539 Link Here
534
      <input type="text" id="fax" name="fax" value="[% fax %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
579
      <input type="text" id="fax" name="fax" value="[% fax %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
535
	  [% IF ( mandatoryfax ) %]<span class="required">Required</span>[% END %]
580
	  [% IF ( mandatoryfax ) %]<span class="required">Required</span>[% END %]
536
    </li>
581
    </li>
582
        [% END %]
537
	</ol>
583
	</ol>
538
  </fieldset>
584
  </fieldset>
539
585
Lines 542-549 Link Here
542
[% END %]
588
[% END %]
543
[% IF ( step_6 ) %]
589
[% IF ( step_6 ) %]
544
590
591
    [% UNLESS noB_address && noB_city && noB_state && noB_phone && noB_email %]
545
		<fieldset class="rows" id="memberentry_address">
592
		<fieldset class="rows" id="memberentry_address">
546
		<legend>Alternate address</legend><ol>
593
		<legend>Alternate address</legend><ol>
594
        [% UNLESS noB_address %]
547
			<li>
595
			<li>
548
				[% IF ( mandatoryB_address ) %]
596
				[% IF ( mandatoryB_address ) %]
549
					<label for="B_address" class="required">
597
					<label for="B_address" class="required">
Lines 554-559 Link Here
554
				<input type="text" id="B_address" name="B_address" size="40" value="[% B_address %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
602
				<input type="text" id="B_address" name="B_address" size="40" value="[% B_address %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
555
	  [% IF ( mandatoryB_address ) %]<span class="required">Required</span>[% END %]
603
	  [% IF ( mandatoryB_address ) %]<span class="required">Required</span>[% END %]
556
			</li>
604
			</li>
605
        [% END %]
606
        [% UNLESS noB_address2 %]
557
			<li>
607
			<li>
558
				[% IF ( mandatoryB_address2 ) %]
608
				[% IF ( mandatoryB_address2 ) %]
559
					<label for="B_address2" class="required">
609
					<label for="B_address2" class="required">
Lines 564-569 Link Here
564
				<input type="text" id="B_address2" name="B_address2" size="40" value="[% B_address2 %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
614
				<input type="text" id="B_address2" name="B_address2" size="40" value="[% B_address2 %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
565
	  [% IF ( mandatoryB_address2 ) %]<span class="required">Required</span>[% END %]
615
	  [% IF ( mandatoryB_address2 ) %]<span class="required">Required</span>[% END %]
566
			</li>
616
			</li>
617
        [% END %]
618
        [% UNLESS noB_city %]
567
			<li>
619
			<li>
568
				[% IF ( mandatoryB_city ) %]
620
				[% IF ( mandatoryB_city ) %]
569
					<label for="B_city" class="required" >
621
					<label for="B_city" class="required" >
Lines 574-579 Link Here
574
				<input type="text" id="B_city" name="B_city" size="20" value="[% B_city %]" />
626
				<input type="text" id="B_city" name="B_city" size="20" value="[% B_city %]" />
575
	  [% IF ( mandatoryB_city ) %]<span class="required">Required</span>[% END %]
627
	  [% IF ( mandatoryB_city ) %]<span class="required">Required</span>[% END %]
576
			</li>
628
			</li>
629
        [% END %]
630
        [% UNLESS noB_state %]
577
			<li>
631
			<li>
578
				[% IF ( mandatoryB_state ) %]
632
				[% IF ( mandatoryB_state ) %]
579
					<label for="B_state" class="required" >
633
					<label for="B_state" class="required" >
Lines 584-589 Link Here
584
				<input type="text" id="B_state" name="B_state" size="20" value="[% B_state %]" />
638
				<input type="text" id="B_state" name="B_state" size="20" value="[% B_state %]" />
585
	  [% IF ( mandatoryB_state ) %]<span class="required">Required</span>[% END %]
639
	  [% IF ( mandatoryB_state ) %]<span class="required">Required</span>[% END %]
586
			</li>
640
			</li>
641
        [% END %]
642
        [% UNLESS noB_zipcode %]
587
			<li>
643
			<li>
588
				[% IF ( mandatoryB_zipcode ) %]
644
				[% IF ( mandatoryB_zipcode ) %]
589
					<label for="B_zipcode" class="required">
645
					<label for="B_zipcode" class="required">
Lines 594-599 Link Here
594
				<input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% B_zipcode %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
650
				<input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% B_zipcode %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
595
	  [% IF ( mandatoryB_zipcode ) %]<span class="required">Required</span>[% END %]
651
	  [% IF ( mandatoryB_zipcode ) %]<span class="required">Required</span>[% END %]
596
			</li>
652
			</li>
653
        [% END %]
654
        [% UNLESS noB_country %]
597
			<li>
655
			<li>
598
				[% IF ( mandatoryB_country ) %]
656
				[% IF ( mandatoryB_country ) %]
599
					<label for="B_country" class="required">
657
					<label for="B_country" class="required">
Lines 604-609 Link Here
604
				<input type="text" id="B_country" name="B_country" size="20" value="[% B_country %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
662
				<input type="text" id="B_country" name="B_country" size="20" value="[% B_country %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
605
	  [% IF ( mandatoryB_country ) %]<span class="required">Required</span>[% END %]
663
	  [% IF ( mandatoryB_country ) %]<span class="required">Required</span>[% END %]
606
			</li>
664
			</li>
665
        [% END %]
666
        [% UNLESS noB_phone %]
607
            <li>
667
            <li>
608
                [% IF ( mandatoryB_phone ) %]
668
                [% IF ( mandatoryB_phone ) %]
609
                <label for="B_phone" class="required">
669
                <label for="B_phone" class="required">
Lines 614-619 Link Here
614
                <input type="text" id="B_phone" name="B_phone" value="[% B_phone %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
674
                <input type="text" id="B_phone" name="B_phone" value="[% B_phone %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
615
                [% IF ( mandatoryB_phone ) %]<span class="required">Required</span>[% END %]
675
                [% IF ( mandatoryB_phone ) %]<span class="required">Required</span>[% END %]
616
            </li>
676
            </li>
677
        [% END %]
678
        [% UNLESS noB_email %]
617
			<li> 
679
			<li> 
618
        [% IF ( mandatoryB_email ) %]
680
        [% IF ( mandatoryB_email ) %]
619
          <label for="B_email" class="required">
681
          <label for="B_email" class="required">
Lines 623-628 Link Here
623
        Email: </label>
685
        Email: </label>
624
        <input type="text" id="B_email" name="B_email" size="45" value="[% B_email %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
686
        <input type="text" id="B_email" name="B_email" size="45" value="[% B_email %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
625
		[% IF ( mandatoryB_email ) %]<span class="required">Required</span>[% END %] </li>
687
		[% IF ( mandatoryB_email ) %]<span class="required">Required</span>[% END %] </li>
688
        [% END %]
689
        [% UNLESS nocontactnote %]
626
            <li>
690
            <li>
627
                [% IF ( mandatorycontactnote ) %]
691
                [% IF ( mandatorycontactnote ) %]
628
                <label for="contactnote" class="required">
692
                <label for="contactnote" class="required">
Lines 633-644 Link Here
633
                <textarea id="contactnote" name="contactnote" cols="40" rows="2">[% contactnote %]</textarea>
697
                <textarea id="contactnote" name="contactnote" cols="40" rows="2">[% contactnote %]</textarea>
634
        [% IF ( mandatorycontactnote ) %]<span class="required">Required</span>[% END %]
698
        [% IF ( mandatorycontactnote ) %]<span class="required">Required</span>[% END %]
635
            </li>
699
            </li>
700
        [% END %]
636
			</ol>
701
			</ol>
637
		</fieldset>
702
		</fieldset>
703
    [% END # UNLESS noB_address && noB_city && noB_state && noB_phone && noB_email %]
638
[% END %]		
704
[% END %]		
639
[% IF ( step_2 ) %]
705
[% IF ( step_2 ) %]
706
    [% UNLESS noaltcontactsurname && noaltcontactfirstname && noaltcontactaddress1 && noaltcontactphone %]
640
		<fieldset class="rows" id="memberentry_altaddress">       
707
		<fieldset class="rows" id="memberentry_altaddress">       
641
		    <legend>Alternate Contact</legend><ol>
708
		    <legend>Alternate Contact</legend><ol>
709
        [% UNLESS noaltcontactsurname %]
642
			<li>
710
			<li>
643
			    [% IF ( mandatoryaltcontactsurname ) %]
711
			    [% IF ( mandatoryaltcontactsurname ) %]
644
				<label for="altcontactsurname" class="required">
712
				<label for="altcontactsurname" class="required">
Lines 649-654 Link Here
649
				<input type="text" name="altcontactsurname" id="altcontactsurname" value="[% altcontactsurname %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
717
				<input type="text" name="altcontactsurname" id="altcontactsurname" value="[% altcontactsurname %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
650
				[% IF ( mandatoryaltcontactsurname ) %]<span class="required">Required</span>[% END %]
718
				[% IF ( mandatoryaltcontactsurname ) %]<span class="required">Required</span>[% END %]
651
			</li>
719
			</li>
720
        [% END %]
721
        [% UNLESS noaltcontactfirstname %]
652
			<li>
722
			<li>
653
			    [% IF ( mandatoryaltcontactfirstname ) %]
723
			    [% IF ( mandatoryaltcontactfirstname ) %]
654
				<label for="altcontactfirstname" class="required">
724
				<label for="altcontactfirstname" class="required">
Lines 659-664 Link Here
659
				<input type="text" name="altcontactfirstname" id="altcontactfirstname" value="[% altcontactfirstname %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
729
				<input type="text" name="altcontactfirstname" id="altcontactfirstname" value="[% altcontactfirstname %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
660
				[% IF ( mandatoryaltcontactfirstname ) %]<span class="required">Required</span>[% END %]
730
				[% IF ( mandatoryaltcontactfirstname ) %]<span class="required">Required</span>[% END %]
661
			</li>
731
			</li>
732
        [% END %]
733
        [% UNLESS noaltcontactaddress1 %]
662
			<li>
734
			<li>
663
			    [% IF ( mandatoryaltcontactaddress1 ) %]
735
			    [% IF ( mandatoryaltcontactaddress1 ) %]
664
				<label for="altcontactaddress1" class="required">
736
				<label for="altcontactaddress1" class="required">
Lines 669-674 Link Here
669
				<input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% altcontactaddress1 %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] size="40" />
741
				<input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% altcontactaddress1 %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] size="40" />
670
				[% IF ( mandatoryaltcontactaddress1 ) %]<span class="required">Required</span>[% END %]
742
				[% IF ( mandatoryaltcontactaddress1 ) %]<span class="required">Required</span>[% END %]
671
			</li>
743
			</li>
744
        [% END %]
745
        [% UNLESS noaltcontactaddress2 %]
672
			<li>
746
			<li>
673
			    [% IF ( mandatoryaltcontactaddress2 ) %]
747
			    [% IF ( mandatoryaltcontactaddress2 ) %]
674
				<label for="altcontactaddress2" class="required">
748
				<label for="altcontactaddress2" class="required">
Lines 679-684 Link Here
679
				<input type="text" name="altcontactaddress2" id="altcontactaddress2" value="[% altcontactaddress2 %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] size="40" />
753
				<input type="text" name="altcontactaddress2" id="altcontactaddress2" value="[% altcontactaddress2 %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] size="40" />
680
				[% IF ( mandatoryaltcontactaddress2 ) %]<span class="required">Required</span>[% END %]
754
				[% IF ( mandatoryaltcontactaddress2 ) %]<span class="required">Required</span>[% END %]
681
			</li>
755
			</li>
756
        [% END %]
757
        [% UNLESS noaltcontactaddress3 %]
682
			<li>
758
			<li>
683
			    [% IF ( mandatoryaltcontactaddress3 ) %]
759
			    [% IF ( mandatoryaltcontactaddress3 ) %]
684
				<label for="altcontactaddress3" class="required">
760
				<label for="altcontactaddress3" class="required">
Lines 689-694 Link Here
689
				<input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% altcontactaddress3 %]" size="20" />
765
				<input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% altcontactaddress3 %]" size="20" />
690
				[% IF ( mandatoryaltcontactaddress3 ) %]<span class="required">Required</span>[% END %]
766
				[% IF ( mandatoryaltcontactaddress3 ) %]<span class="required">Required</span>[% END %]
691
			</li>
767
			</li>
768
        [% END %]
769
        [% UNLESS noaltcontactstate %]
692
			<li>
770
			<li>
693
			    [% IF ( mandatoryaltcontactstate ) %]
771
			    [% IF ( mandatoryaltcontactstate ) %]
694
				<label for="altcontactstate" class="required">
772
				<label for="altcontactstate" class="required">
Lines 699-704 Link Here
699
				<input type="text" name="altcontactstate" id="altcontactstate" value="[% altcontactstate %]" size="20" />
777
				<input type="text" name="altcontactstate" id="altcontactstate" value="[% altcontactstate %]" size="20" />
700
				[% IF ( mandatoryaltcontactstate ) %]<span class="required">Required</span>[% END %]
778
				[% IF ( mandatoryaltcontactstate ) %]<span class="required">Required</span>[% END %]
701
			</li>
779
			</li>
780
        [% END %]
781
        [% UNLESS noaltcontactzipcode %]
702
			<li>
782
			<li>
703
			    [% IF ( mandatoryaltcontactzipcode ) %]
783
			    [% IF ( mandatoryaltcontactzipcode ) %]
704
				<label for="altcontactzipcode" class="required">
784
				<label for="altcontactzipcode" class="required">
Lines 709-714 Link Here
709
				<input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% altcontactzipcode %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] size="5" />
789
				<input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% altcontactzipcode %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] size="5" />
710
				[% IF ( mandatoryaltcontactzipcode ) %]<span class="required">Required</span>[% END %]
790
				[% IF ( mandatoryaltcontactzipcode ) %]<span class="required">Required</span>[% END %]
711
			</li>
791
			</li>
792
        [% END %]
793
        [% UNLESS noaltcontactcountry %]
712
			<li>
794
			<li>
713
			    [% IF ( mandatoryaltcontactcountry ) %]
795
			    [% IF ( mandatoryaltcontactcountry ) %]
714
				<label for="altcontactcountry" class="required">
796
				<label for="altcontactcountry" class="required">
Lines 719-724 Link Here
719
				<input type="text" name="altcontactcountry" id="altcontactcountry" value="[% altcontactcountry %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] size="20" />
801
				<input type="text" name="altcontactcountry" id="altcontactcountry" value="[% altcontactcountry %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] size="20" />
720
				[% IF ( mandatoryaltcontactcountry ) %]<span class="required">Required</span>[% END %]
802
				[% IF ( mandatoryaltcontactcountry ) %]<span class="required">Required</span>[% END %]
721
			</li>			
803
			</li>			
804
        [% END %]
805
        [% UNLESS noaltcontactphone %]
722
			<li>
806
			<li>
723
			    [% IF ( mandatoryaltcontactphone ) %]
807
			    [% IF ( mandatoryaltcontactphone ) %]
724
				<label for="altcontactphone" class="required">
808
				<label for="altcontactphone" class="required">
Lines 729-736 Link Here
729
				<input type="text" name="altcontactphone" id="altcontactphone" value="[% altcontactphone %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
813
				<input type="text" name="altcontactphone" id="altcontactphone" value="[% altcontactphone %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
730
				[% IF ( mandatoryaltcontactphone ) %]<span class="required">Required</span>[% END %]
814
				[% IF ( mandatoryaltcontactphone ) %]<span class="required">Required</span>[% END %]
731
			</li>
815
			</li>
816
        [% END %]
732
            </ol>
817
            </ol>
733
        </fieldset>
818
        </fieldset>
819
    [% END # UNLESS noaltcontactsurname && noaltcontactfirstname etc %]
734
820
735
821
736
  [% IF ( I ) %]
822
  [% IF ( I ) %]
Lines 757-762 Link Here
757
843
758
  <fieldset class="rows" id="memberentry_library_management">
844
  <fieldset class="rows" id="memberentry_library_management">
759
    <legend>Library Management</legend><ol>
845
    <legend>Library Management</legend><ol>
846
        [% UNLESS nocardnumber %]
760
   <li> [% IF ( mandatorycardnumber ) %]
847
   <li> [% IF ( mandatorycardnumber ) %]
761
      <label for="cardnumber" class="required">
848
      <label for="cardnumber" class="required">
762
    [% ELSE %]
849
    [% ELSE %]
Lines 765-770 Link Here
765
    Card number: </label>
852
    Card number: </label>
766
    <input type="text" id="cardnumber" name="cardnumber" size="20" value="[% IF ( opduplicate ) %][% ELSE %][% cardnumber %][% END %]" />
853
    <input type="text" id="cardnumber" name="cardnumber" size="20" value="[% IF ( opduplicate ) %][% ELSE %][% cardnumber %][% END %]" />
767
	  [% IF ( mandatorycardnumber ) %]<span class="required">Required</span>[% END %]</li>
854
	  [% IF ( mandatorycardnumber ) %]<span class="required">Required</span>[% END %]</li>
855
        [% END %]
856
        [% UNLESS nobranchcode %]
768
    <li>
857
    <li>
769
      [% IF ( mandatorybranchcode ) %]
858
      [% IF ( mandatorybranchcode ) %]
770
        <label for="branchcode" class="required">
859
        <label for="branchcode" class="required">
Lines 775-780 Link Here
775
      [% CGIbranch %]
864
      [% CGIbranch %]
776
	  [% IF ( mandatorybranchcode ) %]<span class="required">Required</span>[% END %]
865
	  [% IF ( mandatorybranchcode ) %]<span class="required">Required</span>[% END %]
777
    </li>
866
    </li>
867
        [% END %]
778
    <li>
868
    <li>
779
        <label for="categorycode">Category: </label>
869
        <label for="categorycode">Category: </label>
780
        <select id="categorycode" name="categorycode">
870
        <select id="categorycode" name="categorycode">
Lines 800-805 Link Here
800
       [% END %]
890
       [% END %]
801
       </select>
891
       </select>
802
    </li>
892
    </li>
893
        [% UNLESS nosort1 %]
803
    <li>
894
    <li>
804
      [% IF ( mandatorysort1 ) %]
895
      [% IF ( mandatorysort1 ) %]
805
        <label for="sort1" class="required">
896
        <label for="sort1" class="required">
Lines 814-819 Link Here
814
	  [% IF ( mandatorysort1 ) %]<span class="required">Required</span>[% END %]
905
	  [% IF ( mandatorysort1 ) %]<span class="required">Required</span>[% END %]
815
      [% END %]   
906
      [% END %]   
816
    </li>
907
    </li>
908
        [% END %]
909
        [% UNLESS nosort2 %]
817
    <li>
910
    <li>
818
    [% IF ( mandatorysort2 ) %]
911
    [% IF ( mandatorysort2 ) %]
819
    <label for="sort2" class="required">
912
    <label for="sort2" class="required">
Lines 828-837 Link Here
828
	  [% IF ( mandatorysort2 ) %]<span class="required">Required</span>[% END %]
921
	  [% IF ( mandatorysort2 ) %]<span class="required">Required</span>[% END %]
829
    [% END %] 
922
    [% END %] 
830
    </li>
923
    </li>
924
        [% END %]
831
	</ol>
925
	</ol>
832
  </fieldset>
926
  </fieldset>
833
	<fieldset class="rows" id="memberentry_subscription">
927
	<fieldset class="rows" id="memberentry_subscription">
834
	<legend>Library set-up</legend><ol>
928
	<legend>Library set-up</legend><ol>
929
        [% UNLESS nodateenrolled %]
835
		<li>
930
		<li>
836
			[% IF ( mandatorydateenrolled ) %]
931
			[% IF ( mandatorydateenrolled ) %]
837
			<label for="dateenrolled" class="required">
932
			<label for="dateenrolled" class="required">
Lines 854-859 Link Here
854
		[% IF ( ERROR_dateenrolled ) %]<span class="required">(Error)</span>[% END %]
949
		[% IF ( ERROR_dateenrolled ) %]<span class="required">(Error)</span>[% END %]
855
		<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
950
		<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
856
		</li>
951
		</li>
952
        [% END %]
953
        [% UNLESS nodateexpiry %]
857
		<li>
954
		<li>
858
			[% IF ( mandatorydateexpiry ) %]
955
			[% IF ( mandatorydateexpiry ) %]
859
			<label for="dateexpiry" class="required">
956
			<label for="dateexpiry" class="required">
Lines 876-881 Link Here
876
		[% IF ( ERROR_dateexpiry ) %]<span class="required">(Error)</span>[% END %]
973
		[% IF ( ERROR_dateexpiry ) %]<span class="required">(Error)</span>[% END %]
877
		<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
974
		<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
878
		</li>
975
		</li>
976
        [% END %]
977
        [% UNLESS noopacnote %]
879
		<li>
978
		<li>
880
			[% IF ( mandatoryopacnote ) %]
979
			[% IF ( mandatoryopacnote ) %]
881
				<label for="opacnote" class="required">
980
				<label for="opacnote" class="required">
Lines 887-892 Link Here
887
			<div class="hint">This message appears on this patron's user page in the OPAC</div>
986
			<div class="hint">This message appears on this patron's user page in the OPAC</div>
888
	  [% IF ( mandatoryopacnote ) %]<span class="required">Required</span>[% END %]
987
	  [% IF ( mandatoryopacnote ) %]<span class="required">Required</span>[% END %]
889
		</li>
988
		</li>
989
        [% END %]
990
        [% UNLESS noborrowernotes %]
890
		<li>
991
		<li>
891
			[% IF ( mandatoryborrowernotes ) %]	
992
			[% IF ( mandatoryborrowernotes ) %]	
892
				<label for="borrowernotes" class="required">
993
				<label for="borrowernotes" class="required">
Lines 898-907 Link Here
898
			<div class="hint">This message displays when checking out to this patron</div>
999
			<div class="hint">This message displays when checking out to this patron</div>
899
	  [% IF ( mandatoryborrowernotes ) %]<span class="required">Required</span>[% END %]
1000
	  [% IF ( mandatoryborrowernotes ) %]<span class="required">Required</span>[% END %]
900
		</li>
1001
		</li>
1002
        [% END %]
901
		</ol>
1003
		</ol>
902
	</fieldset>
1004
	</fieldset>
903
	<fieldset class="rows" id="memberentry_userid">
1005
	<fieldset class="rows" id="memberentry_userid">
904
		<legend>OPAC/Staff Login</legend><ol>
1006
		<legend>OPAC/Staff Login</legend><ol>
1007
        [% UNLESS nouserid %]
905
		<li>
1008
		<li>
906
			[% IF ( mandatoryuserid ) %]
1009
			[% IF ( mandatoryuserid ) %]
907
			<label for="userid" class="required">
1010
			<label for="userid" class="required">
Lines 948-954 Link Here
948
			[% END %]
1051
			[% END %]
949
	  [% IF ( mandatorypassword ) %]<span class="required">Required</span>[% END %][% IF ( ERROR_short_password ) %]<span class="required">Password is too short</span>[% END %]
1052
	  [% IF ( mandatorypassword ) %]<span class="required">Required</span>[% END %][% IF ( ERROR_short_password ) %]<span class="required">Password is too short</span>[% END %]
950
[% IF ( minPasswordLength ) %]<div class="hint">Minimum password length: [% minPasswordLength %]</div>[% END %]
1053
[% IF ( minPasswordLength ) %]<div class="hint">Minimum password length: [% minPasswordLength %]</div>[% END %]
951
		</li></ol>
1054
		</li>
1055
        [% END %]
1056
    </ol>
952
		</fieldset>
1057
		</fieldset>
953
		<!--this zones are not necessary in modif mode -->
1058
		<!--this zones are not necessary in modif mode -->
954
		[% UNLESS ( opadd ) %]
1059
		[% UNLESS ( opadd ) %]
(-)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 33-38 my @trans_syspref_files = qw( Link Here
33
    uk-UA/mandatory/system_preferences_full_optimal_for_install_only.sql
33
    uk-UA/mandatory/system_preferences_full_optimal_for_install_only.sql
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
    nb-NO/1-Obligatorisk/sysprefs.sql
36
);
37
);
37
38
38
ok(
39
ok(
39
- 

Return to bug 6190