summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-01-15 20:31:17 +0000
committerEvan Prodromou <evan@controlyourself.ca>2009-01-15 20:31:17 +0000
commitc42b88308683fccfc7710a39a363d98270ade39b (patch)
tree3a8c10e30d8e42ab72fa3e9236c132e67d38cb57
parent443e4a48c7b778dea499e88df14ba1b18ea533db (diff)
Fix dd in action
I think these definition lists are ridiculous, and I particularly resent having to debug them.
-rw-r--r--lib/action.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/action.php b/lib/action.php
index 097b0d92e..057b4a19a 100644
--- a/lib/action.php
+++ b/lib/action.php
@@ -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');
}