From 7d65ce8c8e304dc8367f4492948514f2acc07a3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Fri, 17 Sep 2021 23:47:58 +0200 Subject: Whatever --- t/post.tc | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 't/post.tc') diff --git a/t/post.tc b/t/post.tc index 732f0a7..9207de5 100644 --- a/t/post.tc +++ b/t/post.tc @@ -1,12 +1,12 @@ -printf("

Post "); +#include "head.tc" +printf("\n

Post "); printf("%d", id); printf(": "); printf("%s", post->subject ); printf("

\n

From: "); printf("%s", user->full? user->full: "" ); -printf(" "); -if(user->full) printf("<"); - +printf("\n"); +if(user->full) printf("<"); printf("id); printf("\">"); @@ -20,6 +20,15 @@ if(post->edited){ printf("
Edited: "); printdate(post->edited); } +printf("\n"); +if(post->parent){ +printf("\n
In Reply To:
parent); +printf("\">"); +printf("%d", post->parent); +printf("\n"); +} printf("\n

\n");
 printf("%s",  post->text );
-printf("\n
"); +printf("\n\n"); +#include "foot.tc" -- cgit v1.2.3