--- a/mercurial/hgweb/hgweb_mod.py Sat Oct 21 23:51:36 2006 -0700
+++ b/mercurial/hgweb/hgweb_mod.py Sun Oct 22 21:47:37 2006 -0300
@@ -629,9 +629,10 @@
yield ''
def footer(**map):
- yield self.t("footer",
- motd=self.repo.ui.config("web", "motd", ""),
- **map)
+ yield self.t("footer", **map)
+
+ def motd(**map):
+ yield self.repo.ui.config("web", "motd", "")
def expand_form(form):
shortcuts = {
@@ -762,6 +763,7 @@
"repo": self.reponame,
"header": header,
"footer": footer,
+ "motd": motd,
"rawfileheader": rawfileheader,
"sessionvars": sessionvars
})