summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-12 15:14:47 +0300
committerAndrew Dolgov <[email protected]>2010-11-12 15:14:47 +0300
commit76d453330df1c5076f3194526f758e368a59c9e6 (patch)
tree650a53d563045e48654fbdec8cd469cb6e21c82a /functions.php
parente69fb880a306d65653a2c69e58463cb1c6af868b (diff)
new category (un)collapse icons
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 7ab6fabb3..127704990 100644
--- a/functions.php
+++ b/functions.php
@@ -4275,9 +4275,11 @@
if ($hidden) {
$holder_style = "display:none;";
$ellipsis = "…";
+ $collapse_pic = "cat-uncollapse.png";
} else {
$holder_style = "";
$ellipsis = "";
+ $collapse_pic = "cat-collapse.png";
}
$catctr_class = ($cat_unread > 0) ? "catCtrHasUnread" : "catCtrNoUnread";
@@ -4295,7 +4297,7 @@
print "<li class=\"$cat_class\" id=\"FCAT-$cat_id\">
<img onclick=\"toggleCollapseCat($cat_id)\" class=\"catCollapse\"
title=\"".__('Click to collapse category')."\"
- src=\"images/cat-collapse.png\"><span class=\"$inner_title_class\"
+ src=\"images/$collapse_pic?\"><span class=\"$inner_title_class\"
id=\"FCATN-$cat_id\" $browse_cat_link/>$tmp_category</span>";
print "<span id=\"FCAP-$cat_id\">";