<% if @prefs.refresh != 0 -%> ;url=<%= request.request_uri %>"> <% end -%> <% bundle :name => "tracks_css" do %> <%= stylesheet_link_tag *%w[ standard superfish niftyCorners jquery-ui jquery.autocomplete] %> <% end %> <%= stylesheet_link_tag "print", :media => "print" %> <% bundle :name => "jquery" do %> <%= javascript_include_tag 'jquery' %> <%= javascript_include_tag 'jquery-ui' %> <%= javascript_include_tag 'jquery.cookie' %> <%= javascript_include_tag 'jquery.blockUI' %> <%= javascript_include_tag 'jquery.jeditable' %> <%= javascript_include_tag 'jquery.autocomplete' %> <% end %> <% bundle :name => "tracks_js" do %> <%= javascript_include_tag *%w[ hoverIntent superfish application accesskey-hints niftycube flashobject ] %> <% end %> <%= javascript_tag "var AUTH_TOKEN = #{form_authenticity_token.inspect};" if protect_against_forgery? %> <%= javascript_tag "var SOURCE_VIEW = '#{@source_view}';" %> <%= javascript_tag "var TAG_NAME = '#{@tag_name}';" if @tag_name %> <%= 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" %>