aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorallen <allen@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2000-09-22 06:17:35 +0000
committerallen <allen@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2000-09-22 06:17:35 +0000
commite928667618a0dd810ee1bb29a7c1b35268fb40f6 (patch)
tree66b0507350549a04fe46633e497f2be6fdd1e7fa
parent50c2ea89f7bc5dc457e9715a4dcb540d9647e489 (diff)
New window for external links
git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@83 1faa4e14-9dd3-4be0-9f0e-ffe519881164
-rw-r--r--src/Headers.c45
1 files 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,
- "</HEAD>\n<BODY BGCOLOR=\"#FFFFFF\" link=\"#1B831D\" "
- "vlink=\"#768000\" alink=\"#00FF00\">\n"
- "<center>\n<table cellpadding=10 width=100%% border=0>\n"
- "<tr>\n<td bgcolor=#E5FFA2 valign=top align=left width=20%%>\n");
+ "</HEAD>\n"
+ "<BODY BGCOLOR=\"#FFFFFF\" link=\"#1B831D\" "
+ "vlink=\"#768000\" alink=\"#00FF00\">\n"
+ "<center>\n"
+ "<table cellpadding=10 width=100%% border=0>\n"
+ "<tr>\n"
+ "<td bgcolor=#E5FFA2 valign=top align=left width=20%%>\n");
strcat(header, "<A HREF=\"/\">Master Run Page</A>\n");
sprintf(header,"%s\n"
- "<small><dl>"
- "<dt><b>Environment:</b>"
- "<dt>Time: %s"
- "<dt>Date: %s"
- "</dl></small>",
+ "<small>\n<dl>\n"
+ "<dt><b>Environment:</b>\n"
+ "<dt>Time: %s\n"
+ "<dt>Date: %s\n"
+ "</dl></small>\n",
header,currenttime,currentdate);
sprintf(header,
- "%s <small><dl>"
- "<dt><b>Simulation:</b>"
- "<dt><i>%s</i>"
- "<dt><tt>%s</tt>"
- "<dt>Iteration: %d"
- "<dt>Physical time: %4.2f"
- "</dl>"
+ "%s <small><dl>\n"
+ "<dt><b>Simulation:</b>\n"
+ "<dt><i>%s</i>\n"
+ "<dt><tt>%s</tt>\n"
+ "<dt>Iteration: %d\n"
+ "<dt>Physical time: %4.2f\n"
+ "</dl>\n"
,header,title,parfile,
GH ? GH->cctk_iteration : 0 , GH ? GH->cctk_time : 0);
if (ContentLinks)
{
strcat(header,quicklinks);
}
- strcat(header,"</small>");
+ strcat(header,"</small>\n");
if (menu)
{
- strcat(header,"<dl><small>");
+ strcat(header,"<dl><small>\n");
strcat(header,menu);
- strcat(header,"</dl></small>");
+ strcat(header,"</dl></small>\n");
}
/* Online links */
sprintf(header,"%s\n"
"<small><dl>"
"<dt><b>On-Line:</b>\n"
- "<dt><A HREF=\"http://www.cactuscode.org\">Cactus Homepage</A>\n"
- "<dt><A HREF=\"http://www.cactuscode.org/Documentation/UsersGuide_html/\">Users Guide</A>\n"
+ "<dt><A HREF=\"http://www.cactuscode.org\" TARGET=\"newpage\">Cactus Homepage</A>\n"
+ "<dt><A HREF=\"http://www.cactuscode.org/Documentation/UsersGuide_html/\" TARGET=\"newpage\">Users Guide</A>\n"
"<dt><A HREF=\"mailto:cactusmaint@cactuscode.org\">Cactus Helpdesk</A>\n"
"</dl></small>\n",
header,currenttime,currentdate);