aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorschnetter <schnetter@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2004-03-24 15:06:50 +0000
committerschnetter <schnetter@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2004-03-24 15:06:50 +0000
commitd4573d829f586fe855eb8f6975ead78362d9272c (patch)
treeabf5d95a0bac18ccacc878a8c372149c7679421a /src
parent79bf9e0d08dfd44dbcf47f8f947db986f685e8b4 (diff)
Improve formatting by removing superfluous blanks from web pages.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@182 1faa4e14-9dd3-4be0-9f0e-ffe519881164
Diffstat (limited to 'src')
-rw-r--r--src/Content.c18
-rw-r--r--src/Thorns.c2
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));