All new templates. Site menu displays basically everywhere.
[cocanwiki.git] / scripts / edit_user_form.ml
index 7a2e63f..d98ed42 100644 (file)
@@ -1,7 +1,7 @@
 (* COCANWIKI scripts.
  * Written by Richard W.M. Jones <rich@merjis.com>.
  * Copyright (C) 2004 Merjis Ltd.
- * $Id: edit_user_form.ml,v 1.1 2004/09/08 12:45:38 rich Exp $
+ * $Id: edit_user_form.ml,v 1.3 2004/09/09 09:35:33 rich Exp $
  *)
 
 open Apache
@@ -13,9 +13,9 @@ open Cocanwiki
 open Cocanwiki_template
 open Cocanwiki_date
 
-let template = get_template "edit_user_form.html"
+let run r (q : cgi) (dbh : Dbi.connection) hostid _ _ =
+  let template = get_template dbh hostid "edit_user_form.html" in
 
-let run r (q : cgi) (dbh : Dbi.connection) (hostid, _, _) _ =
   let userid = int_of_string (q#param "userid") in
 
   let sth =