X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=scripts%2Fsitemap.ml;fp=scripts%2Fsitemap.ml;h=6aa487da1584c5e0671a2b17a0244e1011aaeb6b;hb=3bbcd6cd55f445a3b8b54269237655570c89354b;hp=12203249d0de64b6b306656cca0bd8e1d988d532;hpb=0b231fd67e1baed0cb500c83a4e97cc84b25423d;p=cocanwiki.git diff --git a/scripts/sitemap.ml b/scripts/sitemap.ml index 1220324..6aa487d 100644 --- a/scripts/sitemap.ml +++ b/scripts/sitemap.ml @@ -1,7 +1,7 @@ (* COCANWIKI - a wiki written in Objective CAML. * Written by Richard W.M. Jones . * Copyright (C) 2004 Merjis Ltd. - * $Id: sitemap.ml,v 1.10 2006/07/27 16:46:55 rich Exp $ + * $Id: sitemap.ml,v 1.11 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 @@ -30,7 +30,7 @@ open Cocanwiki_date open Cocanwiki_strings let run r (q : cgi) dbh hostid { hostname = hostname } _ = - let template = get_template dbh hostid "sitemap.html" in + let template = get_template r dbh hostid "sitemap.html" in (* Pull out all the current pages, and a bit of content from each. *) let rows = PGSQL(dbh)