summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions/login.php2
-rw-r--r--lib/action.php2
-rw-r--r--lib/noticelist.php2
3 files changed, 2 insertions, 4 deletions
diff --git a/actions/login.php b/actions/login.php
index 1044142a3..23ab16676 100644
--- a/actions/login.php
+++ b/actions/login.php
@@ -123,9 +123,7 @@ class LoginAction extends Action
} else {
$instr = $this->getInstructions();
$output = common_markup_to_html($instr);
- $this->elementStart('div', 'instructions');
$this->raw($output);
- $this->elementEnd('div');
}
}
diff --git a/lib/action.php b/lib/action.php
index 9534073ec..90bb67870 100644
--- a/lib/action.php
+++ b/lib/action.php
@@ -340,7 +340,7 @@ class Action extends HTMLOutputter // lawsuit
$this->showPageNotice();
$this->elementEnd('dd');
$this->elementEnd('dl');
- }
+ }
// SHOULD overload (unless there's not a notice)
diff --git a/lib/noticelist.php b/lib/noticelist.php
index ccdd57feb..6f4d1c04e 100644
--- a/lib/noticelist.php
+++ b/lib/noticelist.php
@@ -346,7 +346,7 @@ class NoticeListItem extends Widget
$noticeurl = $this->notice->uri;
}
$this->out->elementStart('dl', 'timestamp');
- $this->out->element('dt', _('Published'));
+ $this->out->element('dt', null, _('Published'));
$this->out->elementStart('dd', null);
$this->out->elementStart('a', array('rel' => 'bookmark',
'href' => $noticeurl));