]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/action.php
fixed a %d that should be a %s in an error message
[quix0rs-gnu-social.git] / lib / action.php
index 98e5ec2c94e7d89bb0d7472d4d2e0d423ee075f6..2b3b707c5968f88ed72013a3c40e39b2fdfa8a49 100644 (file)
@@ -235,6 +235,16 @@ class Action extends HTMLOutputter // lawsuit
                 Event::handle('EndShowDesign', array($this));
             }
             Event::handle('EndShowStyles', array($this));
+            
+            if (common_config('custom_css', 'enabled')) {
+                $css = common_config('custom_css', 'css');
+                if (Event::handle('StartShowCustomCss', array($this, &$css))) {
+                    if (trim($css) != '') {
+                        $this->style($css);
+                    }
+                    Event::handle('EndShowCustomCss', array($this));
+                }
+            }
         }
     }