Bugzilla – Attachment 25231 Details for
Bug 6739
expired patrons not blocked from opac actions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 6739 - expired patrons not blocked from opac actions - Followup 5
Bug-6739---expired-patrons-not-blocked-from-opac-a.patch (text/plain), 4.15 KB, created by
Chris Cormack
on 2014-02-13 22:30:22 UTC
(
hide
)
Description:
Bug 6739 - expired patrons not blocked from opac actions - Followup 5
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2014-02-13 22:30:22 UTC
Size:
4.15 KB
patch
obsolete
>From db3bf5630232bf982258a478d285877c05b8888a Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Sun, 22 Sep 2013 16:20:19 +0200 >Subject: [PATCH] Bug 6739 - expired patrons not blocked from opac actions - > Followup 5 > >- Fixes a typo in one of the OPAC messages: "you account" >- Fixes the updatedatabase script to use 1 instead of yes for the > system preference default matching the sysprefs.sql file. >- Fixes capitalization "Don't Block" in system preference > description. >- Adding . to the end of the warning, when renewals are blocked. > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >--- > installer/data/mysql/updatedatabase.pl | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref | 2 +- > koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt | 2 +- > koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt | 2 +- > 4 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 7768ef1..fa140c3 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -7146,7 +7146,7 @@ if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { > INSERT INTO systempreferences (variable,value,explanation,options,type) > VALUES ( > 'BlockExpiredPatronOpacActions', >- 'yes', >+ '1', > 'Set whether an expired patron can perform opac actions such as placing holds or renew books, can be overridden on a per patron-type basis', > NULL, > 'YesNo' >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref >index 879a624..59ae556 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref >@@ -520,7 +520,7 @@ OPAC: > - pref: BlockExpiredPatronOpacActions > choices: > yes: "Block" >- no: "Don't Block" >+ no: "Don't block" > - expired patrons from opac actions such as placing a hold or renew, the setting for a patron category takes priority over this > > Privacy: >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt >index 80e8ada..5770ca0 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt >@@ -271,7 +271,7 @@ > <div id="bad_data" class="dialog alert">ERROR: Internal error: incomplete hold request.</div> > [% END %] > [% IF ( expired_patron ) %] >- <div id="expired_patron" class="dialog alert"><p><strong>Sorry</strong>, you cannot place holds because your library card has expired.</p><p>Please contact your librarian if you wish to renew your card</p></div> >+ <div id="expired_patron" class="dialog alert"><p><strong>Sorry</strong>, you cannot place holds because your library card has expired.</p><p>Please contact your librarian if you wish to renew your card.</p></div> > [% END %] > [% ELSE %] > [% IF ( none_available ) %] >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt >index 29d9b9c..b16c779 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt >@@ -100,7 +100,7 @@ var MSG_CONFIRM_RESUME_HOLDS = _("Are you sure you want to resume all suspended > > [% IF ( BORROWER_INF.warnexpired ) %] > <div class="dialog alert" id="warnexpired"> >- <strong>Please note:</strong><span> You account has expired as of [% BORROWER_INF.warnexpired | $KohaDates %]. Please contact the library if you wish to renew your account.</span> >+ <strong>Please note: </strong><span>Your account has expired as of [% BORROWER_INF.warnexpired | $KohaDates %]. Please contact the library if you wish to renew your account.</span> > </div> > [% END %] > >-- >1.8.5.3
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6739
:
7814
|
9108
|
16061
|
16063
|
16064
|
16065
|
16069
|
16071
|
16072
|
17356
|
17357
|
17463
|
17464
|
17466
|
17517
|
17518
|
17907
|
17908
|
17909
|
18041
|
18042
|
18043
|
19553
|
19554
|
19555
|
19558
|
19559
|
19560
|
19678
|
19679
|
19993
|
19994
|
19995
|
19996
|
19997
|
20641
|
20642
|
20643
|
20644
|
20645
|
21312
|
21313
|
21314
|
21315
|
21316
|
21317
|
24385
|
24386
|
24387
|
24388
|
24389
|
24390
|
24391
|
24392
|
25158
|
25159
|
25160
|
25161
|
25162
|
25163
|
25164
|
25165
|
25231
|
25232
|
25233
|
26546
|
26547
|
26548
|
26549
|
26550
|
26551
|
26552
|
26553
|
26836
|
26837
|
26838
|
26839
|
26840
|
26841
|
26842
|
26843