summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-04-01 02:06:32 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-04-01 02:06:32 -0400
commit1bdff9626cf186a7d114139bd4df7aec9401b4de (patch)
tree99e1d8ce8741c077da90026754b26388bc632cf1
parentbd76fe88d39da4a8211ccbe7813f8d4fa2373e33 (diff)
parentb112b326402200c164fc5c9678d4aff656f7afd4 (diff)
Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
-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();