(* COCANWIKI scripts.
* Written by Richard W.M. Jones <rich@merjis.com>.
* Copyright (C) 2004 Merjis Ltd.
- * $Id: edit_page_css_form.ml,v 1.3 2004/09/08 09:54:28 rich Exp $
+ * $Id: edit_page_css_form.ml,v 1.5 2004/09/09 09:35:33 rich Exp $
*)
open Apache
open Cocanwiki
open Cocanwiki_template
-let template = get_template "edit_page_css_form.html"
+let run r (q : cgi) (dbh : Dbi.connection) hostid _ _ =
+ let template = get_template dbh hostid "edit_page_css_form.html" in
-let run r (q : cgi) (dbh : Dbi.connection) (hostid, _, _) _ =
let page = q#param "page" in
let sth = dbh#prepare_cached "select css from pages