]> ruin.nu Git - yawbih.git/blobdiff - Main.hs
more cleanup
[yawbih.git] / Main.hs
diff --git a/Main.hs b/Main.hs
index 3fcb66788db970fcf0bc036539e124470858634e..4e9572cbaf0b246a96667069a304dab7c6acf549 100644 (file)
--- a/Main.hs
+++ b/Main.hs
@@ -18,8 +18,6 @@ main = do
        db <- testDB
        runWithHook [] (\(key:act) -> showPage db (filter (/= '\\') key)) $ showPage db "MainPage"
 
-ps a = standardQuery "Hello" a
-
 editPage db key = do 
        s <- io $ getCurrent db key 
        s' <- case s of
@@ -33,10 +31,7 @@ editPage db key = do
                p empty
                text "Comment: "
                c <- textInputField (fieldSIZE 20)
-               --p $ submit (F2 t a) testing (attr "value" "Send")
                p $ defaultSubmit (F3 t a c) (savePage db key) (attr "value" "Send")
-               --submit0 (sp db key []) (attr "value" "Send1")
-
 
 savePage db key (F3 t a c) = do
        io $ update db key fulltext author comment