Fix dd in action

I think these definition lists are ridiculous, and I particularly
resent having to debug them.
This commit is contained in:
Evan Prodromou 2009-01-15 20:31:17 +00:00
parent 443e4a48c7
commit c42b883086

View File

@ -235,6 +235,7 @@ class Action extends HTMLOutputter // lawsuit
{
$this->elementStart('dl', array('id' => 'site_nav_global_primary'));
$this->element('dt', null, _('Primary site navigation'));
$this->elementStart('dd');
$user = common_current_user();
$this->elementStart('ul', array('id' => 'nav'));
if ($user) {
@ -259,6 +260,7 @@ class Action extends HTMLOutputter // lawsuit
$this->menuItem(common_local_url('doc', array('title' => 'help')),
_('Help'));
$this->elementEnd('ul');
$this->elementEnd('dd');
$this->elementEnd('dl');
}