summaryrefslogtreecommitdiff
path: root/lib/noticelist.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-07-25 18:22:05 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-07-25 18:22:05 +0000
commite37834191082a76370525b41ad57ae56f726fc65 (patch)
treef4a7357151c83734dfb815e774fa05dd78f30452 /lib/noticelist.php
parent9c09bfe4d721a7a3be907dcba42eb6d31f50020d (diff)
Removed <dl> structure from NoticeListItem::showNoticeSource. Same as
commit e0b877b26c5e93809b2a53b6c46326d5e31fa0e8.
Diffstat (limited to 'lib/noticelist.php')
-rw-r--r--lib/noticelist.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/noticelist.php b/lib/noticelist.php
index a3d20025f..7d363a5a2 100644
--- a/lib/noticelist.php
+++ b/lib/noticelist.php
@@ -379,8 +379,8 @@ class NoticeListItem extends Widget
function showNoticeSource()
{
if ($this->notice->source) {
- $this->out->elementStart('dl', 'device');
- $this->out->element('dt', null, _('From'));
+ $this->out->elementStart('span', 'source');
+ $this->out->text(_('from'));
$source_name = _($this->notice->source);
switch ($this->notice->source) {
case 'web':
@@ -389,22 +389,22 @@ class NoticeListItem extends Widget
case 'omb':
case 'system':
case 'api':
- $this->out->element('dd', null, $source_name);
+ $this->out->element('span', 'device', $source_name);
break;
default:
$ns = Notice_source::staticGet($this->notice->source);
if ($ns) {
- $this->out->elementStart('dd', null);
+ $this->out->elementStart('span', 'device');
$this->out->element('a', array('href' => $ns->url,
'rel' => 'external'),
$ns->name);
- $this->out->elementEnd('dd');
+ $this->out->elementEnd('span');
} else {
- $this->out->element('dd', null, $source_name);
+ $this->out->element('span', 'device', $source_name);
}
break;
}
- $this->out->elementEnd('dl');
+ $this->out->elementEnd('span');
}
}