0
- Logged in as <b><%= link_to h(current_user.login), user_path(current_user.id) %></b> |
0
- Last visit <%= time_ago_or_time_stamp(session[:online_at]) %>
0
- <% if %w(home categories topics forums).include?(current_controller) %>
0
- <%= link_to_function 'Start a New Topic', "$('action').toggle();$('topic_title').focus();" %>
0
- <% elsif current_controller == 'avatars' && %w(index).include?(current_action) %>
0
- <%= link_to_function 'Upload a New Avatar', "$('action').toggle();" %>
0
- <% elsif current_controller == "events" && %w(index).include?(current_action) %>
0
- <%= link_to_function 'Add a New Event', "$('action').toggle();$('event_title').focus();" %>
0
- <% elsif current_controller == 'headers' && %w(index).include?(current_action) %>
0
- <%= link_to_function 'Upload a New Header', "$('action').toggle();" %>
0
- <% elsif current_controller == "themes" && %w(index).include?(current_action) %>
0
- <%= link_to_function 'Upload a New Theme', "$('action').toggle();" %>
0
- <% elsif current_controller == "uploads" && %w(index).include?(current_action) %>
0
- <%= link_to_function 'Upload a New File', "$('action').toggle();" %>
0
- <% elsif current_controller == "users" && %w(index).include?(current_action) %>
0
- <%= link_to('Register a New User', new_user_path) %>
0
- <%= link_to_function 'Search', "$('search').toggle();$('query').focus();" %>
0
- <%= link_to('Logout', logout_path) %>
0
- <%= link_to('Register', register_path) %>
0
- <%= link_to('Login', login_path) %>
0
+ Logged in as <b><%= link_to h(current_user.login), user_path(current_user.id) %></b> |
0
+ Last visit <%= time_ago_or_time_stamp(session[:online_at]) %>
0
+ <% if %w(home categories topics forums).include?(current_controller) %>
0
+ <%= link_to_function 'Start a New Topic', "$('action').toggle();$('topic_title').focus();" %>
0
+ <% elsif current_controller == 'avatars' && %w(index).include?(current_action) %>
0
+ <%= link_to_function 'Upload a New Avatar', "$('action').toggle();" %>
0
+ <% elsif current_controller == "events" && %w(index).include?(current_action) %>
0
+ <%= link_to_function 'Add a New Event', "$('action').toggle();$('event_title').focus();" %>
0
+ <% elsif current_controller == 'headers' && %w(index).include?(current_action) %>
0
+ <%= link_to_function 'Upload a New Header', "$('action').toggle();" %>
0
+ <% elsif current_controller == "themes" && %w(index).include?(current_action) %>
0
+ <%= link_to_function 'Upload a New Theme', "$('action').toggle();" %>
0
+ <% elsif current_controller == "uploads" && %w(index).include?(current_action) %>
0
+ <%= link_to_function 'Upload a New File', "$('action').toggle();" %>
0
+ <% elsif current_controller == "users" && %w(index).include?(current_action) %>
0
+ <%= link_to('Register a New User', new_user_path) %>
0
+ <%= link_to_function 'Search', "$('search').toggle();$('query').focus();" %>
0
+ <%= link_to('Logout', logout_path) %>
0
+ <%= link_to('Register', register_path) %>
0
+ <%= link_to('Login', login_path) %>
0
<div style="clear:both"> </div>
0
\ No newline at end of file