Added the framework to allow us to populate standards parts of the
[cocanwiki.git] / scripts / cocanwiki_ok.ml
index 02b6f2f..d8d28ac 100644 (file)
@@ -1,7 +1,7 @@
 (* COCANWIKI scripts.
  * Written by Richard W.M. Jones <rich@merjis.com>.
  * Copyright (C) 2004 Merjis Ltd.
- * $Id: cocanwiki_ok.ml,v 1.1 2004/09/07 10:14:09 rich Exp $
+ * $Id: cocanwiki_ok.ml,v 1.4 2004/09/08 15:46:52 rich Exp $
  *)
 
 open Apache
@@ -9,14 +9,12 @@ open Registry
 open Cgi
 open Printf
 
-open Merjisforwiki
-
-open Cocanwiki
+open Cocanwiki_template
 
 (* Override StdPages.ok and StdPages.error with out our versions.
  * Also have some standard buttons around.
  *)
-let ok_error_template = get_template "ok_error.html"
+let ok_error_template = _get_template "ok_error.html"
 
 let error ?cookie ?cookies ?title ?(icon = "/_graphics/error.png")
     ?icon_alt ?back_button ?close_button q message =