Bugzilla – Attachment 6465 Details for
Bug 5974
Bogus auth check for "StaffMember" role
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 5974: Fix broken toolbar on paton checkout tab
Bug-5974-Fix-broken-toolbar-on-paton-checkout-tab.patch (text/plain), 2.88 KB, created by
Chris Cormack
on 2011-11-30 07:30:13 UTC
(
hide
)
Description:
Bug 5974: Fix broken toolbar on paton checkout tab
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2011-11-30 07:30:13 UTC
Size:
2.88 KB
patch
obsolete
>From ff3356bbd1c827582c6b636a6d5c4534ffbea9a0 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Sun, 27 Nov 2011 14:52:22 +0100 >Subject: [PATCH] Bug 5974: Fix broken toolbar on paton checkout tab > >Fixed a couple of errors: >- [% CAN_user_staffaccess %] should be [% IF ( CAN_user_staffaccess ) %] >- added missing [% END %] >- added missing line new YAHOO.widget.Button("duplicate"); > >To test: >1) Open patron account >2) Go through tabs, especially 'Check out' >3) Check toolbars are correct and buttons work > >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> >--- > .../prog/en/includes/circ-toolbar.inc | 8 +++++--- > 1 files changed, 5 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc >index 2933544..913076f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc >@@ -94,6 +94,7 @@ function update_child() { > new YAHOO.widget.Button("editpatron"); > new YAHOO.widget.Button("addnote"); > [% IF CAN_user_staffaccess %] new YAHOO.widget.Button("changepassword"); [% END %] >+ new YAHOO.widget.Button("duplicate"); > new YAHOO.widget.Button("printslip"); > new YAHOO.widget.Button("printpage"); > } >@@ -117,9 +118,10 @@ function update_child() { > [% END %] > [% END %] > [% IF ( CAN_user_borrowers ) %] >- [% IF ( adultborrower ) %]<li><a id="addchild" href="/cgi-bin/koha/members/memberentry.pl?op=add&guarantorid=[% borrowernumber %]&category_type=C">Add child</a></li>[% END %] >- [% CAN_user_staffaccess %] <li><a id="changepassword" href="/cgi-bin/koha/members/member-password.pl?member=[% borrowernumber %]">Change Password</a></li>[% END %] >- <li><a id="duplicate" href="/cgi-bin/koha/members/memberentry.pl?op=duplicate&borrowernumber=[% borrowernumber %]&category_type=[% category_type %]">Duplicate</a></li> >+ [% IF ( adultborrower ) %]<li><a id="addchild" href="/cgi-bin/koha/members/memberentry.pl?op=add&guarantorid=[% borrowernumber %]&category_type=C">Add child</a></li>[% END %] >+ [% IF ( CAN_user_staffaccess ) %] <li><a id="changepassword" href="/cgi-bin/koha/members/member-password.pl?member=[% borrowernumber %]">Change Password</a></li>[% END %] >+ [% END %] >+ <li><a id="duplicate" href="/cgi-bin/koha/members/memberentry.pl?op=duplicate&borrowernumber=[% borrowernumber %]&category_type=[% category_type %]">Duplicate</a></li> > <li id="printmenuc"><a id="printpage" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]&print=page">Print Page</a></li> > <li><a id="printslip" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]&print=slip">Print Slip</a></li> > <li id="searchtoholdc"><a id="searchtohold" href="#">Search to hold</a></li> >-- >1.7.5.4
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 5974
:
3474
|
4590
|
6176
|
6408
|
6431
|
6433
|
6434
|
6465
|
6554
|
6625