<%= @web.name %> <%= "#{@web_url}/show/HomePage" %> Pimki - a PIM based on Instiki's wiki technology en-us 40 <% if @display_todo FAR_FUTURE = Date.new(4000,1,1) %> <% @todo_items.each do |page, items| %> <%= page.plain_name %>
    <% items.each do |item| %>
  • <%= x = "[#{item.context.join(', ') unless item.context.empty?}#{ " - " unless item.context.empty? or item.due_date == FAR_FUTURE}#{item.due_date unless item.due_date == FAR_FUTURE }]" x unless x == "[]" %>
    <%= item.text.strip.gsub(/<.*?>/, '') %>
  • <% end %>
<%= "#{@web_url}/show/#{page.name}" %> <%= "#{@web_url}/show/#{page.name}" %> <%= WikiWords.separate(page.author) %>
<% end %> <% @bliki_todo_items.each do |page, items| %> <%= page.plain_name %>
    <% items.each do |item| %> <%= x = "[#{item.context.join(', ') unless item.context.empty?}#{ " - " if not item.context.empty? or item.due_date == FAR_FUTURE}#{item.due_date unless item.due_date == FAR_FUTURE }]
    " x unless x == "[]
    " %>
    <%= item.text.strip.gsub(/<.*?>/, '') %> <% end %>
<%= ctime = entry.created_at; ctime.strftime "%a, %e %b %Y %H:%M:%S #{ctime.gmt_offset/3600}" %> <%= "#{@web_url}/bliki_revision/#{entry.name}?rev=#{entry.revisions.length-1}" %> <%= "#{@web_url}/bliki_revision/#{entry.name}?rev=#{entry.revisions.length-1}" %> <%= WikiWords.separate(entry.author) %>
<% end %> <% else %> <% for entry in @bliki_entries %> Bliki: <%= entry.plain_name %> <% unless @hide_description %> <%= CGI.escapeHTML(entry.display_content) %> <% end %> <%= ctime = entry.created_at; ctime.strftime "%a, %e %b %Y %H:%M:%S #{ctime.gmt_offset/3600}" %> <%= "#{@web_url}/bliki_revision/#{entry.name}?rev=#{entry.revisions.length-1}" %> <%= "#{@web_url}/bliki_revision/#{entry.name}?rev=#{entry.revisions.length-1}" %> <%= WikiWords.separate(entry.author) %> <% end %> <% for page in @pages_by_revision %> <%= page.plain_name %> <% unless @hide_description %> <%= CGI.escapeHTML(page.display_content) %> <% end %> <%= ctime = page.created_at; ctime.strftime "%a, %e %b %Y %H:%M:%S #{ctime.gmt_offset/3600}" %> <%= "#{@web_url}/show/#{page.name}" %> <%= "#{@web_url}/show/#{page.name}" %> <%= WikiWords.separate(page.author) %> <% end %> <% end %>