From d4573d829f586fe855eb8f6975ead78362d9272c Mon Sep 17 00:00:00 2001 From: schnetter Date: Wed, 24 Mar 2004 15:06:50 +0000 Subject: 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 --- src/Content.c | 18 +++++++++--------- src/Thorns.c | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src') 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
  • %d seconds\n",message,seconds); } - strcat(message,"
  • Parameter filename "); + strcat(message,"
  • Parameter filename "); 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, "

    Simulation:

    " - "
    • Flesh version %s" + "
      • Flesh version %s" "
      • \n" "
      • Flesh compiled on " __DATE__ " at "__TIME__ "
      • \n" @@ -1193,9 +1193,9 @@ static int ControlTerminationPage(const cGH *cctkGH, httpRequest *request) { sprintf(message, "

        Current state:

        " - "
        • Physical time %f" - " \n" - "
        • Iteration number %d" + "
          • Physical time %f" + "\n" + "
          • Iteration number %d" "
          • \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 " "red

            " - "
              "); + "
                \n"); for(i=0; i < nthorns; i++) { strcat(message, "
              • "); if (CCTK_IsThornActive(thorns[i])) { - sprintf(message,"%s %s \n", message, thorns[i]); + sprintf(message,"%s%s\n", message, thorns[i]); } else { - strcat(message, thorns[i]); + sprintf(message, "%s%s\n", message, thorns[i]); } } - strcat(message, "
              "); + strcat(message, "
            \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\n", message,thorn); HTTP_Write(request, message, strlen(message)); -- cgit v1.2.3