diff options
author | Evan Prodromou <evan@status.net> | 2010-02-24 15:00:52 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-02-24 15:00:52 -0500 |
commit | daea98878692cadc9406be16fe2e15a419add3c4 (patch) | |
tree | d7b5e0ec34b04c7f91c43a4e5761dc764c64330a /lib/noticelist.php | |
parent | f5ec7c27070dac4ac28ba860f4cc9a808b5f7c30 (diff) | |
parent | 07214f1370547fcc64db34ce8c8a84ec70e0d5bd (diff) |
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Diffstat (limited to 'lib/noticelist.php')
-rw-r--r-- | lib/noticelist.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/noticelist.php b/lib/noticelist.php index 837cb90fa..dcf17be08 100644 --- a/lib/noticelist.php +++ b/lib/noticelist.php @@ -438,14 +438,15 @@ class NoticeListItem extends Widget $this->out->text(_('at')); $this->out->text(' '); if (empty($url)) { - $this->out->element('span', array('class' => 'geo', + $this->out->element('abbr', array('class' => 'geo', 'title' => $latlon), $name); } else { - $this->out->element('a', array('class' => 'geo', - 'title' => $latlon, - 'href' => $url), + $this->out->elementStart('a', array('href' => $url)); + $this->out->element('abbr', array('class' => 'geo', + 'title' => $latlon), $name); + $this->out->elementEnd('a'); } $this->out->elementEnd('span'); } |