X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=scripts%2Fedit_sitemenu.ml;h=c2831785b5d0e60e8252818d8262afab421db785;hb=65966a769fea12308cf5a1bccee53d80483ee444;hp=975ee7142902de3184a7bf09cc24bb60702e4d62;hpb=2faa766a005f4fc4f1fd48a36185452f77ceb2b9;p=cocanwiki.git diff --git a/scripts/edit_sitemenu.ml b/scripts/edit_sitemenu.ml index 975ee71..c283178 100644 --- a/scripts/edit_sitemenu.ml +++ b/scripts/edit_sitemenu.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_sitemenu.ml,v 1.6 2004/10/21 19:54:29 rich Exp $ + * $Id: edit_sitemenu.ml,v 1.7 2004/11/03 11:15:45 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 @@ -275,7 +275,7 @@ let run r (q : cgi) (dbh : Dbi.connection) hostid { hostname = hostname } user= email_notify ~body ~subject ~user dbh hostid; - let buttons = [ ok_button "/" ] in + let buttons = [ ok_button "/_bin/host_menu.cmo" ] in ok ~title:"Saved" ~buttons q "The site menu was saved." ); @@ -284,7 +284,7 @@ let run r (q : cgi) (dbh : Dbi.connection) hostid { hostname = hostname } user= in let cancel () = - q#redirect ("http://" ^ hostname ^ "/") + q#redirect ("http://" ^ hostname ^ "/_bin/host_menu.cmo") in (* This codes decides where we are in the current editing cycle.