> <% if logged_in? %>
" alt="<%= current_user.name %> Icon-Photo" title="" height="20" border="0"/> <%= _("%s's Menu") % current_user.person.short_name %>
<% else %> <% if theme_option( :menu_login ) == 'full_form' %> <%= render :file => 'account/login_block' %> <% else # theme_option( :menu_login ) != 'full_form' %> <%= thickbox_inline_popup_link(''+ _('Login'), 'inlineLoginBox', :id => 'link_login', :help => _('Click here to enter your username and password and be recognized by the system.')) %> <% end # theme_option( :menu_login ) != 'full_form' %> <% end %>
<%= javascript_tag 'setAutoOpenMenu( $("user_menu") )' if theme_option( :menu_login ) != 'full_form' %>