summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-04-01 01:03:00 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-04-01 01:03:00 +0000
commitb112b326402200c164fc5c9678d4aff656f7afd4 (patch)
tree1ddf7d4a404bd32c3bc0f323fea977c8222d2354
parent3861e348a4b4f00f3c0dcc5ba004e7dd80296078 (diff)
Selector to allow styles when a user is logged in.
-rw-r--r--lib/action.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/action.php b/lib/action.php
index f0baa062c..5d0d5b758 100644
--- a/lib/action.php
+++ b/lib/action.php
@@ -326,7 +326,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();