All new templates. Site menu displays basically everywhere.
[cocanwiki.git] / scripts / admin / edit_host_css_form.ml
index 815fe9c..aac3e58 100644 (file)
@@ -1,7 +1,7 @@
 (* COCANWIKI scripts.
  * Written by Richard W.M. Jones <rich@merjis.com>.
  * Copyright (C) 2004 Merjis Ltd.
- * $Id: edit_host_css_form.ml,v 1.1 2004/09/07 10:14:10 rich Exp $
+ * $Id: edit_host_css_form.ml,v 1.4 2004/09/09 09:35:35 rich Exp $
  *)
 
 open Apache
@@ -10,10 +10,11 @@ open Cgi
 open Printf
 
 open Cocanwiki
+open Cocanwiki_template
 
-let template = get_template "admin/edit_host_css_form.html"
+let template = _get_template "admin/edit_host_css_form.html"
 
-let run r (q : cgi) (dbh : Dbi.connection) _ _ =
+let run r (q : cgi) (dbh : Dbi.connection) _ _ =
   let hostid = int_of_string (q#param "hostid") in
   template#set "id" (string_of_int hostid);