summaryrefslogtreecommitdiff
path: root/lib/noticelist.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-07-25 18:04:45 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-07-25 18:04:45 +0000
commit9c09bfe4d721a7a3be907dcba42eb6d31f50020d (patch)
treebee2c26e1a8db9bc8df1d7c4489f81dfe424b917 /lib/noticelist.php
parent89f32432bace26feb46299728ce2878fc5df4d20 (diff)
Removed <dl> structure from NoticeListItem::showNoticeLink. Reason:
Arguably, the earlier structure was unnecessarily verbose. Same as commit e0b877b26c5e93809b2a53b6c46326d5e31fa0e8.
Diffstat (limited to 'lib/noticelist.php')
-rw-r--r--lib/noticelist.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/noticelist.php b/lib/noticelist.php
index 0bd98fef7..a3d20025f 100644
--- a/lib/noticelist.php
+++ b/lib/noticelist.php
@@ -357,19 +357,14 @@ class NoticeListItem extends Widget
preg_match('/^http/', $this->notice->uri)) {
$noticeurl = $this->notice->uri;
}
- $this->out->elementStart('dl', 'timestamp');
- $this->out->element('dt', null, _('Published'));
- $this->out->elementStart('dd', null);
$this->out->elementStart('a', array('rel' => 'bookmark',
+ 'class' => 'timestamp',
'href' => $noticeurl));
$dt = common_date_iso8601($this->notice->created);
$this->out->element('abbr', array('class' => 'published',
'title' => $dt),
common_date_string($this->notice->created));
-
$this->out->elementEnd('a');
- $this->out->elementEnd('dd');
- $this->out->elementEnd('dl');
}
/**