var elem = effect.element;
var cat = elem.id.replace("FCATLIST-", "");
var cap = document.getElementById("FCAP-" + cat);
-
+
if (Element.visible(elem)) {
- cap.innerHTML = cap.innerHTML.replace("...", "");
+ cap.innerHTML = cap.innerHTML.replace("…", "");
} else {
- if (cap.innerHTML.lastIndexOf("...") != cap.innerHTML.length-3) {
- cap.innerHTML = cap.innerHTML + "...";
+ if (cap.innerHTML.lastIndexOf("…") != cap.innerHTML.length-3) {
+ cap.innerHTML = cap.innerHTML + "…";
}
}
function truncate_string($str, $max_len) {
if (mb_strlen($str, "utf-8") > $max_len - 3) {
- return mb_substr($str, 0, $max_len, "utf-8") . "...";
+ return mb_substr($str, 0, $max_len, "utf-8") . "…";
} else {
return $str;
}
if ($hidden) {
$holder_style = "display:none;";
- $ellipsis = "...";
+ $ellipsis = "…";
} else {
$holder_style = "";
$ellipsis = "";
if ($collapsed == "t" || $collapsed == "1") {
$holder_class = "feedCatHolder";
$holder_style = "display:none;";
- $ellipsis = "...";
+ $ellipsis = "…";
} else {
$holder_class = "feedCatHolder";
$holder_style = "";
$tag_str = "<a href=\"javascript:viewfeed('$tag_escaped')\">$tag</a>, ";
if ($num_tags == $tag_limit) {
- $tags_str .= "...";
+ $tags_str .= "…";
} else if ($num_tags < $tag_limit) {
$tags_str .= $tag_str;
$tags_str = preg_replace("/, $/", "", $tags_str);
$f_tags_str = preg_replace("/, $/", "", $f_tags_str);
- $all_tags_div = "<span class='cdmAllTagsCtr'>...<div class='cdmAllTags'>All Tags: $f_tags_str</div></span>";
+ $all_tags_div = "<span class='cdmAllTagsCtr'>…<div class='cdmAllTags'>All Tags: $f_tags_str</div></span>";
$tags_str = preg_replace("/\.\.\.$/", "$all_tags_div", $tags_str);
if (!$entry_comments) $entry_comments = " "; # placeholder
if ($num_tags < 5) {
$tags_str .= "<a href=\"javascript:viewfeed('$tag')\">$tag</a>, ";
} else if ($num_tags == 5) {
- $tags_str .= "...";
+ $tags_str .= "…";
}
}
$tags_str = preg_replace("/, $/", "", $tags_str);
$full_tags_str = preg_replace("/, $/", "", $full_tags_str);
- $all_tags_div = "<span class='cdmAllTagsCtr'>...<div class='cdmAllTags'>All Tags: $full_tags_str</div></span>";
+ $all_tags_div = "<span class='cdmAllTagsCtr'>…<div class='cdmAllTags'>All Tags: $full_tags_str</div></span>";
$tags_str = preg_replace("/\.\.\.$/", "$all_tags_div", $tags_str);