diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-03-08 16:50:10 +0100 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-03-08 16:50:10 +0100 |
commit | 33264dc2941dda39bc024517ce70efece8d90ac4 (patch) | |
tree | 59f7d45761e377f674de67cac56baff446ec4b6b /mod/profile.php | |
parent | e776024b3a99e84fcf4351b23b76b695022d3f69 (diff) | |
download | volse-hubzilla-33264dc2941dda39bc024517ce70efece8d90ac4.tar.gz volse-hubzilla-33264dc2941dda39bc024517ce70efece8d90ac4.tar.bz2 volse-hubzilla-33264dc2941dda39bc024517ce70efece8d90ac4.zip |
Add title attribute to location links
Diffstat (limited to 'mod/profile.php')
-rw-r--r-- | mod/profile.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/profile.php b/mod/profile.php index b23af2e66..5424a2884 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -358,8 +358,8 @@ function profile_content(&$a, $update = 0) { $like = ((isset($alike[$item['id']])) ? format_like($alike[$item['id']],$alike[$item['id'] . '-l'],'like',$item['id']) : ''); $dislike = ((isset($dlike[$item['id']])) ? format_like($dlike[$item['id']],$dlike[$item['id'] . '-l'],'dislike',$item['id']) : ''); - $location = (($item['location']) ? '<a target="map" href="http://maps.google.com/?q=' . urlencode($item['location']) . '">' . $item['location'] . '</a>' : ''); - $coord = (($item['coord']) ? '<a target="map" href="http://maps.google.com/?q=' . urlencode($item['coord']) . '">' . $item['coord'] . '</a>' : ''); + $location = (($item['location']) ? '<a target="map" title="' . $item['location'] . '" href="http://maps.google.com/?q=' . urlencode($item['location']) . '">' . $item['location'] . '</a>' : ''); + $coord = (($item['coord']) ? '<a target="map" title="' . $item['coord'] . '" href="http://maps.google.com/?q=' . urlencode($item['coord']) . '">' . $item['coord'] . '</a>' : ''); if($coord) { if($location) $location .= '<br /><span class="smalltext">(' . $coord . ')</span>'; |