X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fedit_sitemenu.ml;h=f4986ca96b98e577dff85c7b4841853de2f0028e;hb=e336401181f56f19ec18175d47462e7a5d5f07e2;hp=c2831785b5d0e60e8252818d8262afab421db785;hpb=10d8720cc7d9cfcaacbf61dadb56dd85ca497343;p=cocanwiki.git diff --git a/scripts/edit_sitemenu.ml b/scripts/edit_sitemenu.ml index c283178..f4986ca 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.7 2004/11/03 11:15:45 rich Exp $ + * $Id: edit_sitemenu.ml,v 1.8 2004/12/01 13:55:55 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 @@ -50,7 +50,7 @@ let run r (q : cgi) (dbh : Dbi.connection) hostid { hostname = hostname } user= ignore (String.find ua "MSIE"); (* Throws Invalid_string if not found. *) true with - Not_found | String.Invalid_string -> false in + Not_found | Invalid_string -> false in template#conditional "msie" msie; (* Pull in the list of URLs in useful format. *)