aboutsummaryrefslogtreecommitdiff
path: root/src/Headers.c
diff options
context:
space:
mode:
authorallen <allen@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2000-09-21 16:06:47 +0000
committerallen <allen@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2000-09-21 16:06:47 +0000
commit9315ef0ed2bf451757ce32a9959c6a0f0aa3ed7e (patch)
tree763ceffdea0babf663ebbc2192a782ccc7e18b10 /src/Headers.c
parent0fef9f4b00faf1b635e05d5945e634740cd4fad6 (diff)
Made a separate file for Parameters.
Added an "On-Line" section at the bottom of the Menu (below any added in stuff from pages) which goes to the Cactus Homepage, the User Guide, and the Help Desk Added a little gif, not sure if I've improved the footer or not with that. G. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@79 1faa4e14-9dd3-4be0-9f0e-ffe519881164
Diffstat (limited to 'src/Headers.c')
-rw-r--r--src/Headers.c22
1 files changed, 17 insertions, 5 deletions
diff --git a/src/Headers.c b/src/Headers.c
index 95b3f93..d85bc36 100644
--- a/src/Headers.c
+++ b/src/Headers.c
@@ -64,10 +64,10 @@ static const char *cactus_footer =
"<tr><td align=left valign=top>"
"<ADDRESS><DIV ALIGN=left>\n"
"<SMALL>\n"
-"<A HREF=\"http://www.cactuscode.org/\">Cactus Home Page</A><BR>\n"
-"Cactus Web Interface by <A HREF=\"mailto:cactusmaint@cactuscode.org\">The Cactus Team</A><BR>\n"
+"<A HREF=\"www.cactuscode.org\"><IMG SRC=\"/Images/www.gif\" BORDER=0></A><BR>\n"
"</SMALL></DIV></ADDRESS>"
"</TD><TD ALIGN=RIGHT VALIGN=TOP><SMALL>"
+"Cactus Web Interface by <A HREF=\"mailto:cactusmaint@cactuscode.org\">The Cactus Team</A><BR>\n"
"<A HREF=\"/About.html\"><i>About this Server</i></A>"
"</SMALL></TD></TR></TABLE>"
"</BODY></HTML>\n";
@@ -126,8 +126,8 @@ int HTTP_ContentHeader(cGH *GH, int choice, int len, char *header, char *menu)
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");
+ "<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>"
@@ -136,7 +136,9 @@ int HTTP_ContentHeader(cGH *GH, int choice, int len, char *header, char *menu)
"<dt>Date: %s"
"</dl></small>",
header,currenttime,currentdate);
- sprintf(header,"%s <small><dl><dt><b>Simulation:</b>"
+ sprintf(header,
+ "%s <small><dl>"
+ "<dt><b>Simulation:</b>"
"<dt><i>%s</i>"
"<dt>Iteration: %d"
"<dt>Physical time: %4.2f"
@@ -155,6 +157,16 @@ int HTTP_ContentHeader(cGH *GH, int choice, int len, char *header, char *menu)
strcat(header,"</dt></small>");
}
+ /* Online links */
+ sprintf(header,"%s\n"
+ "<small><dl>"
+ "<dt><b>On-Line:</b>"
+ "<dt><A HREF=\"http://www.cactuscode.org\">Cactus Homepage</A>"
+ "<dt><A HREF=\"http://www.cactuscode.org/Documentation/UsersGuide/\">Users Guide</A>"
+ "<dt><A HREF=\"mailto:cactusmaint@cactuscode.org\">Cactus Helpdesk</A>\n"
+ "</dl></small>",
+ header,currenttime,currentdate);
+
strcat(header,"</td><td valign=top>\n");
}
else