% if @prefs.refresh != 0 -%>
;url=<%= request.request_uri %>">
<% end -%>
<%= javascript_include_tag "jquery-1.2.6.min" %>
<% bundle do %>
<%= javascript_include_tag *%w[
hoverIntent superfish prototype
effects dragdrop controls application
calendar calendar-en calendar-setup
accesskey-hints todo-items niftycube
protoload flashobject lowpro
] %>
<%= stylesheet_link_tag *%w[ standard superfish calendar-system niftyCorners] %>
<% end %>
<%= javascript_include_tag :unobtrusive %>
<%= stylesheet_link_tag "print", :media => "print" %>
<%= auto_discovery_link_tag(:rss, {:controller => "todos", :action => "index", :format => 'rss', :token => "#{current_user.token}"}, {:title => "RSS feed of next actions"}) %>
<%= @page_title %>
<% if @count -%>
<%= @count %>
<% end -%>
<%= user_time.strftime(@prefs.title_date_format) %>
<%= link_to_function("Toggle notes", nil, {:accesskey => "S", :title => "Toggle all notes", :id => "toggle-notes-nav"}) do |page|
page.select('body .todo_notes').each { |e| e.toggle }
end
-%> |
<%= link_to "Logout (#{current_user.display_name}) ยป", logout_path %>
<%= render_flash %>
<% unless @controller_name == 'feed' or session['noexpiry'] == "on" -%>
<%= periodically_call_remote( :url => {:controller => "login", :action => "check_expiry"},
:frequency => (5*60)) %>
<% end -%>
<%= periodically_call_remote( :url => formatted_check_deferred_todos_path(:js),
:method => :post,
:frequency => (10*60)) %>
<%= yield %>
<%= render :partial => "shared/footer" %>