Bugzilla – Attachment 10909 Details for
Bug 8421
patron images fail when barcode for patron has a +
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Added a URI filter to encode a cardnumber for borrowers as to not break patronimage.pl
SIGNED-OFF-Added-a-URI-filter-to-encode-a-cardnumb.patch (text/plain), 1.88 KB, created by
Owen Leonard
on 2012-07-17 17:03:59 UTC
(
hide
)
Description:
[SIGNED-OFF] Added a URI filter to encode a cardnumber for borrowers as to not break patronimage.pl
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2012-07-17 17:03:59 UTC
Size:
1.88 KB
patch
obsolete
>From 07ed0cbec1bb8c4005431f77dbc9a17af2f73c68 Mon Sep 17 00:00:00 2001 >From: Elliott Davis <elliott@bywatersolutions.com> >Date: Wed, 11 Jul 2012 05:52:53 -0500 >Subject: [PATCH] [SIGNED-OFF] Added a URI filter to encode a cardnumber for > borrowers as to not break patronimage.pl >Content-Type: text/plain; charset="utf-8" > >To Test: > >Add a + (or any char that would need to be encoded) to a card number of a patron with an image attached. >Go to member/moremember.pl. >If the patrons image is there, you are golden. > >http://bugs.koha-community.org/show_bug.cgi?id=8421 >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > .../intranet-tmpl/prog/en/includes/circ-menu.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >index 091f7fe..3f58345 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >@@ -7,7 +7,7 @@ > <ul> > [% IF ( patronimages ) %] > [% IF ( picture ) %] >-<li><img src="/cgi-bin/koha/members/patronimage.pl?crdnum=[% cardnumber %]" id="patronimage" alt="[% firstname %] [% surname %] ([% cardnumber %])" border="0" style="max-width : 140px; margin: .3em 0 .3em .3em; padding: .2em; border: 1px solid #CCCCCC; width:auto !important; width:130px;" /></li> >+<li><img src="/cgi-bin/koha/members/patronimage.pl?crdnum=[% cardnumber | uri %]" id="patronimage" alt="[% firstname %] [% surname %] ([% cardnumber %])" border="0" style="max-width : 140px; margin: .3em 0 .3em .3em; padding: .2em; border: 1px solid #CCCCCC; width:auto !important; width:130px;" /></li> > [% ELSE %] > <li><img src="/intranet-tmpl/prog/img/patron-blank.png" alt="[% firstname %] [% surname %] ([% cardnumber %])" border="0" style="margin: .3em 0 .3em .3em; padding: .2em; border: 1px solid #CCCCCC;" /></li> > [% END %] >-- >1.7.9.5
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 8421
:
10778
| 10909