%= meta_tags_for_article(@page) if @controller.controller_name == 'content_viewer' %>
<%= javascript_include_tag 'default-config' %>
<%= javascript_include_tag :defaults %>
<%# javascript_include_tag 'animator' %>
<%= javascript_include_tag 'jquery-latest.js' %>
<%= javascript_include_tag 'thickbox.js' %>
<%= javascript_include_tag 'menu' %>
<%= javascript_include_tag 'auto-open-menu' %>
<%= include_lightbox_header %>
<%= javascript_include_tag 'cms' if @controller.controller_name == 'cms' %>
<%= theme_javascript %>
<%#
stylesheet_import is better then stylesheet_link_tag because the stylesheet
must be loaded before the page show.
%>
<%=
# Load the principal css files:
stylesheet_import( %w( common help menu article button search blocks forms login-box thickbox profiles )
) + "\n" +
stylesheet_import( %w( common help menu article button search blocks forms login-box ),
:themed_source => true ) + "\n" +
# Load the boxes's css file if each exists:
import_blocks_stylesheets +
# Load the controller's css file if it exists:
stylesheet_import( "controller_"+ @controller.controller_name() ) + "\n" +
stylesheet_import( "controller_"+ @controller.controller_name(), :themed_source => true )
%>
<%= template_stylesheet_tag %>
<%# FIXME %>
<%= stylesheet_link_tag '/designs/icons/default/style.css' %>
<%= stylesheet_link_tag 'iepngfix/iepngfix.css' %>