gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r20539 - gnunet/src/gns


From: gnunet
Subject: [GNUnet-SVN] r20539 - gnunet/src/gns
Date: Thu, 15 Mar 2012 16:46:37 +0100

Author: grothoff
Date: 2012-03-15 16:46:37 +0100 (Thu, 15 Mar 2012)
New Revision: 20539

Modified:
   gnunet/src/gns/gnunet-gns-fcfsd.c
Log:
-clean up HTML

Modified: gnunet/src/gns/gnunet-gns-fcfsd.c
===================================================================
--- gnunet/src/gns/gnunet-gns-fcfsd.c   2012-03-15 15:32:24 UTC (rev 20538)
+++ gnunet/src/gns/gnunet-gns-fcfsd.c   2012-03-15 15:46:37 UTC (rev 20539)
@@ -37,17 +37,17 @@
 /**
  * Invalid method page.
  */
-#define METHOD_ERROR "<html><head><title>Illegal 
request</title></head><body>Go away.</body></html>"
+#define METHOD_ERROR "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 
Transitional//EN\" 
\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\";><html lang=\"en\" 
xmlns=\"http://www.w3.org/1999/xhtml\";><html><head><title>Illegal 
request</title></head><body>Go away.</body></html>"
 
 /**
  * Front page. (/)
  */
-#define MAIN_PAGE "<html><head><title>Welcome</title></head><body><form 
action=\"/S\" method=\"post\">What is your desired domain name? <input 
type=\"text\" name=\"domain\" /> <p> What is your public key? <input 
type=\"text\" name=\"pkey\" /> <input type=\"submit\" value=\"Next\" 
/></body></html>"
+#define MAIN_PAGE "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 
Transitional//EN\" 
\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\";><html lang=\"en\" 
xmlns=\"http://www.w3.org/1999/xhtml\";><html><head><title>GNUnet FCFS Authority 
Name Registration Service</title></head><body><form action=\"/S\" 
method=\"post\">What is your desired domain name? <input type=\"text\" 
name=\"domain\" /> <p> What is your public key? <input type=\"text\" 
name=\"pkey\" /> <input type=\"submit\" value=\"Next\" /></body></html>"
 
 /**
  * Second page (/S)
  */
-#define SUBMIT_PAGE 
"<html><head><title>%s</title></head><body>%s</body></html>"
+#define SUBMIT_PAGE "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 
Transitional//EN\" 
\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\";><html lang=\"en\" 
xmlns=\"http://www.w3.org/1999/xhtml\";><html><head><title>%s</title></head><body>%s</body></html>"
 
 /**
  * Mime type for HTML pages.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]