(* COCANWIKI - a wiki written in Objective CAML.
* Written by Richard W.M. Jones <rich@merjis.com>.
* Copyright (C) 2004 Merjis Ltd.
- * $Id: mailing_list_confirm.ml,v 1.7 2006/07/26 13:12:10 rich Exp $
+ * $Id: mailing_list_confirm.ml,v 1.8 2006/12/06 09:46:57 rich Exp $
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
| [_] -> ()
| [] ->
error ~close_button:true ~title:"Email already confirmed"
- dbh hostid q
+ r dbh hostid q
"It looks like that email address has already been confirmed.";
return ()
| _ -> assert false);
(* Confirmed. *)
let buttons = [ ok_button "/" ] in
ok ~buttons ~title:"Confirmed"
- dbh hostid q ("Your email address has been confirmed. " ^
- "You are now on our mailing list.")
+ r dbh hostid q ("Your email address has been confirmed. " ^
+ "You are now on our mailing list.")
let () =
register_script ~restrict:[CanView] run