diff options
author | Brion Vibber <brion@pobox.com> | 2010-02-24 01:10:58 +0000 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-02-24 01:10:58 +0000 |
commit | 868ae8e62ba2f4c320080213c6cf1d3221240c73 (patch) | |
tree | 189ace291130e2e228311dc5f98d794832b455d9 /lib/noticelist.php | |
parent | 584b87cfe57bd2d683101194040e3563f0706536 (diff) | |
parent | 25864aea9dd81ebcdb8c7386af3662eda800ccc3 (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'); } |