Bugzilla – Attachment 63655 Details for
Bug 18634
Missing empty line at end of opac.pref / colliding translated preference sections
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Sample test code
zz.pl (text/plain), 517 bytes, created by
Marcel de Rooy
on 2017-05-23 14:45:28 UTC
(
hide
)
Description:
Sample test code
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2017-05-23 14:45:28 UTC
Size:
517 bytes
patch
obsolete
>use Modern::Perl; >use CGI; >use YAML::Syck qw( Dump LoadFile ); >use Data::Dumper qw( Dumper ); >use C4::Templates; > >my $prefs = 'koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref'; >gettemplate_test(); > >sub loadfile_test { > my $yaml = LoadFile( $prefs ); > #print Dumper( $yaml ); > print Dumper( $yaml->{OPAC}->{Payments} ); >} > >sub gettemplate_test { > my $data = C4::Templates::gettemplate( 'admin/preferences/opac.pref', 'intranet', new CGI ); > print $data->output; >}
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 Raw
Actions:
View
Attachments on
bug 18634
:
63550
|
63655
|
63656
|
63660
|
63690
|
64267
|
64268
|
64283
|
64414
|
64843
|
64844