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: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/