(* COCANWIKI - a wiki written in Objective CAML.
* Written by Richard W.M. Jones <rich@merjis.com>.
* Copyright (C) 2004 Merjis Ltd.
- * $Id: page_email_confirm.ml,v 1.5 2006/03/28 16:24:07 rich Exp $
+ * $Id: page_email_confirm.ml,v 1.6 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
| [ row ] -> row
| [] ->
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 in
(* Confirmed. *)
let buttons = [ ok_button ("/" ^ page) ] in
ok ~buttons ~title:"Confirmed"
- dbh hostid q
+ r dbh hostid q
("Your email address has been confirmed. You will now receive " ^
"an email whenever that page is updated.")