Skip to content

Commit

Permalink
Group fix and mce header
Browse files Browse the repository at this point in the history
  • Loading branch information
cykod committed Sep 13, 2010
1 parent c34a32e commit 3610f89
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions app/views/application/_header_mce.rhtml
@@ -0,0 +1,52 @@




<title><%= (@cms_page_info ? @cms_page_info[:page_title] : @title) || "CMS" %></title>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW, NOCACHE">


<%= stylesheet_link_tag 'common' %>
<link href='http://fonts.googleapis.com/css?family=Droid+Sans' rel='stylesheet' type='text/css'>
<%= theme_stylesheet_link_tag "admin_design", :media => 'all' %>
<%= theme_stylesheet_link_tag "admin_framework", :media => 'all' %>
<script> var AUTH_TOKEN = "<%= form_authenticity_token.to_s %>";</script>

<%= 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' %>
<script>
$j = jQuery.noConflict();
</script>
<%= javascript_include_tag 'jaction' %>
<script type="text/javascript" src="http://www.google.com/jsapi"></script>

<% 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://') -%>
<script src="<%= vh js %>" type='text/javascript'></script>
<% else -%>
<%= javascript_include_tag js %>
<% end -%>
<% end -%>
<% end -%>
<% if @css_header -%>
<% @css_header.uniq.each do |css| -%>
<%= stylesheet_link_tag css %>
<% end -%>
<% end -%>

0 comments on commit 3610f89

Please sign in to comment.