summaryrefslogtreecommitdiffstats
path: root/app/views/account
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-01-21 11:50:22 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-01-21 11:50:22 +0000
commit0b4d4db131304eac84dc90b289a95db3410a2bfe (patch)
treeb5ad6934b897635e594ca089f06fe953d082ed53 /app/views/account
parenta1b12335ab6a01ea6e7dcc1df490db16136c8c2a (diff)
downloadredmine-0b4d4db131304eac84dc90b289a95db3410a2bfe.tar.gz
redmine-0b4d4db131304eac84dc90b289a95db3410a2bfe.zip
settings are now stored in the database (config_custom.rb no more used) and editable through the application in: Admin -> Settings
git-svn-id: http://redmine.rubyforge.org/svn/trunk@167 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/account')
-rw-r--r--app/views/account/login.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/account/login.rhtml b/app/views/account/login.rhtml
index 8f092b525..346f7d52b 100644
--- a/app/views/account/login.rhtml
+++ b/app/views/account/login.rhtml
@@ -12,7 +12,7 @@
<p><center><input type="submit" name="login" value="<%=l(:button_login)%> &#187;" class="primary" /></center>
<%= end_form_tag %>
-<br><% unless $RDM_SELF_REGISTRATION == false %><%= link_to l(:label_register), :action => 'register' %> |<% end %>
+<br><% if Setting.self_registration? %><%= link_to l(:label_register), :action => 'register' %> |<% end %>
<%= link_to l(:label_password_lost), :action => 'lost_password' %></p>
</div>
</center> \ No newline at end of file