summaryrefslogtreecommitdiff
path: root/lib/Message.cc
diff options
context:
space:
mode:
authorpixel <pixel>2004-11-27 21:46:02 +0000
committerpixel <pixel>2004-11-27 21:46:02 +0000
commitae2779e504ca5ae11a87e047b4536a5f428cce4d (patch)
tree19604ce1873e9cc98be9b840b894cb7eae341532 /lib/Message.cc
parent583964f9f8e954eb57b31663065c5b9e833d045e (diff)
Large dos2unix commit...
Diffstat (limited to 'lib/Message.cc')
-rw-r--r--lib/Message.cc60
1 files changed, 30 insertions, 30 deletions
diff --git a/lib/Message.cc b/lib/Message.cc
index 1a381da..5cb8859 100644
--- a/lib/Message.cc
+++ b/lib/Message.cc
@@ -1,30 +1,30 @@
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-#include "HttpServ.h"
-#include "Message.h"
-#include "Buffer.h"
-#include "CopyJob.h"
-
-Message::Message(const String & t, const String & m, const String & U, Action * n) :
- Action(U), tit(t), msg(m), Next(n) { }
-
-Task * Message::Do(Variables * v, Variables *, Handle * h) {
- Handle * b = new Buffer();
- Task * t = new CopyJob(b, h, -1, true);
-
- SendHead(b);
- (*b) << msg << "<CENTER><FORM METHOD=\"POST\" ACTION=\"/bin/" << (Next ? Next->GetURL() : "start") << "\">" << endnl <<
- "<INPUT TYPE=\"SUBMIT\" VALUE=\" Ok \">" << endnl;
- v->Dump(b);
- (*b) << "</FORM></CENTER>" << endnl;
- SendFoot(b);
-
- Accessed();
-
- return t;
-}
-
-String Message::GetTitle(void) {
- return tit;
-}
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+#include "HttpServ.h"
+#include "Message.h"
+#include "Buffer.h"
+#include "CopyJob.h"
+
+Message::Message(const String & t, const String & m, const String & U, Action * n) :
+ Action(U), tit(t), msg(m), Next(n) { }
+
+Task * Message::Do(Variables * v, Variables *, Handle * h) {
+ Handle * b = new Buffer();
+ Task * t = new CopyJob(b, h, -1, true);
+
+ SendHead(b);
+ (*b) << msg << "<CENTER><FORM METHOD=\"POST\" ACTION=\"/bin/" << (Next ? Next->GetURL() : "start") << "\">" << endnl <<
+ "<INPUT TYPE=\"SUBMIT\" VALUE=\" Ok \">" << endnl;
+ v->Dump(b);
+ (*b) << "</FORM></CENTER>" << endnl;
+ SendFoot(b);
+
+ Accessed();
+
+ return t;
+}
+
+String Message::GetTitle(void) {
+ return tit;
+}