summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Main.cc24
1 files changed, 11 insertions, 13 deletions
diff --git a/src/Main.cc b/src/Main.cc
index e945075..ecec54e 100644
--- a/src/Main.cc
+++ b/src/Main.cc
@@ -135,21 +135,19 @@ Action * a3 = new Message("Test d'image",
Action * a4 = new Form("Test de formulaire...", "menu4", "Rentrez des trucs...", Noms, Invites, Defaults, Lists, Descs, 3);
Action * a5 = new Confirm("Confirmation", "Oui ou non?", "menu5", 0, 0);
Action * java = new Message("Applet JAVA",
-"
-<center>
-<APPLET CODE = \"TestApplet.class\" CODEBASE =\"/image\" WIDTH = 400 HEIGHT = 50>
-</APPLET>
-</center>
-", "java");
+"\n"
+"<center>\n"
+"<APPLET CODE = \"TestApplet.class\" CODEBASE =\"/image\" WIDTH = 400 HEIGHT = 50>\n"
+"</APPLET>\n"
+"</center>\n", "java");
Action * up = new Message("Test d'upload",
-"
-<FORM ENCTYPE=\"multipart/form-data\" ACTION=\"/bin/start\" METHOD=POST>
-<INPUT TYPE=\"hidden\" name=\"MAX_FILE_SIZE\" value=\"1000\">
-Send this file: <INPUT NAME=\"userfile\" TYPE=\"file\">
-<INPUT TYPE=\"submit\" VALUE=\"Send File\">
-</FORM>
-", "upload");
+"\n"
+"<FORM ENCTYPE=\"multipart/form-data\" ACTION=\"/bin/start\" METHOD=POST>\n"
+"<INPUT TYPE=\"hidden\" name=\"MAX_FILE_SIZE\" value=\"1000\">\n"
+"Send this file: <INPUT NAME=\"userfile\" TYPE=\"file\">\n"
+"<INPUT TYPE=\"submit\" VALUE=\"Send File\">\n"
+"</FORM>\n", "upload");
Action * stop = new Confirm("Stopper", "Stopper le serveur?", "stop", dostop, 0);