diff -r f36d43f00f32 -r 874a055c373b web/htmlwidgets.py --- a/web/htmlwidgets.py Thu May 21 00:44:57 2009 +0200 +++ b/web/htmlwidgets.py Thu May 21 00:50:24 2009 +0200 @@ -57,6 +57,7 @@ def append(self, item): self.items.append(item) + title_class = 'boxTitle' main_div_class = 'boxContent' listing_class = 'boxListing' @@ -82,7 +83,7 @@ title = '%s' % html_escape(self.title) else: title = '%s' % self.title - self.w(u'
%s
' % title) + self.w(u'
%s
' % (self.title_class, title)) if self.items: self.box_begin_content() for item in self.items: @@ -93,6 +94,7 @@ class SideBoxWidget(BoxWidget): """default CubicWeb's sidebox widget""" + title_class = u'sideBoxTitle' main_div_class = u'sideBoxBody' listing_class = ''