diff options
Diffstat (limited to 't/post.t')
-rw-r--r-- | t/post.t | 16 |
1 files changed, 4 insertions, 12 deletions
@@ -13,24 +13,16 @@ <pre> <%= post->text %> </pre> -<% -if(attachment = getattachment(stmt, 0)){ -%> +<% if(attachment = getattachment(stmt, 0)){ %> <h3>Attachments</h3> <table border="1"> - <% - do{ - %> + <% do{ %> <tr> <td><a href="?attachment=<% printf("%d", attachment->id); %>"><%= attachment->name %></a></td> <td><%= attachment->mime %></td> <td><%= attachment->description %></td> </tr> - <% - }while(attachment = getattachment(stmt, 0)); - %> + <% }while(attachment = getattachment(stmt, 0)); %> </table> -<% -} -%> +<% } %> <% #include "foot.tc" %>
\ No newline at end of file |