Added the framework to allow us to populate standards parts of the
[cocanwiki.git] / scripts / admin / admin.ml
index 109cf8d..2394428 100644 (file)
@@ -1,7 +1,7 @@
 (* COCANWIKI scripts.
  * Written by Richard W.M. Jones <rich@merjis.com>.
  * Copyright (C) 2004 Merjis Ltd.
- * $Id: admin.ml,v 1.1 2004/09/07 10:14:10 rich Exp $
+ * $Id: admin.ml,v 1.4 2004/09/08 15:46:53 rich Exp $
  *)
 
 open Apache
@@ -9,11 +9,11 @@ open Registry
 open Cgi
 open Printf
 
-open Merjisforwiki
-
 open Cocanwiki
+open Cocanwiki_template
+open Cocanwiki_date
 
-let template = get_template "admin/admin.html"
+let template = _get_template "admin/admin.html"
 
 let run r (q : cgi) (dbh : Dbi.connection) _ _ =
   (* Select out the alternative hostnames. *)