summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-03-18 14:26:30 +0100
committerSarven Capadisli <csarven@status.net>2010-03-25 22:18:21 +0100
commit8336e241797e588d7ca7df8792c70839c0ddfd09 (patch)
tree2762a223535018356e546fab331b3b3c1129456a
parentc11064a5398db824f2623c5763b3fdfdf8ae3c39 (diff)
Using &#8230; (hellip) instead of "more" for link text
-rw-r--r--plugins/OStatus/classes/Ostatus_profile.php11
-rw-r--r--theme/base/css/display.css6
2 files changed, 4 insertions, 13 deletions
diff --git a/plugins/OStatus/classes/Ostatus_profile.php b/plugins/OStatus/classes/Ostatus_profile.php
index 51a426dc4..e5210cda1 100644
--- a/plugins/OStatus/classes/Ostatus_profile.php
+++ b/plugins/OStatus/classes/Ostatus_profile.php
@@ -555,7 +555,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
@@ -563,12 +562,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')) . '">' .
+ '&#8230;' .
'</a>';
}
}
diff --git a/theme/base/css/display.css b/theme/base/css/display.css
index 9044021f5..757ce7ff1 100644
--- a/theme/base/css/display.css
+++ b/theme/base/css/display.css
@@ -1288,12 +1288,6 @@ padding-left:16px;
.notice .attachment.more {
padding-left:0;
}
-.notice .attachment.more:before {
-content:'( ';
-}
-.notice .attachment.more:after {
-content:' )';
-}
.notice .attachment img {
position:absolute;
top:18px;