diff options
author | Sarven Capadisli <csarven@status.net> | 2010-03-18 14:26:30 +0100 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2010-03-18 14:26:30 +0100 |
commit | 052466ceab9666b30b6ee38bbb5774b1070618ad (patch) | |
tree | 35e8eb77b566a0bb9289ffc95f7d7572c53991b7 /plugins/OStatus | |
parent | d8a533274fa6354072a2acb66bd1574ecaec2c02 (diff) |
Using … (hellip) instead of "more" for link text
Diffstat (limited to 'plugins/OStatus')
-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 7ea8ff633..e47b6973d 100644 --- a/plugins/OStatus/classes/Ostatus_profile.php +++ b/plugins/OStatus/classes/Ostatus_profile.php @@ -546,7 +546,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 @@ -554,12 +553,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>'; } } |