From 704ef2905ec06079fbc00a51eee942f37654d3d4 Mon Sep 17 00:00:00 2001 From: goodale Date: Sun, 17 Sep 2000 13:19:49 +0000 Subject: Added available options links to main page. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@36 1faa4e14-9dd3-4be0-9f0e-ffe519881164 --- src/Content.c | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'src/Content.c') diff --git a/src/Content.c b/src/Content.c index 993747a..2f22bac 100644 --- a/src/Content.c +++ b/src/Content.c @@ -347,6 +347,27 @@ static int MainPage(cGH *cctkGH, httpRequest *request, void *data) HTTP_Write(request, message, strlen(message)); + /*************************************************************************/ + + /* AVAILABLE OPTIONS */ + + if(ContentLinks) + { + strcpy(message, + "

Available options:

\n" + "\n",message); + HTTP_Write(request, message, strlen(message)); + } /* CONFIGURATION DETAILS */ @@ -478,7 +499,7 @@ static int RegisterParameterPages(void) HTTP_RegisterPage("/Parameters/index.html", MainParameterPage, NULL); HTTP_ContentLink("/Parameters/index.html", "Parameters", - "Parameter Informatiiona and Control", + "Parameter Information and Control", HTTP_QUICKLINK); for (i = 0; i < CCTK_NumCompiledThorns (); i++) -- cgit v1.2.3