All new templates. Site menu displays basically everywhere.
[cocanwiki.git] / scripts / edit_page_css_form.ml
index ec9ff2f..ac8082d 100644 (file)
@@ -1,7 +1,7 @@
 (* 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
@@ -12,9 +12,9 @@ open Printf
 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