@@ -12,7 +12,13 | |||
|
12 | 12 | <p><center><input type="submit" name="login" value="<%=l(:button_login)%> »" class="primary" /></center> |
|
13 | 13 | <% end %> |
|
14 | 14 | |
|
15 | <br><% if Setting.self_registration? %><%= link_to l(:label_register), :action => 'register' %> |<% end %> | |
|
16 | <%= link_to l(:label_password_lost), :action => 'lost_password' %></p> | |
|
15 | <br> | |
|
16 | <% links = [] | |
|
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? | |
|
19 | %> | |
|
20 | <%= links.join(" | ") %> | |
|
21 | </p> | |
|
22 | ||
|
17 | 23 | </div> |
|
18 | 24 | </center> No newline at end of file |
@@ -20,6 +20,9 | |||
|
20 | 20 | <p><label><%= l(:setting_self_registration) %></label> |
|
21 | 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> | |
|
24 | <%= check_box_tag 'settings[password_lost]', 1, Setting.password_lost? %><%= hidden_field_tag 'settings[password_lost]', 0 %></p> | |
|
25 | ||
|
23 | 26 | <p><label><%= l(:setting_attachment_max_size) %></label> |
|
24 | 27 | <%= text_field_tag 'settings[attachment_max_size]', Setting.attachment_max_size, :size => 6 %> KB</p> |
|
25 | 28 |
General Comments 0
You need to be logged in to leave comments.
Login now