diff options
-rw-r--r-- | src/Headers.c | 10 |
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); |