@@ -1,33 +1,35 | |||||
1 | <% form_tag({:action => 'edit'}) do %> |
|
1 | <% form_tag({:action => 'edit'}) do %> | |
2 |
|
2 | |||
3 | <div class="box tabular settings"> |
|
3 | <div class="box tabular settings"> | |
4 | <p><%= setting_text_field :app_title, :size => 30 %></p> |
|
4 | <p><%= setting_text_field :app_title, :size => 30 %></p> | |
5 |
|
5 | |||
6 | <p><%= setting_text_area :welcome_text, :cols => 60, :rows => 5, :class => 'wiki-edit' %></p> |
|
6 | <p><%= setting_text_area :welcome_text, :cols => 60, :rows => 5, :class => 'wiki-edit' %></p> | |
7 | <%= wikitoolbar_for 'settings_welcome_text' %> |
|
7 | <%= wikitoolbar_for 'settings_welcome_text' %> | |
8 |
|
8 | |||
9 | <p><%= setting_text_field :attachment_max_size, :size => 6 %> KB</p> |
|
9 | <p><%= setting_text_field :attachment_max_size, :size => 6 %> KB</p> | |
10 |
|
10 | |||
11 | <p><%= setting_text_field :per_page_options, :size => 20 %><br /> |
|
11 | <p><%= setting_text_field :per_page_options, :size => 20 %><br /> | |
12 | <em><%= l(:text_comma_separated) %></em></p> |
|
12 | <em><%= l(:text_comma_separated) %></em></p> | |
13 |
|
13 | |||
14 | <p><%= setting_text_field :activity_days_default, :size => 6 %> <%= l(:label_day_plural) %></p> |
|
14 | <p><%= setting_text_field :activity_days_default, :size => 6 %> <%= l(:label_day_plural) %></p> | |
15 |
|
15 | |||
16 | <p><%= setting_text_field :host_name, :size => 60 %><br /> |
|
16 | <p><%= setting_text_field :host_name, :size => 60 %><br /> | |
17 | <em><%= l(:label_example) %>: <%= @guessed_host_and_path %></em></p> |
|
17 | <em><%= l(:label_example) %>: <%= @guessed_host_and_path %></em></p> | |
18 |
|
18 | |||
19 | <p><%= setting_select :protocol, [['HTTP', 'http'], ['HTTPS', 'https']] %></p> |
|
19 | <p><%= setting_select :protocol, [['HTTP', 'http'], ['HTTPS', 'https']] %></p> | |
20 |
|
20 | |||
21 | <p><%= setting_select :text_formatting, Redmine::WikiFormatting.format_names.collect{|name| [name, name.to_s]}, :blank => :label_none %></p> |
|
21 | <p><%= setting_select :text_formatting, Redmine::WikiFormatting.format_names.collect{|name| [name, name.to_s]}, :blank => :label_none %></p> | |
22 |
|
22 | |||
23 | <p><%= setting_select :wiki_compression, [['Gzip', 'gzip']], :blank => :label_none %></p> |
|
23 | <p><%= setting_select :wiki_compression, [['Gzip', 'gzip']], :blank => :label_none %></p> | |
24 |
|
24 | |||
25 | <p><%= setting_text_field :feeds_limit, :size => 6 %></p> |
|
25 | <p><%= setting_text_field :feeds_limit, :size => 6 %></p> | |
26 |
|
26 | |||
27 | <p><%= setting_text_field :file_max_size_displayed, :size => 6 %> KB</p> |
|
27 | <p><%= setting_text_field :file_max_size_displayed, :size => 6 %> KB</p> | |
28 |
|
28 | |||
29 | <p><%= setting_text_field :diff_max_lines_displayed, :size => 6 %></p> |
|
29 | <p><%= setting_text_field :diff_max_lines_displayed, :size => 6 %></p> | |
|
30 | ||||
|
31 | <%= call_hook(:view_settings_general_form) %> | |||
30 | </div> |
|
32 | </div> | |
31 |
|
33 | |||
32 | <%= submit_tag l(:button_save) %> |
|
34 | <%= submit_tag l(:button_save) %> | |
33 | <% end %> |
|
35 | <% end %> |
General Comments 0
You need to be logged in to leave comments.
Login now