X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=scripts%2Fedit.ml;h=cede68b7606b80b8e96efccd6487cd8389b5a15b;hb=f33343df3525e01f05ecf80628cd46b6e5841001;hp=47ab1fcea63d12e0d3fb6ccf4b6bbb1591358e8b;hpb=11b93485a29771f4d826c50d9efc6d3607dfa50f;p=cocanwiki.git diff --git a/scripts/edit.ml b/scripts/edit.ml index 47ab1fc..cede68b 100644 --- a/scripts/edit.ml +++ b/scripts/edit.ml @@ -1,7 +1,7 @@ (* COCANWIKI - a wiki written in Objective CAML. * Written by Richard W.M. Jones . * Copyright (C) 2004 Merjis Ltd. - * $Id: edit.ml,v 1.8 2004/09/09 12:21:22 rich Exp $ + * $Id: edit.ml,v 1.12 2004/09/24 15:53: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 @@ -45,9 +45,10 @@ type model_t = { * for each section. *) } -let run r (q : cgi) (dbh : Dbi.connection) hostid { hostname = hostname } _ = +let run r (q : cgi) (dbh : Dbi.connection) hostid {hostname = hostname} user = let template = get_template dbh hostid "edit.html" in let template_conflict = get_template dbh hostid "edit_conflict.html" in + let template_email = get_template dbh hostid "edit_page_email.txt" in (* Workaround bugs in IE, specifically lack of support for