<% 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 -%> <%= current_user.time.strftime(@prefs.title_date_format) %>

<%= 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" %>