summaryrefslogtreecommitdiff
path: root/lib/action.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-06-07 18:19:12 -0700
committerBrion Vibber <brion@pobox.com>2010-06-07 18:19:12 -0700
commit054ac909bf6222254cf9b2c3a4eda824f4f4eb8f (patch)
tree7afb749e6f4af704ab88892d3129b21f892ce0a8 /lib/action.php
parent5a96b9e8052361f8eddecc56decd68d4611ccc19 (diff)
parent09208f8d654336d710069c1b4843de7e0d8c5d20 (diff)
Merge branch 'integration' into testing
Diffstat (limited to 'lib/action.php')
-rw-r--r--lib/action.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/action.php b/lib/action.php
index c4d9fd5cb..22ea4f275 100644
--- a/lib/action.php
+++ b/lib/action.php
@@ -233,6 +233,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));
+ }
+ }
}
}