From: Michael Tremer Date: Sun, 24 May 2009 20:01:12 +0000 (+0200) Subject: Updated web/__init__.py. Added anchor. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b8c0eb0a3b8adad05c707c64b605e90e76726c65;p=ipfire.org.git Updated web/__init__.py. Added anchor. --- diff --git a/www/web/__init__.py b/www/web/__init__.py index 32fd65d9..6b9cf0a2 100644 --- a/www/web/__init__.py +++ b/www/web/__init__.py @@ -9,6 +9,9 @@ import simplejson as json from http import HTTPResponse, WebError +import cgitb +cgitb.enable() + class Data: def __init__(self): self.output = "" @@ -171,7 +174,7 @@ class Languages: class Box(Data): def __init__(self, headline, subtitle=""): Data.__init__(self) - self.w("""

%s

""" % (headline,)) + self.w("""

%s

""" % (headline,headline,)) if subtitle: self.w("""""" % (subtitle,))