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

(-)a/installer/data/mysql/atomicupdate/bug_12532-EnableRedirectGuaranteeEmail_syspref.sql (-1 / +1 lines)
Lines 1-2 Link Here
1
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type)
1
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type)
2
VALUES ('EnableRedirectGuaranteeEmail','0',NULL,'Enable the ability to redirect guarantee email messages to guarantor.','YesNo');
2
VALUES ('RedirectGuaranteeEmail','0',NULL,'Enable the ability to redirect guarantee email messages to guarantor.','YesNo');
(-)a/installer/data/mysql/sysprefs.sql (-1 / +1 lines)
Lines 137-143 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
137
('EnableAdvancedCatalogingEditor','0','','Enable the Rancor advanced cataloging editor','YesNo'),
137
('EnableAdvancedCatalogingEditor','0','','Enable the Rancor advanced cataloging editor','YesNo'),
138
('EnableBorrowerFiles','0',NULL,'If enabled, allows librarians to upload and attach arbitrary files to a borrower record.','YesNo'),
138
('EnableBorrowerFiles','0',NULL,'If enabled, allows librarians to upload and attach arbitrary files to a borrower record.','YesNo'),
139
('EnableOpacSearchHistory','1','YesNo','Enable or disable opac search history',''),
139
('EnableOpacSearchHistory','1','YesNo','Enable or disable opac search history',''),
140
('EnableRedirectGuaranteeEmail', '0', NULL, 'Enable the ability to redirect guarantee email messages to guarantor.', 'YesNo'),
140
('RedirectGuaranteeEmail', '0', NULL, 'Enable the ability to redirect guarantee email messages to guarantor.', 'YesNo'),
141
('EnableSearchHistory','0','','Enable or disable search history','YesNo'),
141
('EnableSearchHistory','0','','Enable or disable search history','YesNo'),
142
('EnhancedMessagingPreferences','0','','If ON, allows patrons to select to receive additional messages about items due or nearly due.','YesNo'),
142
('EnhancedMessagingPreferences','0','','If ON, allows patrons to select to receive additional messages about items due or nearly due.','YesNo'),
143
('EnhancedMessagingPreferencesOPAC', '1', NULL, 'If ON, show patrons messaging setting on the OPAC.', 'YesNo'),
143
('EnhancedMessagingPreferencesOPAC', '1', NULL, 'If ON, show patrons messaging setting on the OPAC.', 'YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref (-4 / +4 lines)
Lines 187-197 Patrons: Link Here
187
         - track last patron activity.
187
         - track last patron activity.
188
         - Everytime a patron will connect, the borrowers.lastseen will be updated with the current time.
188
         - Everytime a patron will connect, the borrowers.lastseen will be updated with the current time.
189
     -
189
     -
190
         - pref: EnableRedirectGuaranteeEmail
190
         - pref: RedirectGuaranteeEmail
191
           choices:
191
           choices:
192
               yes: Do
192
               yes: Enable
193
               no: "Don't"
193
               no: "Don't enable"
194
         - enable the ability to redirect guarantee email messages to guarantor. All email message placed in message_queue table will be affected.
194
         - redirection of guarantee email messages to the guarantor. All email messages send via the message_queue table will be affected.
195
    "Norwegian patron database":
195
    "Norwegian patron database":
196
     -
196
     -
197
         - pref: NorwegianPatronDBEnable
197
         - pref: NorwegianPatronDBEnable
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-9 lines)
Lines 77-86 $(document).ready(function() { Link Here
77
            $("#entryform").submit();
77
            $("#entryform").submit();
78
        }
78
        }
79
    });
79
    });
80
    $("#PatronMmessagingPreferences").click(function(){
81
        $("#entryform").submit();
82
    });
83
84
});
80
});
85
81
86
        var MSG_SEPARATOR = _("Separator must be / in field %s");
82
        var MSG_SEPARATOR = _("Separator must be / in field %s");
Lines 1062-1072 $(document).ready(function() { Link Here
1062
[% IF ( step_5 ) %][% IF ( EnhancedMessagingPreferences ) %]
1058
[% IF ( step_5 ) %][% IF ( EnhancedMessagingPreferences ) %]
1063
  <fieldset class="rows" id="memberentry_messaging_prefs">
1059
  <fieldset class="rows" id="memberentry_messaging_prefs">
1064
    <legend id="patron_messaging_prefs_lgd">Patron messaging preferences</legend>
1060
    <legend id="patron_messaging_prefs_lgd">Patron messaging preferences</legend>
1065
    [% IF ( !opadd ) && ( !opduplicate ) && !destination %]
1066
        <script type="text/javascript">
1067
            $("#saverecord").attr("id","PatronMmessagingPreferences");
1068
        </script>
1069
    [% END %]
1070
    [% IF ( opadd ) %]
1061
    [% IF ( opadd ) %]
1071
    <!-- handle changing prefs if creating new patron and changing
1062
    <!-- handle changing prefs if creating new patron and changing
1072
         the patron category
1063
         the patron category
(-)a/members/memberentry.pl (-3 / +2 lines)
Lines 333-340 if ($op eq 'save' || $op eq 'insert'){ Link Here
333
    push @errors, "ERROR_login_exist";
333
    push @errors, "ERROR_login_exist";
334
  }
334
  }
335
  
335
  
336
  my $password = $input->param('password') || '';
336
  my $password = $input->param('password');
337
  my $password2 = $input->param('password2') || '';
337
  my $password2 = $input->param('password2');
338
  push @errors, "ERROR_password_mismatch" if ( $password ne $password2 );
338
  push @errors, "ERROR_password_mismatch" if ( $password ne $password2 );
339
  push @errors, "ERROR_short_password" if( $password && $minpw && $password ne '****' && (length($password) < $minpw) );
339
  push @errors, "ERROR_short_password" if( $password && $minpw && $password ne '****' && (length($password) < $minpw) );
340
340
341
- 

Return to bug 12532