aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorallen <allen@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2000-09-21 22:30:56 +0000
committerallen <allen@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2000-09-21 22:30:56 +0000
commit50c2ea89f7bc5dc457e9715a4dcb540d9647e489 (patch)
tree492a17396d5b8284fdc72fd12deb3dfb6db8f80e
parent3811dc9d89efee6124299fe024682cc6ed8fecdc (diff)
Par file name and now managed to really get the right URL for the users guide.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@82 1faa4e14-9dd3-4be0-9f0e-ffe519881164
-rw-r--r--src/Headers.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/Headers.c b/src/Headers.c
index 82cdc98..324136d 100644
--- a/src/Headers.c
+++ b/src/Headers.c
@@ -94,12 +94,13 @@ static const char *cactus_footer =
int HTTP_ContentHeader(cGH *GH, int choice, int len, char *header, char *menu)
{
char title[TITLE_ARRAY_SIZE];
+ char parfile[200];
char currentdate[50];
char currenttime[50];
char quicklinks[524];
struct httpLink *link;
- int titlelen,datelen,timelen;
+ int titlelen,datelen,timelen,parlen;
if(ContentLinks)
{
@@ -119,6 +120,7 @@ int HTTP_ContentHeader(cGH *GH, int choice, int len, char *header, char *menu)
{
/* Find strings needed for nonmain-page headers */
titlelen = CCTK_RunTitle(TITLE_ARRAY_SIZE,title);
+ parlen = CCTK_ParameterFilename(200,parfile);
datelen = Util_CurrentDate(50,currentdate);
timelen = Util_CurrentTime(50,currenttime);
@@ -140,10 +142,12 @@ int HTTP_ContentHeader(cGH *GH, int choice, int len, char *header, char *menu)
"%s <small><dl>"
"<dt><b>Simulation:</b>"
"<dt><i>%s</i>"
+ "<dt><tt>%s</tt>"
"<dt>Iteration: %d"
"<dt>Physical time: %4.2f"
"</dl>"
- ,header,title,GH ? GH->cctk_iteration : 0 , GH ? GH->cctk_time : 0);
+ ,header,title,parfile,
+ GH ? GH->cctk_iteration : 0 , GH ? GH->cctk_time : 0);
if (ContentLinks)
{
strcat(header,quicklinks);
@@ -162,7 +166,7 @@ int HTTP_ContentHeader(cGH *GH, int choice, int len, char *header, char *menu)
"<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/UsersGuide/\">Users Guide</A>\n"
+ "<dt><A HREF=\"http://www.cactuscode.org/Documentation/UsersGuide_html/\">Users Guide</A>\n"
"<dt><A HREF=\"mailto:cactusmaint@cactuscode.org\">Cactus Helpdesk</A>\n"
"</dl></small>\n",
header,currenttime,currentdate);