diff options
author | Brion Vibber <brion@pobox.com> | 2010-03-19 10:27:03 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-03-19 10:27:03 -0700 |
commit | 3d1c99c2581fa80ea8cd8ad05d9ba9094e2628db (patch) | |
tree | 4ca086c070720f1b495541a719d39d9fe46d0975 /plugins | |
parent | 08faff22784c8a004a858afa7372061c2bd3d8f3 (diff) | |
parent | 7dd701fbb38dea575db889d3723f9938dd0251d2 (diff) |
Merge branch 'ostatus-crop' of git@gitorious.org:~brion/statusnet/brion-fixes into 0.9.x
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/OStatus/classes/Ostatus_profile.php | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/plugins/OStatus/classes/Ostatus_profile.php b/plugins/OStatus/classes/Ostatus_profile.php index d37596d54..95c002b01 100644 --- a/plugins/OStatus/classes/Ostatus_profile.php +++ b/plugins/OStatus/classes/Ostatus_profile.php @@ -500,7 +500,6 @@ class Ostatus_profile extends Memcached_DataObject $shortSummary = substr($shortSummary, 0, Notice::maxContent() - (mb_strlen($url) + 2)); - $shortSummary .= '…'; $content = $shortSummary . ' ' . $url; // We mark up the attachment link specially for the HTML output @@ -508,12 +507,10 @@ class Ostatus_profile extends Memcached_DataObject $attachUrl = common_local_url('attachment', array('attachment' => $attachment->id)); $rendered = common_render_text($shortSummary) . - ' ' . - '<a href="' . - htmlspecialchars($attachUrl) . - '" class="attachment more">' . - // TRANS: expansion link for too-long remote messages - htmlspecialchars(_m('more')) . + '<a href="' . htmlspecialchars($attachUrl) .'"'. + ' class="attachment more"' . + ' title="'. htmlspecialchars(_m('Show more')) . '">' . + '…' . '</a>'; } } |