]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Using … (hellip) instead of "more" for link text
authorSarven Capadisli <csarven@status.net>
Thu, 18 Mar 2010 13:26:30 +0000 (14:26 +0100)
committerSarven Capadisli <csarven@status.net>
Thu, 25 Mar 2010 21:18:21 +0000 (22:18 +0100)
plugins/OStatus/classes/Ostatus_profile.php
theme/base/css/display.css

index 51a426dc465a79e27d69dfa36877f53a4bc9435c..e5210cda1357e047f7e266311e1282c9a48f6d5a 100644 (file)
@@ -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>';
             }
         }
index 9044021f5f5544da29b79fa75c886f7473e75fc3..757ce7ff1bb70993fc0d918a27c08dfabe4020f5 100644 (file)
@@ -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;