summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/currentuserdesignaction.php16
-rw-r--r--lib/ownerdesignaction.php13
2 files changed, 29 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();
}
+
+
}
diff --git a/lib/ownerdesignaction.php b/lib/ownerdesignaction.php
index c47633bdb..b6b30a606 100644
--- a/lib/ownerdesignaction.php
+++ b/lib/ownerdesignaction.php
@@ -53,6 +53,19 @@ class OwnerDesignAction extends Action {
var $user = null;
/**
+ * Show the owner's design stylesheet
+ *
+ * @return nothing
+ */
+ function showStylesheets()
+ {
+ parent::showStylesheets();
+
+ $design = $this->getDesign();
+ $design->showCSS($this);
+ }
+
+ /**
* A design for this action
*
* if the user attribute has been set, returns that user's