[Koha-bugs] [Bug 7616] New: Remove unused template markup for css_libs, css_module, js_libs, etc.
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Feb 28 21:19:42 CET 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7616
Bug #: 7616
Summary: Remove unused template markup for css_libs,
css_module, js_libs, etc.
Classification: Unclassified
Change sponsored?: ---
Product: Koha
Version: master
Platform: All
OS/Version: All
Status: ASSIGNED
Severity: trivial
Priority: P5 - low
Component: Templates
AssignedTo: oleonard at myacpl.org
ReportedBy: oleonard at myacpl.org
QAContact: koha.sekjal at gmail.com
There was a time when it was planned that Koha would automatically load CSS and
JS file based on certain contexts. Thus in Auth.pm:
# load the template variables for stylesheets and JavaScript
$template->param( css_libs => $in->{'css_libs'} );
$template->param( css_module => $in->{'css_module'} );
$template->param( css_page => $in->{'css_page'} );
$template->param( css_widgets => $in->{'css_widgets'} );
$template->param( js_libs => $in->{'js_libs'} );
$template->param( js_module => $in->{'js_module'} );
$template->param( js_page => $in->{'js_page'} );
$template->param( js_widgets => $in->{'js_widgets'} );
*_libs would be general libraries like jQuery and YUI. *_module would be files
which were specific to "modules" like circulation or cataloging. *_page would
be page-specific files, and *_widgets would be things like the calendar widget
I suppose.
This method of handling these assets was never implemented and the references
to it should be removed.
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the Koha-bugs
mailing list