|
|
|
@ -264,10 +264,10 @@ end
|
|
|
|
|
# end
|
|
|
|
|
|
|
|
|
|
Redmine::MenuManager.map :account_menu do |menu|
|
|
|
|
|
menu.push :login, {:controller => 'account', :action => 'login', :host => Setting.user_domain}, :if => Proc.new { !User.current.logged? }
|
|
|
|
|
menu.push :login, {:controller => 'account', :action => 'login'}, :if => Proc.new { !User.current.logged? }
|
|
|
|
|
menu.push :register, {:controller => 'account', :action => 'register'}, :if => Proc.new { !User.current.logged? && Setting.self_registration? }
|
|
|
|
|
# menu.push :my_account, { :controller => 'my', :action => 'account' }, :if => Proc.new { User.current.logged? }
|
|
|
|
|
menu.push :logout, {:controller => 'account', :action => 'logout'}, :html => {:method => 'post'}, :if => Proc.new { User.current.logged? }
|
|
|
|
|
menu.push :logout, {:controller => 'account', :action => 'logout'},: html => {:method => 'post'}, :if => Proc.new { User.current.logged? }
|
|
|
|
|
end
|
|
|
|
|
########fq
|
|
|
|
|
Redmine::MenuManager.map :bid_menu do |menu|
|
|
|
|
|