[Koha-bugs] [Bug 12160] Rename [intranet|opac]userjs to [Intranet|OPAC]UserJS

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 1 15:52:06 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12160

M. Tompsett <mtompset at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mtompset at hotmail.com

--- Comment #5 from M. Tompsett <mtompset at hotmail.com> ---
Here's my checking. Looks good.

mtompset at debian:~/kohaclone$ grep -i intranetuserjs `git grep -l -i
intranetuserjs | grep -v "\.po"`
C4/Auth.pm:            intranetuserjs                                          
                  => C4::Context->preference("intranetuserjs"),
C4/Auth.pm:        intranetuserjs                        =>
C4::Context->preference("intranetuserjs"),
installer/data/mysql/sysprefs.sql:('intranetuserjs','','70|10','Custom
javascript for inclusion in Intranet','Textarea'),
installer/data/mysql/updatedatabase.pl:    $dbh->do("UPDATE `systempreferences`
SET options='70|10' WHERE variable='intranetuserjs'");
installer/data/mysql/updatedatabase.pl:    my $intranetuserjs =
C4::Context->preference('intranetuserjs');
installer/data/mysql/updatedatabase.pl:    if ($intranetuserjs  and 
$intranetuserjs eq $bad_value) {
installer/data/mysql/updatedatabase.pl:WHERE variable = 'intranetuserjs'
installer/data/mysql/updatedatabase.pl:    print "Upgrade to $DBversion done
(removed bogus intranetuserjs syspref)\n";
koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc:[% IF (
intranetuserjs ) %]
koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc:    [%
intranetuserjs %]
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref:   
        - pref: intranetuserjs
koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt:[% IF (
intranetuserjs ) %]
koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt:    [%
intranetuserjs %]
[SNIP]
mtompset at debian:~/kohaclone$ grep -i opacuserjs `git grep -l -i opacuserjs |
grep -v "\.po"`
C4/Auth.pm:            opacuserjs                            =>
C4::Context->preference("opacuserjs"),
C4/Auth.pm:        opacuserjs                            =>
C4::Context->preference("opacuserjs"),
installer/data/mysql/sysprefs.sql:('opacuserjs','','70|10','Define custom
javascript for inclusion in OPAC','Textarea'),
installer/data/mysql/updatedatabase.pl:    $dbh->do("UPDATE `systempreferences`
SET options='70|10' WHERE variable='opacuserjs'");
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref:           
- pref: opacuserjs
koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc:[% IF ( opacuserjs )
%]
koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc:        [% opacuserjs
%]
[SNIP]
mtompset at debian:~/kohaclone$ git bz apply 12160
Bug 12160 - Rename [intranet|opac]userjs to [Intranet|OPAC]UserJS

38563 - Bug 12160: Rename intranetuserjs with IntranetUserJS
38566 - Bug 12160: Rename opacuserjs with OPACUserJS

Apply? [(y)es, (n)o, (i)nteractive] y
Applying: Bug 12160: Rename intranetuserjs with IntranetUserJS
Applying: Bug 12160: Rename opacuserjs with OPACUserJS
mtompset at debian:~/kohaclone$ grep -i intranetuserjs `git grep -l -i
intranetuserjs | grep -v "\.po"`
C4/Auth.pm:            IntranetUserJS                                          
                  => C4::Context->preference("IntranetUserJS"),
C4/Auth.pm:        IntranetUserJS                        =>
C4::Context->preference("IntranetUserJS"),
installer/data/mysql/atomicupdate/Bug_12160-Rename_pref_intranetuserjs_to_IntranetUserJS.sql:UPDATE
systempreferences SET variable="IntranetUserJS" where variable="intranetuserjs"
installer/data/mysql/sysprefs.sql:('IntranetUserJS','','70|10','Custom
javascript for inclusion in Intranet','Textarea'),
installer/data/mysql/updatedatabase.pl:    $dbh->do("UPDATE `systempreferences`
SET options='70|10' WHERE variable='intranetuserjs'");
installer/data/mysql/updatedatabase.pl:    my $intranetuserjs =
C4::Context->preference('intranetuserjs');
installer/data/mysql/updatedatabase.pl:    if ($intranetuserjs  and 
$intranetuserjs eq $bad_value) {
installer/data/mysql/updatedatabase.pl:WHERE variable = 'intranetuserjs'
installer/data/mysql/updatedatabase.pl:    print "Upgrade to $DBversion done
(removed bogus intranetuserjs syspref)\n";
koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc:[% IF (
IntranetUserJS ) %]
koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc:    [%
IntranetUserJS %]
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref:   
        - pref: IntranetUserJS
koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt:[% IF (
IntranetUserJS ) %]
koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt:    [%
IntranetUserJS %]
[SNIP]
mtompset at debian:~/kohaclone$ grep -i opacuserjs `git grep -l -i opacuserjs |
grep -v "\.po"`
C4/Auth.pm:            OPACUserJS                            =>
C4::Context->preference("OPACUserJS"),
C4/Auth.pm:        OPACUserJS                            =>
C4::Context->preference("OPACUserJS"),
installer/data/mysql/atomicupdate/Bug_12160-Rename_pref_opacuserjs_to_OPACUserJS.sql:UPDATE
systempreferences SET variable="OPACUserJS" where variable="opacuserjs"
installer/data/mysql/sysprefs.sql:('OPACUserJS','','70|10','Define custom
javascript for inclusion in OPAC','Textarea'),
installer/data/mysql/updatedatabase.pl:    $dbh->do("UPDATE `systempreferences`
SET options='70|10' WHERE variable='opacuserjs'");
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref:           
- pref: OPACUserJS
koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc:[% IF ( OPACUserJS )
%]
koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc:        [% OPACUserJS
%]
[SNIP]

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list