pkg://ja-tdiary-2.0.2_1.tbz:1900500/
share/
examples/
tdiary/
skel/i.diary.rhtml
downloads
<%# i.diary.rhtml $Revision: 1.11 $ %>
<H2><%= @date.strftime( opt['date_format'] ) %> <%= title %></H2>
<%%= body_enter_proc( Time::at( <%=@date.to_i%> ) ) %>
<%= to_html( opt, :CHTML ) %>
<%%= body_leave_proc( Time::at( <%=@date.to_i%> ) ) %><%
if opt['show_comment'] and count_comments > 0 then
idx = 0 %>
<P><%%=comment_today%><%%=comment_total( <%=count_comments%> )%>:<BR><%
each_comment(opt['comment_limit'] ) do |comment|
if comment.visible? %>
<A NAME="c<%= '%02d' % idx += 1 %>">#</A>
<%= CGI::escapeHTML( comment.name ) %> [<%= comment.shorten( 200 ).make_link %>]<BR><%
else
idx += 1
end
end %></P>
<%
end %>