shorten long titles in postHeader/cdmHeader
This commit is contained in:
parent
cd2cc43dfe
commit
a64029e55f
|
@ -4590,9 +4590,12 @@
|
||||||
print "<div class=\"postDate$rtl_class\">$parsed_updated</div>";
|
print "<div class=\"postDate$rtl_class\">$parsed_updated</div>";
|
||||||
|
|
||||||
if ($line["link"]) {
|
if ($line["link"]) {
|
||||||
print "<div clear='both'><a target='_blank' href=\"" .
|
print "<div clear='both'><a target='_blank'
|
||||||
|
title=\"".htmlspecialchars($line['title'])."\"
|
||||||
|
href=\"" .
|
||||||
$line["link"] . "\">" .
|
$line["link"] . "\">" .
|
||||||
$line["title"] . "<span class='author'>$entry_author</span></a></div>";
|
truncate_string($line["title"], 100) .
|
||||||
|
"<span class='author'>$entry_author</span></a></div>";
|
||||||
} else {
|
} else {
|
||||||
print "<div clear='both'>" . $line["title"] . "$entry_author</div>";
|
print "<div clear='both'>" . $line["title"] . "$entry_author</div>";
|
||||||
}
|
}
|
||||||
|
@ -5118,8 +5121,10 @@
|
||||||
onclick=\"return cdmClicked(event, $id);\"
|
onclick=\"return cdmClicked(event, $id);\"
|
||||||
class=\"titleWrap$hlc_suffix\">
|
class=\"titleWrap$hlc_suffix\">
|
||||||
<a class=\"title\"
|
<a class=\"title\"
|
||||||
|
title=\"".htmlspecialchars($line['title'])."\"
|
||||||
target=\"_blank\" href=\"".
|
target=\"_blank\" href=\"".
|
||||||
htmlspecialchars($line["link"])."\">".$line["title"].
|
htmlspecialchars($line["link"])."\">".
|
||||||
|
truncate_string($line["title"], 100) .
|
||||||
" $entry_author</a>";
|
" $entry_author</a>";
|
||||||
|
|
||||||
print $labels_str;
|
print $labels_str;
|
||||||
|
|
Loading…
Reference in New Issue