From 9315ef0ed2bf451757ce32a9959c6a0f0aa3ed7e Mon Sep 17 00:00:00 2001 From: allen Date: Thu, 21 Sep 2000 16:06:47 +0000 Subject: 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 --- src/Headers.c | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) (limited to 'src/Headers.c') 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 = "" "
\n" "\n" -"Cactus Home Page
\n" -"Cactus Web Interface by The Cactus Team
\n" +"
\n" "
" "" +"Cactus Web Interface by The Cactus Team
\n" "About this Server" "
" "\n"; @@ -126,8 +126,8 @@ int HTTP_ContentHeader(cGH *GH, int choice, int len, char *header, char *menu) sprintf( header, "\n\n" - "
\n\n" - "\n
\n"); + "
\n\n" + "\n
\n"); strcat(header, "Master Run Page\n"); sprintf(header,"%s\n" "
" @@ -136,7 +136,9 @@ int HTTP_ContentHeader(cGH *GH, int choice, int len, char *header, char *menu) "
Date: %s" "
", header,currenttime,currentdate); - sprintf(header,"%s
Simulation:" + sprintf(header, + "%s
" + "
Simulation:" "
%s" "
Iteration: %d" "
Physical time: %4.2f" @@ -155,6 +157,16 @@ int HTTP_ContentHeader(cGH *GH, int choice, int len, char *header, char *menu) strcat(header,"
"); } + /* Online links */ + sprintf(header,"%s\n" + "
" + "
On-Line:" + "
Cactus Homepage" + "
Users Guide" + "
Cactus Helpdesk\n" + "
", + header,currenttime,currentdate); + strcat(header,"
\n"); } else -- cgit v1.2.3