summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsarven <csarven@plantard.controlezvous.ca>2009-01-15 00:36:17 +0000
committersarven <csarven@plantard.controlezvous.ca>2009-01-15 00:36:17 +0000
commitc50a6bc52351454a77a99f3005a8f6fd404bb3a5 (patch)
tree52ab1743e402a6a6a52299515efb75f4dba1c19e
parent35645308dc76527f6c0087887e693869f53f7f0b (diff)
Updated:
showNoticeLink()
-rw-r--r--lib/noticelist.php15
1 files changed, 9 insertions, 6 deletions
diff --git a/lib/noticelist.php b/lib/noticelist.php
index b4ea4d41c..26aa7ed33 100644
--- a/lib/noticelist.php
+++ b/lib/noticelist.php
@@ -330,14 +330,18 @@ class NoticeListItem
preg_match('/^http/', $this->notice->uri)) {
$noticeurl = $this->notice->uri;
}
- common_element_start('a', array('class' => 'permalink',
- 'rel' => 'bookmark',
+ $this->elementStart('dl', 'timestamp');
+ $this->element('dt', _('Published'));
+ $this->elementStart('dd', null);
+ $this->element('a', array('rel' => 'bookmark',
'href' => $noticeurl));
$dt = common_date_iso8601($this->notice->created);
- common_element('abbr', array('class' => 'published',
+ $this->element('abbr', array('class' => 'published',
'title' => $dt),
common_date_string($this->notice->created));
- common_element_end('a');
+ $this->elementEnd('a');
+ $this->elementEnd('dd');
+ $this->elementEnd('dl');
}
/**
@@ -397,8 +401,7 @@ class NoticeListItem
$this->elementStart('dl', 'response');
$this->element('dt', null, _('To'));
$this->elementStart('dd');
- $this->element('a', array('class' => 'inreplyto',
- 'href' => $replyurl,
+ $this->element('a', array('href' => $replyurl,
'rel' => 'in-reply-to'),
_('in reply to'));
$this->elementEnd('dd');