All new templates. Site menu displays basically everywhere.
[cocanwiki.git] / scripts / hoststyle.ml
index 1253076..7a16885 100644 (file)
@@ -1,7 +1,7 @@
 (* COCANWIKI scripts.
  * Written by Richard W.M. Jones <rich@merjis.com>.
  * Copyright (C) 2004 Merjis Ltd.
- * $Id: hoststyle.ml,v 1.1 2004/09/07 10:14:09 rich Exp $
+ * $Id: hoststyle.ml,v 1.3 2004/09/09 09:35:33 rich Exp $
  *)
 
 open Apache
@@ -10,8 +10,9 @@ open Cgi
 open Printf
 
 open Cocanwiki
+open Cocanwiki_template
 
-let run r (q : cgi) (dbh : Dbi.connection) (hostid, _) _ =
+let run r (q : cgi) (dbh : Dbi.connection) hostid _ _ =
   (* Get the CSS. *)
   let sth = dbh#prepare_cached "select css from hosts where id = ?" in
   sth#execute [`Int hostid];