From ae9b583b9575679f129680a0f56163fdb6590052 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sat, 18 Sep 2021 10:37:45 +0200 Subject: Clean up --- t/post.tc | 54 ------------------------------------------------------ 1 file changed, 54 deletions(-) delete mode 100644 t/post.tc (limited to 't/post.tc') diff --git a/t/post.tc b/t/post.tc deleted file mode 100644 index 4453246..0000000 --- a/t/post.tc +++ /dev/null @@ -1,54 +0,0 @@ -#include "head.tc" -printf("\n

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

\n

From: "); -printf("%s", user->full? user->full: "" ); -printf("\n"); -if(user->full) printf("<"); -printf("id); -printf("\">"); -printf("%s", user->name ); -printf(""); -if(user->full) printf(">"); -printf("\n
Date: "); -printdate(post->created); -printf("\n"); -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
\n"); -if(attachment = getattachment(stmt, 0)){ - -printf("\n

Attachments

\n\n "); - do{ - -printf("\n \n \n \n \n \n "); - }while(attachment = getattachment(stmt, 0)); - -printf("\n
id); -printf("\">"); -printf("%s", attachment->name ); -printf(""); -printf("%s", attachment->mime ); -printf(""); -printf("%s", attachment->description ); -printf("
\n"); -} - -printf("\n"); -#include "foot.tc" -- cgit v1.2.3