Logging in and logging out.
[cocanwiki.git] / scripts / edit.ml
index d86815c..c00c79d 100644 (file)
@@ -1,7 +1,7 @@
 (* COCANWIKI scripts.
  * Written by Richard W.M. Jones <rich@merjis.com>.
  * Copyright (C) 2004 Merjis Ltd.
- * $Id: edit.ml,v 1.1 2004/09/07 10:14:09 rich Exp $
+ * $Id: edit.ml,v 1.3 2004/09/07 14:58:34 rich Exp $
  *)
 
 open Apache
@@ -11,12 +11,12 @@ open Printf
 
 open ExtString
 
-open Merjisforwiki
-
 open Cocanwiki
+open Cocanwiki_template
 open Cocanwiki_ok
 open Cocanwiki_emailnotify
 open Cocanwiki_diff
+open Cocanwiki_strings
 
 let template = get_template "edit.html"
 let template_conflict = get_template "edit_conflict.html"
@@ -33,7 +33,7 @@ type model_t = {
                                         * for each section. *)
 }
 
-let run r (q : cgi) (dbh : Dbi.connection) (hostid, hostname) _ =
+let run r (q : cgi) (dbh : Dbi.connection) (hostid, hostname, _) _ =
   (* Workaround bugs in IE, specifically lack of support for <button>
    * elements.
    *)