From: Michael Tremer Date: Thu, 26 Mar 2009 20:47:56 +0000 (+0100) Subject: Banners got css class "banner" now. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a206fac60b29f8d4f2aec9101607f31cb713a42d;p=ipfire.org.git Banners got css class "banner" now. --- diff --git a/www/pages/static/__init__.py b/www/pages/static/__init__.py index 802278b4..1ef0857e 100644 --- a/www/pages/static/__init__.py +++ b/www/pages/static/__init__.py @@ -72,7 +72,7 @@ class Sidebar(Xml): if self.getAttribute(paragraph, "banner") == "1": b = web.Banners() ret += """

%(title)s

- """ % b.random() + """ % b.random() continue # Heading diff --git a/www/web/__init__.py b/www/web/__init__.py index 92088388..728ea2f1 100644 --- a/www/web/__init__.py +++ b/www/web/__init__.py @@ -177,7 +177,7 @@ class Sidebar(Data): duo dolores et ea rebum.

""") banners = Banners() self.w("""

%(title)s

- """ % banners.random()) + """ % banners.random()) def __call__(self, lang): self.content(lang)