[#692] Add register link back into the top menu

This commit is contained in:
Eric Davis 2011-12-09 18:45:33 -08:00
parent 612f2f98e4
commit 0385979d5e
1 changed files with 5 additions and 0 deletions

View File

@ -78,6 +78,11 @@
<li>
<%= render_menu_node(help_menu_item) %>
<% unless User.current.logged? %>
<% if Setting.self_registration? %>
<li>
<%= link_to l(:label_register), { :controller => 'account', :action => 'register' } %>
</li>
<% end %>
<li id="login-menu" class="drop-down last-child">
<%= link_to l(:label_login), {:controller => 'account', :action => 'login'}, :class => 'login' %>
<div id="nav-login" style="display:none;">