diff options
Diffstat (limited to 't/post.t')
-rw-r--r-- | t/post.t | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -1,13 +1,16 @@ +<% #include "head.tc" %> <h1>Post <% printf("%d", id); %>: <%= post->subject %></h1> -<p>From: <%= user->full? user->full: "" %> <% -if(user->full) printf("<"); -%><a href="?user=<% printf("%d", user->id); %>"><%= user->name %></a><% -if(user->full) printf(">"); %> +<p>From: <%= user->full? user->full: "" %> +<% if(user->full) printf("<"); %><a href="?user=<% printf("%d", user->id); %>"><%= user->name %></a><% if(user->full) printf(">"); %> <br>Date: <% printdate(post->created); %> <% if(post->edited){ printf("<br>Edited: "); printdate(post->edited); } %> +<% if(post->parent){ %> +<br>In Reply To: <a href="?post=<% printf("%d", post->parent); %>"><% printf("%d", post->parent); %></a> +<% } %> <pre> <%= post->text %> -</pre>
\ No newline at end of file +</pre> +<% #include "foot.tc" %>
\ No newline at end of file |