+<%= form_for @site, :url => admin_site_path(@site), :html => {:class => "clear"} do |f| %>
+
+
+ <%= f.fields_for :site_settings, @site['site_settings'] do |f| %>
+
+ <% end %>
+
+
+
+ <%= f.submit t("submit"), :class => "btn btn-primary" %>
+ <%= f.submit t("cancel"), :class => "btn ", :type => 'reset' %>
+
+<% end %>
+
\ No newline at end of file
diff --git a/app/views/admin/sites/site_info.html.erb b/app/views/admin/sites/site_info.html.erb
index 64916d4da..e19307ca6 100644
--- a/app/views/admin/sites/site_info.html.erb
+++ b/app/views/admin/sites/site_info.html.erb
@@ -1,3 +1,7 @@
+<% content_for :side_bar do %>
+ <%= render 'side_bar' %>
+<% end %>
+
<%= form_for @site, :url => admin_site_path(@site), :html => {:class => "clear"} do |f| %>
@@ -9,20 +13,22 @@
<% end %>
-
-
+
- <%= f.check_box :title_always_on %> <%= t 'admin.always_display_title' %>
+
<% @site_valid_locales.each do |locale|%>
<%= content_tag :div, :class => "tab-pane fade #{active_when_current_locale_eq locale} #{locale}" do %>
+
<%= f.fields_for :title, @site.title do |f| %>
<%= f.text_field locale, :class => "input-xxlarge" %>
<% end %>
-
In addition to freeform text, any HTML5 text-based input appears like so.
+
<%= (t 'admin.site_title_help').html_safe %>
<% end %>
@@ -30,12 +36,12 @@
<% @site_valid_locales.each do |locale|%>
<%= content_tag :div, :class => "tab-pane fade #{active_when_current_locale_eq locale} #{locale}" do %>
-
+
<%= f.fields_for :keywords, @site.keywords do |f| %>
<%= f.text_area locale, :class => "input-xxlarge textarea-height-s" %>
<% end %>
-
In addition to freeform text, any HTML5 text-based input appears like so.
+
<%= (t 'admin.site_keywords_help').html_safe %>
@@ -44,7 +50,7 @@
<%= f.fields_for :description, @site.description do |f| %>
<%= f.text_area locale, :class => "input-xxlarge textarea-height-s" %>
<% end %>
-
In addition to freeform text, any HTML5 text-based input appears like so.
+
<%= (t 'admin.site_description_help').html_safe %>
@@ -53,6 +59,15 @@
<%= f.fields_for :footer, @site.footer do |f| %>
<%= f.text_area locale, :class => "tinymce_textarea input-xxlarge" %>
<% end %>
+
<%= (t 'admin.site_footer_help').html_safe %>
+
+
+
+
+
+ <%= f.fields_for :sub_menu, @site.sub_menu do |f| %>
+ <%= f.text_area locale, :class => "tinymce_textarea input-xxlarge" %>
+ <% end %>
<% end %>
diff --git a/app/views/admin/sites/system_info.html.erb b/app/views/admin/sites/system_info.html.erb
index 45535dacf..dc9d45c95 100644
--- a/app/views/admin/sites/system_info.html.erb
+++ b/app/views/admin/sites/system_info.html.erb
@@ -1 +1,5 @@
+<% content_for :side_bar do %>
+ <%= render 'side_bar' %>
+<% end %>
+
system_info.html.erb
\ No newline at end of file
diff --git a/app/views/admin/sites/ui_theme.html.erb b/app/views/admin/sites/ui_theme.html.erb
index 222f59695..540405da8 100644
--- a/app/views/admin/sites/ui_theme.html.erb
+++ b/app/views/admin/sites/ui_theme.html.erb
@@ -1 +1,5 @@
+<% content_for :side_bar do %>
+ <%= render 'side_bar' %>
+<% end %>
+
ui_theme.html.erb
\ No newline at end of file
diff --git a/app/views/layouts/_orbit_bar.html.erb b/app/views/layouts/_orbit_bar.html.erb
index 9ca76982b..16383a792 100644
--- a/app/views/layouts/_orbit_bar.html.erb
+++ b/app/views/layouts/_orbit_bar.html.erb
@@ -10,6 +10,7 @@
<%#= link_to content_tag(:i, nil, :class => 'icons-asset') + t('admin.asset'), admin_assets_path %>
<%= link_to content_tag(:i, nil, :class => 'icons-structure') + t('admin.structure'), admin_items_path %>
+
<%= link_to content_tag(:i, nil, :class => 'icons-cog') + t('admin.site_settings'), admin_site_site_info_path(@site) %>
<%#= link_to content_tag(:i, nil, :class => 'icons-plus-cube') + t('admin.add_item') %>
diff --git a/app/views/layouts/_side_bar.html.erb b/app/views/layouts/_side_bar.html.erb
index c38388271..05562e0bf 100644
--- a/app/views/layouts/_side_bar.html.erb
+++ b/app/views/layouts/_side_bar.html.erb
@@ -67,14 +67,3 @@
<%= content_tag :li, link_to(t('announcement.tags'), panel_web_resource_back_end_tags_path), :class => active_for_action('/panel/web_resource/back_end/tags', 'index') %>
<% end -%>
<% end -%>
-
-<%= content_tag :li, :class => active_for_controllers('sites') do -%>
- <%= link_to content_tag(:i, nil, :class => 'icons-cog') + t('admin.site_settings'), admin_site_site_info_path(@site) %>
- <%= content_tag :ul, :class => ("nav nav-list " + visible_for_controllers('sites')) do -%>
- <%= content_tag :li, link_to(t('admin.site_info'), admin_site_site_info_path(@site)), :class => active_for_action('sites', 'site_info') %>
- <%= content_tag :li, link_to(t('admin.system_info'), admin_site_system_info_path(@site)), :class => active_for_action('sites', 'system_info') %>
- <%= content_tag :li, link_to(t('admin.language'), admin_site_language_path(@site)), :class => active_for_action('sites', 'language') %>
- <%= content_tag :li, link_to(t('admin.mail_setting'), admin_site_mail_setting_path(@site)), :class => active_for_action('sites', 'mail_setting') %>
- <%= content_tag :li, link_to(t('admin.ui_theme'), admin_site_ui_theme_path(@site)), :class => active_for_action('sites', 'ui_theme') %>
- <% end -%>
-<% end -%>
diff --git a/app/views/layouts/new_admin.html.erb b/app/views/layouts/new_admin.html.erb
index 4686545ec..3a493a9d6 100644
--- a/app/views/layouts/new_admin.html.erb
+++ b/app/views/layouts/new_admin.html.erb
@@ -3,6 +3,7 @@
<%= @title || APP_CONFIG['orbit'] %>
+
">
@@ -25,7 +26,11 @@
- <%= render 'layouts/side_bar' %>
+ <% if !(yield :side_bar).blank? %>
+ <%= yield :side_bar %>
+ <% else %>
+ <%= render 'layouts/side_bar' %>
+ <% end %>
diff --git a/app/views/layouts/page_layout.html.erb b/app/views/layouts/page_layout.html.erb
index dd9aa94ad..0a7240ef3 100644
--- a/app/views/layouts/page_layout.html.erb
+++ b/app/views/layouts/page_layout.html.erb
@@ -3,6 +3,7 @@
<%= page_title(@item).html_safe %>
+
">
<%= page_metas(@item).html_safe %>