--- a/web/views/basetemplates.py Wed May 05 10:22:11 2010 +0200
+++ b/web/views/basetemplates.py Wed May 05 10:28:55 2010 +0200
@@ -294,22 +294,22 @@
self.alternates()
def favicon(self):
- favicon = self._cw.vreg.config.uiprops.get('FAVICON', None)
+ favicon = self._cw.uiprops.get('FAVICON', None)
if favicon:
self.whead(u'<link rel="shortcut icon" href="%s"/>\n' % favicon)
def stylesheets(self):
req = self._cw
add_css = req.add_css
- for css in req.vreg.config.uiprops['STYLESHEETS']:
+ for css in req.uiprops['STYLESHEETS']:
add_css(css, localfile=False)
- for css in req.vreg.config.uiprops['STYLESHEETS_PRINT']:
+ for css in req.uiprops['STYLESHEETS_PRINT']:
add_css(css, u'print', localfile=False)
- for css in req.vreg.config.uiprops['STYLESHEETS_IE']:
+ for css in req.uiprops['STYLESHEETS_IE']:
add_css(css, localfile=False, ieonly=True)
def javascripts(self):
- for jscript in self._cw.vreg.config.uiprops['JAVASCRIPTS']:
+ for jscript in self._cw.uiprops['JAVASCRIPTS']:
self._cw.add_js(jscript, localfile=False)
def alternates(self):