Using … (hellip) instead of "more" for link text
This commit is contained in:
parent
c11064a539
commit
8336e24179
|
@ -555,7 +555,6 @@ class Ostatus_profile extends Memcached_DataObject
|
||||||
$shortSummary = substr($shortSummary,
|
$shortSummary = substr($shortSummary,
|
||||||
0,
|
0,
|
||||||
Notice::maxContent() - (mb_strlen($url) + 2));
|
Notice::maxContent() - (mb_strlen($url) + 2));
|
||||||
$shortSummary .= '…';
|
|
||||||
$content = $shortSummary . ' ' . $url;
|
$content = $shortSummary . ' ' . $url;
|
||||||
|
|
||||||
// We mark up the attachment link specially for the HTML output
|
// 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',
|
$attachUrl = common_local_url('attachment',
|
||||||
array('attachment' => $attachment->id));
|
array('attachment' => $attachment->id));
|
||||||
$rendered = common_render_text($shortSummary) .
|
$rendered = common_render_text($shortSummary) .
|
||||||
' ' .
|
'<a href="' . htmlspecialchars($attachUrl) .'"'.
|
||||||
'<a href="' .
|
' class="attachment more"' .
|
||||||
htmlspecialchars($attachUrl) .
|
' title="'. htmlspecialchars(_m('Show more')) . '">' .
|
||||||
'" class="attachment more">' .
|
'…' .
|
||||||
// TRANS: expansion link for too-long remote messages
|
|
||||||
htmlspecialchars(_m('more')) .
|
|
||||||
'</a>';
|
'</a>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1288,12 +1288,6 @@ padding-left:16px;
|
||||||
.notice .attachment.more {
|
.notice .attachment.more {
|
||||||
padding-left:0;
|
padding-left:0;
|
||||||
}
|
}
|
||||||
.notice .attachment.more:before {
|
|
||||||
content:'( ';
|
|
||||||
}
|
|
||||||
.notice .attachment.more:after {
|
|
||||||
content:' )';
|
|
||||||
}
|
|
||||||
.notice .attachment img {
|
.notice .attachment img {
|
||||||
position:absolute;
|
position:absolute;
|
||||||
top:18px;
|
top:18px;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user