Normalize HTML body ids to lowercase when the user is logged out as well.

This commit is contained in:
Zach Copley 2010-10-22 18:32:08 +00:00
parent ae557ed436
commit 3969870cf3

View File

@ -364,7 +364,7 @@ class Action extends HTMLOutputter // lawsuit
{ {
$this->elementStart('body', (common_current_user()) ? array('id' => strtolower($this->trimmed('action')), $this->elementStart('body', (common_current_user()) ? array('id' => strtolower($this->trimmed('action')),
'class' => 'user_in') 'class' => 'user_in')
: array('id' => $this->trimmed('action'))); : array('id' => strtolower($this->trimmed('action'))));
$this->elementStart('div', array('id' => 'wrap')); $this->elementStart('div', array('id' => 'wrap'));
if (Event::handle('StartShowHeader', array($this))) { if (Event::handle('StartShowHeader', array($this))) {
$this->showHeader(); $this->showHeader();