##// END OF EJS Templates
setting password_lost renamed to lost_password...
Jean-Philippe Lang -
r232:2b7c31feb504
parent child
Show More
@@ -15,7 +15,7
15 <br>
15 <br>
16 <% links = []
16 <% links = []
17 links << link_to(l(:label_register), :action => 'register') if Setting.self_registration?
17 links << link_to(l(:label_register), :action => 'register') if Setting.self_registration?
18 links << link_to(l(:label_password_lost), :action => 'password_lost') if Setting.password_lost?
18 links << link_to(l(:label_password_lost), :action => 'lost_password') if Setting.lost_password?
19 %>
19 %>
20 <%= links.join(" | ") %>
20 <%= links.join(" | ") %>
21 </p>
21 </p>
@@ -21,7 +21,7
21 <%= check_box_tag 'settings[self_registration]', 1, Setting.self_registration? %><%= hidden_field_tag 'settings[self_registration]', 0 %></p>
21 <%= check_box_tag 'settings[self_registration]', 1, Setting.self_registration? %><%= hidden_field_tag 'settings[self_registration]', 0 %></p>
22
22
23 <p><label><%= l(:label_password_lost) %></label>
23 <p><label><%= l(:label_password_lost) %></label>
24 <%= check_box_tag 'settings[password_lost]', 1, Setting.password_lost? %><%= hidden_field_tag 'settings[password_lost]', 0 %></p>
24 <%= check_box_tag 'settings[lost_password]', 1, Setting.lost_password? %><%= hidden_field_tag 'settings[lost_password]', 0 %></p>
25
25
26 <p><label><%= l(:setting_attachment_max_size) %></label>
26 <p><label><%= l(:setting_attachment_max_size) %></label>
27 <%= text_field_tag 'settings[attachment_max_size]', Setting.attachment_max_size, :size => 6 %> KB</p>
27 <%= text_field_tag 'settings[attachment_max_size]', Setting.attachment_max_size, :size => 6 %> KB</p>
@@ -29,7 +29,7 login_required:
29 default: 0
29 default: 0
30 self_registration:
30 self_registration:
31 default: 1
31 default: 1
32 password_lost:
32 lost_password:
33 default: 1
33 default: 1
34 attachment_max_size:
34 attachment_max_size:
35 format: int
35 format: int
General Comments 0
You need to be logged in to leave comments. Login now