(* COCANWIKI scripts.
* Written by Richard W.M. Jones <rich@merjis.com>.
* Copyright (C) 2004 Merjis Ltd.
- * $Id: host.ml,v 1.2 2004/09/07 13:40:10 rich Exp $
+ * $Id: host.ml,v 1.5 2004/09/09 09:35:35 rich Exp $
*)
open Apache
open Cgi
open Printf
-open Merjisforwiki
-
open Cocanwiki
open Cocanwiki_template
+open Cocanwiki_date
-let template = get_template "admin/host.html"
+let template = _get_template "admin/host.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);