setting password_lost renamed to lost_password
git-svn-id: http://redmine.rubyforge.org/svn/trunk@235 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
7dd312b1ac
commit
2b7c31feb5
|
@ -15,7 +15,7 @@
|
||||||
<br>
|
<br>
|
||||||
<% links = []
|
<% links = []
|
||||||
links << link_to(l(:label_register), :action => 'register') if Setting.self_registration?
|
links << link_to(l(:label_register), :action => 'register') if Setting.self_registration?
|
||||||
links << link_to(l(:label_password_lost), :action => 'password_lost') if Setting.password_lost?
|
links << link_to(l(:label_password_lost), :action => 'lost_password') if Setting.lost_password?
|
||||||
%>
|
%>
|
||||||
<%= links.join(" | ") %>
|
<%= links.join(" | ") %>
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<%= check_box_tag 'settings[self_registration]', 1, Setting.self_registration? %><%= hidden_field_tag 'settings[self_registration]', 0 %></p>
|
<%= check_box_tag 'settings[self_registration]', 1, Setting.self_registration? %><%= hidden_field_tag 'settings[self_registration]', 0 %></p>
|
||||||
|
|
||||||
<p><label><%= l(:label_password_lost) %></label>
|
<p><label><%= l(:label_password_lost) %></label>
|
||||||
<%= check_box_tag 'settings[password_lost]', 1, Setting.password_lost? %><%= hidden_field_tag 'settings[password_lost]', 0 %></p>
|
<%= check_box_tag 'settings[lost_password]', 1, Setting.lost_password? %><%= hidden_field_tag 'settings[lost_password]', 0 %></p>
|
||||||
|
|
||||||
<p><label><%= l(:setting_attachment_max_size) %></label>
|
<p><label><%= l(:setting_attachment_max_size) %></label>
|
||||||
<%= text_field_tag 'settings[attachment_max_size]', Setting.attachment_max_size, :size => 6 %> KB</p>
|
<%= text_field_tag 'settings[attachment_max_size]', Setting.attachment_max_size, :size => 6 %> KB</p>
|
||||||
|
|
|
@ -29,7 +29,7 @@ login_required:
|
||||||
default: 0
|
default: 0
|
||||||
self_registration:
|
self_registration:
|
||||||
default: 1
|
default: 1
|
||||||
password_lost:
|
lost_password:
|
||||||
default: 1
|
default: 1
|
||||||
attachment_max_size:
|
attachment_max_size:
|
||||||
format: int
|
format: int
|
||||||
|
|
Loading…
Reference in New Issue