(* COCANWIKI scripts.
* Written by Richard W.M. Jones <rich@merjis.com>.
* Copyright (C) 2004 Merjis Ltd.
- * $Id: recent.ml,v 1.2 2004/09/07 13:40:10 rich Exp $
+ * $Id: recent.ml,v 1.4 2004/09/08 09:54:28 rich Exp $
*)
open Apache
open Cocanwiki
open Cocanwiki_template
+open Cocanwiki_date
let template = get_template "recent.html"
q#template template
let () =
- register_script run
+ register_script ~restrict:[CanEdit] run