<p><center><input type="submit" name="login" value="<%=l(:button_login)%> »" class="primary" /></center>
<% end %>\r
\r
-<br><% if Setting.self_registration? %><%= link_to l(:label_register), :action => 'register' %> |<% end %>\r
-<%= link_to l(:label_password_lost), :action => 'lost_password' %></p>
+<br>\r
+<% links = []\r
+ links << link_to(l(:label_register), :action => 'register') if Setting.self_registration?\r
+ links << link_to(l(:label_password_lost), :action => 'password_lost') if Setting.password_lost?\r
+%>\r
+<%= links.join(" | ") %>\r
+</p>\r
+
</div>\r
</center>
\ No newline at end of file
<p><label><%= l(:setting_self_registration) %></label>
<%= 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>
+<%= check_box_tag 'settings[password_lost]', 1, Setting.password_lost? %><%= hidden_field_tag 'settings[password_lost]', 0 %></p>
+
<p><label><%= l(:setting_attachment_max_size) %></label>
<%= text_field_tag 'settings[attachment_max_size]', Setting.attachment_max_size, :size => 6 %> KB</p>