diff options
Diffstat (limited to 'src/Parameters.c')
-rw-r--r-- | src/Parameters.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/Parameters.c b/src/Parameters.c index 3348494..55f0e98 100644 --- a/src/Parameters.c +++ b/src/Parameters.c @@ -216,17 +216,17 @@ static int MainParameterPage(const cGH *cctkGH, httpRequest *request, void *data HTTP_Send(request, "<h1>Check/Modify Parameters</h1>\n" "<p>From this page you can check the values of all parameters for \n" - "the simulation, and modify any parameters which have been \n" - "designated as <i>steerable</i></p>\n" + "the simulation, and modify any parameters which have been \n" + "designated as <i>steerable</i></p>\n" "<p>Parameters can be viewed for all <i>Active Thorns</i>, that is,\n" "for thorns which have been activated in the parameter file for the\n" " simulation. \n" "Select one of the active thorns for this simulation from the list \n" - "below to view all of its parameters</p>\n" + "below to view all of its parameters</p>\n" "<p>Steerable parameters can be identified by the presence of a \n" - "form input box, to change the value of a parameter, simply edit \n" - "the value in the box and press the submit button to register the \n" - "new values.</p>\n" + "form input box, to change the value of a parameter, simply edit \n" + "the value in the box and press the submit button to register the \n" + "new values.</p>\n" "<div class=\"centered\">\n" "<table cellspacing=\"5\" cellpadding=\"5\">\n" "<tr><th>Thorn Name</th><th>Implementation</th></tr>\n"); @@ -313,10 +313,10 @@ static int ThornParameterPage(const cGH *cctkGH, httpRequest *request, void *dat { first = 0; fprintf(stderr, "Setting %s::%s to %s\n", thorn, - HTTP_ArgName( argument), - HTTP_ArgValue( argument )); + HTTP_ArgName( argument), + HTTP_ArgValue( argument )); HTTP_SteerQueue(thorn, HTTP_ArgName( argument), - HTTP_ArgValue( argument )); + HTTP_ArgValue( argument )); } } SendHTTP_Redirect_Header( request ); @@ -401,7 +401,7 @@ static int ThornParameterPage(const cGH *cctkGH, httpRequest *request, void *dat "<h2>Thorn "); ConcatCString(message, thorn); ConcatCString(message, - "</h2>\n"); + "</h2>\n"); ConcatCString(message, "<p>Parameters in Cactus can be either <dfn>fixed</dfn> or <dfn>steerable</dfn>. \n" "Steerable parameters are those which can be modified during a simulation.\n" @@ -700,7 +700,7 @@ static int ParameterPage(const cGH *cctkGH, httpRequest *request, void *data) char *value; char user[USER_LENGTH+1] = EMPTYSTRING; int notauthorised = HTTP_AuthenticateBasic(request, "user", user, - USER_LENGTH); + USER_LENGTH); int readonly = notauthorised; if(HTTP_NumArguments( request ) > 0) @@ -718,10 +718,10 @@ static int ParameterPage(const cGH *cctkGH, httpRequest *request, void *data) { first = 0; fprintf(stderr, "Setting %s::%s to %s\n", pData->thorn, - HTTP_ArgName( argument), - HTTP_ArgValue( argument )); + HTTP_ArgName( argument), + HTTP_ArgValue( argument )); HTTP_SteerQueue(pData->thorn, HTTP_ArgName( argument), - HTTP_ArgValue( argument )); + HTTP_ArgValue( argument )); } } SendHTTP_Redirect_Header( request ); @@ -799,9 +799,9 @@ static int ParameterPage(const cGH *cctkGH, httpRequest *request, void *data) "<div class=\"centered\">Return to all parameters for this \n" "<a href=\"Parameters/"); ConcatCString(message, - CCTK_ThornImplementation(pData->thorn)); + CCTK_ThornImplementation(pData->thorn)); ConcatCString(message, - "\">thorn</a>.</div> "); + "\">thorn</a>.</div> "); HTTP_SendString(request, message); @@ -815,7 +815,7 @@ static int ParameterPage(const cGH *cctkGH, httpRequest *request, void *data) { SetToCString(message,"<div class=\"centered\">\n" - "<table class=\"thornparams\" cellpadding=\"5\" cellspacing=\"5\" " + "<table class=\"thornparams\" cellpadding=\"5\" cellspacing=\"5\" " " border=\"1\">\n" ); ConcatCString(message, "<tr>\n<th>Name:</th>\n<td>"); ConcatCString(message, pData->name); |