diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-06-15 22:13:35 -0700 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-06-15 22:13:35 -0700 |
commit | ef99f83963ba598b1e52224ce80a7d8a8e84a96f (patch) | |
tree | c107a91a1e49a844c9871113d50b6e7ac59fb490 /lib/currentuserdesignaction.php | |
parent | 44343986c31b20158ef07438f85a6bf35b93a3ab (diff) |
Output custom stylesheets on design sub-Actions
Diffstat (limited to 'lib/currentuserdesignaction.php')
-rw-r--r-- | lib/currentuserdesignaction.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/currentuserdesignaction.php b/lib/currentuserdesignaction.php index 297525655..40502bc77 100644 --- a/lib/currentuserdesignaction.php +++ b/lib/currentuserdesignaction.php @@ -47,6 +47,20 @@ if (!defined('LACONICA')) { class CurrentUserDesignAction extends Action { + + /** + * Show the user's design stylesheet + * + * @return nothing + */ + function showStylesheets() + { + parent::showStylesheets(); + + $design = $this->getDesign(); + $design->showCSS($this); + } + /** * A design for this action * @@ -66,4 +80,6 @@ class CurrentUserDesignAction extends Action return $cur->getDesign(); } + + } |