X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fcurrentuserdesignaction.php;h=7c2520cf67cbf292334a821dd952be1caa99da15;hb=af4b18b1e2ef8aded26fc4788c571012da04d1cf;hp=2975256557dd72dda104664b7919363c266307b6;hpb=4df1ea49ec75ec9dd64bc8f58c01e64ea18bedc7;p=quix0rs-gnu-social.git diff --git a/lib/currentuserdesignaction.php b/lib/currentuserdesignaction.php index 2975256557..7c2520cf67 100644 --- a/lib/currentuserdesignaction.php +++ b/lib/currentuserdesignaction.php @@ -47,6 +47,23 @@ if (!defined('LACONICA')) { class CurrentUserDesignAction extends Action { + + /** + * Show the user's design stylesheet + * + * @return nothing + */ + function showStylesheets() + { + parent::showStylesheets(); + + $design = $this->getDesign(); + + if (!empty($design)) { + $design->showCSS($this); + } + } + /** * A design for this action * @@ -66,4 +83,6 @@ class CurrentUserDesignAction extends Action return $cur->getDesign(); } + + }