##// END OF EJS Templates
Adds a setting to choose which role is given to a non-admin user who creates a project (#1007)....
Adds a setting to choose which role is given to a non-admin user who creates a project (#1007). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2754 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r2586:31cf9be7abac
r2655:52b5b2920329
Show More
_authentication.rhtml
33 lines | 1.7 KiB | text/html+ruby | RhtmlLexer
/ app / views / settings / _authentication.rhtml
Jean-Philippe Lang
Admin settings screen split to tabs....
r1033 <% form_tag({:action => 'edit', :tab => 'authentication'}) do %>
<div class="box tabular settings">
<p><label><%= l(:setting_login_required) %></label>
<%= check_box_tag 'settings[login_required]', 1, Setting.login_required? %><%= hidden_field_tag 'settings[login_required]', 0 %></p>
<p><label><%= l(:setting_autologin) %></label>
Jean-Philippe Lang
Merged Rails 2.2 branch. Redmine now requires Rails 2.2.2....
r2430 <%= select_tag 'settings[autologin]', options_for_select( [[l(:label_disabled), "0"]] + [1, 7, 30, 365].collect{|days| [l('datetime.distance_in_words.x_days', :count => days), days.to_s]}, Setting.autologin) %></p>
Jean-Philippe Lang
Admin settings screen split to tabs....
r1033
<p><label><%= l(:setting_self_registration) %></label>
<%= select_tag 'settings[self_registration]',
options_for_select( [[l(:label_disabled), "0"],
[l(:label_registration_activation_by_email), "1"],
[l(:label_registration_manual_activation), "2"],
[l(:label_registration_automatic_activation), "3"]
], Setting.self_registration ) %></p>
Jean-Philippe Lang
Makes minimum password length configurable....
r2586 <p><label><%= l(:setting_password_min_length) %></label>
<%= text_field_tag 'settings[password_min_length]', Setting.password_min_length, :size => 6 %></p>
Jean-Philippe Lang
Admin settings screen split to tabs....
r1033 <p><label><%= l(:label_password_lost) %></label>
<%= check_box_tag 'settings[lost_password]', 1, Setting.lost_password? %><%= hidden_field_tag 'settings[lost_password]', 0 %></p>
Eric Davis
Added a system setting for allowing OpenID logins and registrations...
r2388
<p><label><%= l(:setting_openid) %></label>
Jean-Philippe Lang
Removes the fat ruby-openid gem. Simply use 'gem install ruby-openid' to enable openid support....
r2397 <%= check_box_tag 'settings[openid]', 1, Setting.openid?, :disabled => !Object.const_defined?(:OpenID) %><%= hidden_field_tag 'settings[openid]', 0 %></p>
Jean-Philippe Lang
Admin settings screen split to tabs....
r1033 </div>
<div style="float:right;">
Jean-Philippe Lang
Added translation support for project modules names and a few other strings....
r1137 <%= link_to l(:label_ldap_authentication), :controller => 'auth_sources', :action => 'list' %>
Jean-Philippe Lang
Admin settings screen split to tabs....
r1033 </div>
<%= submit_tag l(:button_save) %>
<% end %>