diff --git a/app/views/application/_header_mce.rhtml b/app/views/application/_header_mce.rhtml new file mode 100644 index 00000000..bfd4f187 --- /dev/null +++ b/app/views/application/_header_mce.rhtml @@ -0,0 +1,52 @@ + + + + +<%= (@cms_page_info ? @cms_page_info[:page_title] : @title) || "CMS" %> + + + + +<%= stylesheet_link_tag 'common' %> + +<%= theme_stylesheet_link_tag "admin_design", :media => 'all' %> +<%= theme_stylesheet_link_tag "admin_framework", :media => 'all' %> + + +<%= remote_script 'ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js' %> +<%= remote_script 'ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/jquery-ui.min.js' %> + +<%= javascript_include_tag 'jaction' %> + + +<% unless @no_legacy_cs %> +<%= javascript_include_tag "overlib/overlib" %> +<%= javascript_include_tag :defaults %> + +<%= javascript_include_tag "builder" %> +<%= javascript_include_tag "slider" %> +<%= javascript_include_tag "swfobject" %> +<%= javascript_include_tag "tiny_mce/tiny_mce_popup" %> +<%= javascript_include_tag 'redbox' %> +<% end -%> +<%= javascript_include_tag 'active_table' %> +<%= javascript_include_tag 'shortcut' %> + +<%= @header if @header %> +<%= @extra_header if @extra_header %> +<% if @js_header -%> + <% @js_header.uniq.each do |js| -%> + <% if js.to_s.include?('http://') -%> + + <% else -%> + <%= javascript_include_tag js %> + <% end -%> + <% end -%> +<% end -%> +<% if @css_header -%> + <% @css_header.uniq.each do |css| -%> + <%= stylesheet_link_tag css %> + <% end -%> +<% end -%>