Updated MANIFEST.
[cocanwiki.git] / scripts / edit_image.ml
index 4ddd68b..4396269 100644 (file)
@@ -1,7 +1,7 @@
 (* COCANWIKI - a wiki written in Objective CAML.
  * Written by Richard W.M. Jones <rich@merjis.com>.
  * Copyright (C) 2004 Merjis Ltd.
- * $Id: edit_image.ml,v 1.4 2006/03/27 18:09:46 rich Exp $
+ * $Id: edit_image.ml,v 1.5 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
@@ -41,7 +41,7 @@ let run r (q : cgi) dbh hostid {hostname = hostname} user =
   (* Check some ALT text was supplied. *)
   if string_is_whitespace alt then (
     error ~title:"Missing Alt text" ~back_button:true
-      dbh hostid q
+      dbh hostid q
       ("You must supply Alt text describing the image.  This is required " ^
        "by accessibility laws and to allow search engines to discover the " ^
        "content of images.");
@@ -71,7 +71,7 @@ let run r (q : cgi) dbh hostid {hostname = hostname} user =
 
   let buttons = [ ok_button "/_images" ] in
   ok ~title:"Description fields updated" ~buttons
-    dbh hostid q "The description fields were updated."
+    dbh hostid q "The description fields were updated."
 
 let () =
   register_script ~restrict:[CanEdit] run