<%= 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' %> onresize="registerDocumentSize()"> <% unless flash[:notice].nil? %> <% end %>
<%= _('Go to content') %>
BETA
<%= language_chooser(:element => 'dropdown') %>
<%= render :file => 'shared/user_menu' %>
<%= _('Help') %>
<% if @controller.send(:boxes_editor?) %> <%= yield %> <%= display_boxes_editor(@controller.boxes_holder) %> <% else %> <% if uses_design_blocks? %> <%= display_boxes(@controller.boxes_holder, yield) %> <% else %>
<%= yield %>
<% end %> <% end %>
<%= javascript_include_tag 'show-mouse-help' %> <%= javascript_include_tag 'noosfero-show-help' %> <% if environment.enabled?('warn_obsolete_browser') %> <% end %> <%= javascript_include_tag 'better-browser-promotion' %> <% if is_testing_theme %> <%= render :file => 'shared/theme_test_panel' %> <% end %> <% if ask_to_join? %> <%= render :file => 'shared/join_community_popup' %> <% end %>