##// END OF EJS Templates
scm: git: unit adapter latin-1 path encoding test passes on Japanese Windows (#5251)....
scm: git: unit adapter latin-1 path encoding test passes on Japanese Windows (#5251). Ruby uses ANSI api to fork a process on Windows. Japanese Shift_JIS and Traditional Chinese Big5 have 0x5c(backslash) problem and these are incompatible with ASCII. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5071 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r4192:1cf67b3a1d87
r4951:74f44a5b6a0b
Show More
_authentication.rhtml
27 lines | 1.2 KiB | text/html+ruby | RhtmlLexer
/ app / views / settings / _authentication.rhtml
<% form_tag({:action => 'edit', :tab => 'authentication'}) do %>
<div class="box tabular settings">
<p><%= setting_check_box :login_required %></p>
<p><%= setting_select :autologin, [[l(:label_disabled), 0]] + [1, 7, 30, 365].collect{|days| [l('datetime.distance_in_words.x_days', :count => days), days.to_s]} %></p>
<p><%= setting_select :self_registration, [[l(:label_disabled), "0"],
[l(:label_registration_activation_by_email), "1"],
[l(:label_registration_manual_activation), "2"],
[l(:label_registration_automatic_activation), "3"]] %></p>
<p><%= setting_text_field :password_min_length, :size => 6 %></p>
<p><%= setting_check_box :lost_password, :label => :label_password_lost %></p>
<p><%= setting_check_box :openid, :disabled => !Object.const_defined?(:OpenID) %></p>
<p><%= setting_check_box :rest_api_enabled %></p>
</div>
<div style="float:right;">
<%= link_to l(:label_ldap_authentication), {:controller => 'ldap_auth_sources', :action => 'index'}, :class => 'icon icon-server-authentication' %>
</div>
<%= submit_tag l(:button_save) %>
<% end %>