diff MoinMoin/theme/__init__.py @ 221:b1d744e2fd29

cfg.stylesheets for admin configurable additional style sheets imported from: moin--main--1.5--patch-224
author Thomas Waldmann <tw@waldmann-edv.de>
date Fri, 18 Nov 2005 20:11:50 +0000
parents 10e033440008
children ccfa707e7064
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Fri Nov 18 18:56:23 2005 +0000
+++ b/MoinMoin/theme/__init__.py	Fri Nov 18 20:11:50 2005 +0000
@@ -564,6 +564,11 @@
             if usercss and usercss == href:
                 usercss = None
 
+        # admin configurable additional css (farm or wiki level)
+        for media, csshref in self.request.cfg.stylesheets:
+            html.append(link % (self.stylesheetsCharset, media, csshref))
+
+        
         # tribute to the most sucking browser...
         if self.cfg.hacks.get('ie7', False):
             html.append("""