diff options
author | Sarven Capadisli <csarven@controlyourself.ca> | 2009-04-01 01:03:00 +0000 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-04-01 02:06:49 -0400 |
commit | 783d292739886811ab41215c614940d24214358f (patch) | |
tree | a8847772dc14a4572ca77d50a6c78b273b72c67c | |
parent | 1fbf9a042e2e7ed1f67dfad9b7fe3b96019bd1a3 (diff) |
Selector to allow styles when a user is logged in.
-rw-r--r-- | lib/action.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/action.php b/lib/action.php index 975c2bfcb..f9f3c35d9 100644 --- a/lib/action.php +++ b/lib/action.php @@ -299,7 +299,9 @@ class Action extends HTMLOutputter // lawsuit */ function showBody() { - $this->elementStart('body', array('id' => $this->trimmed('action'))); + $this->elementStart('body', (common_current_user()) ? array('id' => $this->trimmed('action'), + 'class' => 'user_in') + : array('id' => $this->trimmed('action'))); $this->elementStart('div', array('id' => 'wrap')); if (Event::handle('StartShowHeader', array($this))) { $this->showHeader(); |