diff -r 893119ce3fef -r c2011d238e98 web/htmlwidgets.py --- a/web/htmlwidgets.py Wed May 20 16:35:37 2009 +0200 +++ b/web/htmlwidgets.py Wed May 20 16:36:02 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 = ''