<%=content_tag(:label, l(:label_maximum_files_upload) + ":") %>
<%=text_field_tag "settings[dmsf_max_file_upload]", @settings["dmsf_max_file_upload"], :size=>10 %>
(<%=l(:label_default)%>: 0)
<%= l(:note_maximum_number_of_files_uploaded) %>
<%=content_tag(:label, l(:label_maximum_files_download) + ":") %>
<%=text_field_tag "settings[dmsf_max_file_download]", @settings["dmsf_max_file_download"], :size=>10 %>
(<%=l(:label_default)%>: 0)
<%= l(:note_maximum_number_of_files_downloaded) %>
<%=content_tag(:label, l(:label_file_storage_directory) + ":") %>
<%=text_field_tag "settings[dmsf_storage_directory]", @settings["dmsf_storage_directory"], :size=>50 %>
(<%=l(:label_default)%>: <%="#{RAILS_ROOT}/files/dmsf"%>)
<%=content_tag(:label, l(:label_default_notifications) + ":") %>
<%=select_tag("settings[dmsf_default_notifications]",
options_for_select([
[l(:select_option_deactivated), nil],
[l(:select_option_activated), "1"]],
:selected => @settings["dmsf_default_notifications"])) %>
(<%=l(:label_default)%>: <%=l(:select_option_deactivated)%>)
<%=content_tag(:label, l(:label_index_database) + ":") %>
<%=text_field_tag 'settings[dmsf_index_database]', @settings['dmsf_index_database'], :size=>50 %>
(<%=l(:label_default)%>: <%="#{RAILS_ROOT}/files/dmsf_index"%>)
<%=content_tag(:label, l(:label_stemming_language) + ":") %>
<%=text_field_tag 'settings[dmsf_stemming_lang]', @settings['dmsf_stemming_lang'] %>
(<%=l(:label_default)%>: english )
<%=l(:note_possible_values)%>: danish dutch english finnish french german german2 hungarian italian kraaij_pohlmann lovins norwegian porter portuguese romanian russian spanish swedish turkish (<%=l(:note_pass_none_to_disable_stemming)%>)
<%=content_tag(:label, l(:label_stem_strategy) + ":")%>
<%=radio_button_tag 'settings[dmsf_stemming_strategy]', 'STEM_NONE', @settings['dmsf_stemming_strategy'] == 'STEM_NONE', :checked=>true %> <%=l(:option_stem_none)%>
<%=radio_button_tag 'settings[dmsf_stemming_strategy]', 'STEM_SOME', @settings['dmsf_stemming_strategy'] == 'STEM_SOME' %> <%=l(:option_stem_some)%>
<%=radio_button_tag 'settings[dmsf_stemming_strategy]', 'STEM_ALL', @settings['dmsf_stemming_strategy'] == 'STEM_ALL' %> <%=l(:option_stem_all)%>
<%=l(:label_stemming_description)%>:
STEM_NONE: <%=l(:note_do_not_stem)%>
STEM_SOME: <%=l(:note_stem_some)%>
STEM_ALL: <%=l(:note_stem_all)%>
<%=l(:note_stemming_applied)%>