diff --git a/app/views/feeds/news.rxml b/app/views/feeds/news.rxml index 41fb0cade..67c358d8d 100644 --- a/app/views/feeds/news.rxml +++ b/app/views/feeds/news.rxml @@ -1,7 +1,7 @@ xml.instruct! xml.rss "version" => "2.0", "xmlns:dc" => "http://purl.org/dc/elements/1.1/" do xml.channel do - xml.title "#{Setting.header_title}: #{l(:label_news_latest)}" + xml.title "#{Setting.app_title}: #{l(:label_news_latest)}" xml.link url_for(:controller => '', :only_path => false) xml.pubDate CGI.rfc1123_date(@news.first.created_on) xml.description l(:label_news_latest) diff --git a/app/views/layouts/base.rhtml b/app/views/layouts/base.rhtml index e4c35b6bd..f4d45f029 100644 --- a/app/views/layouts/base.rhtml +++ b/app/views/layouts/base.rhtml @@ -1,7 +1,7 @@
--<%= text_field_tag 'settings[header_title]', Setting.header_title, :size => 30 %>
++<%= text_field_tag 'settings[app_title]', Setting.app_title, :size => 30 %>
--<%= text_field_tag 'settings[header_subtitle]', Setting.header_subtitle, :size => 60 %>
++<%= text_field_tag 'settings[app_subtitle]', Setting.app_subtitle, :size => 60 %>
-+
<%= text_area_tag 'settings[welcome_text]', Setting.welcome_text, :cols => 60, :rows => 5 %>
-+
<%= select_tag 'settings[default_language]', options_for_select( lang_options_for_select(false), Setting.default_language) %>
-+
<%= check_box_tag 'settings[login_required]', 1, Setting.login_required? %><%= hidden_field_tag 'settings[login_required]', 0 %>
-+
<%= check_box_tag 'settings[self_registration]', 1, Setting.self_registration? %><%= hidden_field_tag 'settings[self_registration]', 0 %>
--<%= text_field_tag 'settings[attachment_max_size]', Setting.attachment_max_size, :size => 6 %>
++<%= text_field_tag 'settings[attachment_max_size]', Setting.attachment_max_size, :size => 6 %> KB
-+
<%= text_field_tag 'settings[mail_from]', Setting.mail_from, :size => 60 %>
-+
<%= text_field_tag 'settings[host_name]', Setting.host_name, :size => 60 %>
-+
<%= select_tag 'settings[text_formatting]', options_for_select( [[l(:label_none), 0], ["textile", "textile"]], Setting.text_formatting) %>