##// END OF EJS Templates
setting password_lost renamed to lost_password...
Jean-Philippe Lang -
r232:2b7c31feb504
parent child
Show More
@@ -1,24 +1,24
1 1 <center>
2 2 <div class="box login">
3 3 <h2 class="icon22 icon22-authent"><%=l(:label_please_login)%></h2>
4 4
5 5 <% form_tag({:action=> "login"}, :class => "tabular") do %>
6 6 <p><label for="login"><%=l(:field_login)%>:</label>
7 7 <%= text_field_tag 'login', nil, :size => 25 %></p>
8 8
9 9 <p><label for="password"><%=l(:field_password)%>:</label>
10 10 <%= password_field_tag 'password', nil, :size => 25 %></p>
11 11
12 12 <p><center><input type="submit" name="login" value="<%=l(:button_login)%> &#187;" class="primary" /></center>
13 13 <% end %>
14 14
15 15 <br>
16 16 <% links = []
17 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 20 <%= links.join(" | ") %>
21 21 </p>
22 22
23 23 </div>
24 24 </center> No newline at end of file
@@ -1,43 +1,43
1 1 <h2><%= l(:label_settings) %></h2>
2 2
3 3 <% form_tag({:action => 'edit'}, :class => "tabular") do %>
4 4 <div class="box">
5 5 <p><label><%= l(:setting_app_title) %></label>
6 6 <%= text_field_tag 'settings[app_title]', Setting.app_title, :size => 30 %></p>
7 7
8 8 <p><label><%= l(:setting_app_subtitle) %></label>
9 9 <%= text_field_tag 'settings[app_subtitle]', Setting.app_subtitle, :size => 60 %></p>
10 10
11 11 <p><label><%= l(:setting_welcome_text) %></label>
12 12 <%= text_area_tag 'settings[welcome_text]', Setting.welcome_text, :cols => 60, :rows => 5 %></p>
13 13
14 14 <p><label><%= l(:setting_default_language) %></label>
15 15 <%= select_tag 'settings[default_language]', options_for_select( lang_options_for_select(false), Setting.default_language) %></p>
16 16
17 17 <p><label><%= l(:setting_login_required) %></label>
18 18 <%= check_box_tag 'settings[login_required]', 1, Setting.login_required? %><%= hidden_field_tag 'settings[login_required]', 0 %></p>
19 19
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 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 26 <p><label><%= l(:setting_attachment_max_size) %></label>
27 27 <%= text_field_tag 'settings[attachment_max_size]', Setting.attachment_max_size, :size => 6 %> KB</p>
28 28
29 29 <p><label><%= l(:setting_issues_export_limit) %></label>
30 30 <%= text_field_tag 'settings[issues_export_limit]', Setting.issues_export_limit, :size => 6 %></p>
31 31
32 32 <p><label><%= l(:setting_mail_from) %></label>
33 33 <%= text_field_tag 'settings[mail_from]', Setting.mail_from, :size => 60 %></p>
34 34
35 35 <p><label><%= l(:setting_host_name) %></label>
36 36 <%= text_field_tag 'settings[host_name]', Setting.host_name, :size => 60 %></p>
37 37
38 38 <p><label><%= l(:setting_text_formatting) %></label>
39 39 <%= select_tag 'settings[text_formatting]', options_for_select( [[l(:label_none), 0], ["textile", "textile"]], Setting.text_formatting) %></p>
40 40
41 41 </div>
42 42 <%= submit_tag l(:button_save) %>
43 43 <% end %> No newline at end of file
@@ -1,47 +1,47
1 1 # redMine - project management software
2 2 # Copyright (C) 2006-2007 Jean-Philippe Lang
3 3 #
4 4 # This program is free software; you can redistribute it and/or
5 5 # modify it under the terms of the GNU General Public License
6 6 # as published by the Free Software Foundation; either version 2
7 7 # of the License, or (at your option) any later version.
8 8 #
9 9 # This program is distributed in the hope that it will be useful,
10 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 12 # GNU General Public License for more details.
13 13 #
14 14 # You should have received a copy of the GNU General Public License
15 15 # along with this program; if not, write to the Free Software
16 16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 17
18 18
19 19 # DO NOT MODIFY THIS FILE !!!
20 20 # Settings can be defined through the application in Admin -> Settings
21 21
22 22 app_title:
23 23 default: redMine
24 24 app_subtitle:
25 25 default: Project management
26 26 welcome_text:
27 27 default:
28 28 login_required:
29 29 default: 0
30 30 self_registration:
31 31 default: 1
32 password_lost:
32 lost_password:
33 33 default: 1
34 34 attachment_max_size:
35 35 format: int
36 36 default: 5120
37 37 issues_export_limit:
38 38 format: int
39 39 default: 500
40 40 mail_from:
41 41 default: redmine@somenet.foo
42 42 text_formatting:
43 43 default: textile
44 44 default_language:
45 45 default: en
46 46 host_name:
47 47 default: localhost:3000 No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now