(* 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.2 2004/09/07 13:40:10 rich Exp $
*)
open Apache
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];