diff options
-rw-r--r-- | src/Content.c | 18 | ||||
-rw-r--r-- | src/Thorns.c | 2 |
2 files changed, 10 insertions, 10 deletions
diff --git a/src/Content.c b/src/Content.c index d284f39..2cf34a7 100644 --- a/src/Content.c +++ b/src/Content.c @@ -496,7 +496,7 @@ static int MainPage(const cGH *cctkGH, httpRequest *request, void *data) "%s <li><font color=red>%d</font> seconds\n",message,seconds); } - strcat(message,"</ul><li> Parameter filename <font color=red>"); + strcat(message,"</ul><li>Parameter filename <font color=red>"); HTTP_Write(request, message, strlen(message)); CCTK_ParameterFilename(4098,message); @@ -1152,7 +1152,7 @@ static int ControlTerminationPage(const cGH *cctkGH, httpRequest *request) /* CONFIGURATION DETAILS */ sprintf(message, "<h3>Simulation:</h3>" - "<ul> <li>Flesh version <FONT COLOR=RED> %s" + "<ul><li>Flesh version <FONT COLOR=RED>%s" "</FONT></li>\n" "<li>Flesh compiled on <FONT COLOR=RED>" __DATE__ "</FONT> at <FONT COLOR=RED>"__TIME__ "</font></li>\n" @@ -1193,9 +1193,9 @@ static int ControlTerminationPage(const cGH *cctkGH, httpRequest *request) { sprintf(message, "<H3> Current state:</h3> " - "<ul><li>Physical time <FONT COLOR=RED> %f" - "</FONT> \n" - "<li>Iteration number <FONT COLOR=RED> %d" + "<ul><li>Physical time <FONT COLOR=RED>%f" + "</FONT>\n" + "<li>Iteration number <FONT COLOR=RED>%d" "</FONT></li>\n", cctkGH->cctk_time, cctkGH->cctk_iteration); @@ -1239,21 +1239,21 @@ static int ControlTerminationPage(const cGH *cctkGH, httpRequest *request) "those thorns which have been activated in the parameter " "file for this simulation are shown in " "<font color=red>red</font></p>" - "<UL>"); + "<UL>\n"); for(i=0; i < nthorns; i++) { strcat(message, "<LI>"); if (CCTK_IsThornActive(thorns[i])) { - sprintf(message,"%s <FONT COLOR=red> %s </FONT>\n", message, thorns[i]); + sprintf(message,"%s<FONT COLOR=red>%s</FONT>\n", message, thorns[i]); } else { - strcat(message, thorns[i]); + sprintf(message, "%s%s\n", message, thorns[i]); } } - strcat(message, "</UL>"); + strcat(message, "</UL>\n"); free(thorns); } diff --git a/src/Thorns.c b/src/Thorns.c index 6f54b61..7394998 100644 --- a/src/Thorns.c +++ b/src/Thorns.c @@ -292,7 +292,7 @@ static int ThornPage(const cGH *cctkGH, httpRequest *request, void *data) thorn); sprintf(message,"%s<UL>\n" - "<LI> <A HREF=\"/Parameters/%s\">Parameters</A>\n" + "<LI><A HREF=\"/Parameters/%s\">Parameters</A>\n" "</UL>\n", message,thorn); HTTP_Write(request, message, strlen(message)); |