(* COCANWIKI scripts.
* Written by Richard W.M. Jones <rich@merjis.com>.
* Copyright (C) 2004 Merjis Ltd.
- * $Id: restore_form.ml,v 1.4 2004/09/08 09:54:28 rich Exp $
+ * $Id: restore_form.ml,v 1.6 2004/09/09 09:35:33 rich Exp $
*)
open Apache
open Cocanwiki_ok
open Cocanwiki_diff
-let template = get_template "restore_form.html"
+let run r (q : cgi) (dbh : Dbi.connection) hostid _ _ =
+ let template = get_template dbh hostid "restore_form.html" in
-let run r (q : cgi) (dbh : Dbi.connection) (hostid, _, _) _ =
(* Parameters. *)
let page = q#param "page" in
let old_version = int_of_string (q#param "version") in