From e928667618a0dd810ee1bb29a7c1b35268fb40f6 Mon Sep 17 00:00:00 2001 From: allen Date: Fri, 22 Sep 2000 06:17:35 +0000 Subject: New window for external links git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@83 1faa4e14-9dd3-4be0-9f0e-ffe519881164 --- src/Headers.c | 45 ++++++++++++++++++++++++--------------------- 1 file changed, 24 insertions(+), 21 deletions(-) diff --git a/src/Headers.c b/src/Headers.c index 324136d..35eb766 100644 --- a/src/Headers.c +++ b/src/Headers.c @@ -126,47 +126,50 @@ int HTTP_ContentHeader(cGH *GH, int choice, int len, char *header, char *menu) /* Build the header */ sprintf( header, - "\n\n" - "
\n\n" - "\n
\n"); + "\n" + "\n" + "
\n" + "\n" + "\n" + "
\n"); strcat(header, "Master Run Page\n"); sprintf(header,"%s\n" - "
" - "
Environment:" - "
Time: %s" - "
Date: %s" - "
", + "\n
\n" + "
Environment:\n" + "
Time: %s\n" + "
Date: %s\n" + "
\n", header,currenttime,currentdate); sprintf(header, - "%s
" - "
Simulation:" - "
%s" - "
%s" - "
Iteration: %d" - "
Physical time: %4.2f" - "
" + "%s
\n" + "
Simulation:\n" + "
%s\n" + "
%s\n" + "
Iteration: %d\n" + "
Physical time: %4.2f\n" + "
\n" ,header,title,parfile, GH ? GH->cctk_iteration : 0 , GH ? GH->cctk_time : 0); if (ContentLinks) { strcat(header,quicklinks); } - strcat(header,"
"); + strcat(header,"
\n"); if (menu) { - strcat(header,"
"); + strcat(header,"
\n"); strcat(header,menu); - strcat(header,"
"); + strcat(header,"
\n"); } /* Online links */ sprintf(header,"%s\n" "
" "
On-Line:\n" - "
Cactus Homepage\n" - "
Users Guide\n" + "
Cactus Homepage\n" + "
Users Guide\n" "
Cactus Helpdesk\n" "
\n", header,currenttime,currentdate); -- cgit v1.2.3