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.
Created attachment 7934 [details] [review] Bug 7616 - Remove unused template markup for css_libs, css_module, js_libs, etc. Removing references to unused template variables and markup.
Created attachment 7988 [details] [review] [Signed-off] Bug 7616 - Remove unused template markup for css_libs, css_module, js_libs, etc. Ok, after looking at the code I can confirm that those variables are not used at all. Signed off.
Marked as Passed QA. No regression with this patch.
Will not be pushed to 3.6.x. Trivial patch, but with a small chance of causing a regression.