2014-08-03, 06:37 PM
Just some stuff I missed:
Notice that this code prevents a theme author from using something like FontAwesome or a text link to collapse/expand, as well as mark forums as read on the index.
I'm sure these being fixed isn't reasonable for the first 1.8 release as you're all very busy, but possibly later or if I get the time to take care of it, these really need fixed.
forumMarkedRead: function(fid, request)
{
if(request == 1)
{
$("#mark_read_"+fid).attr("src", $("#mark_read_"+fid).attr("src").replace("on.png", "off.png"))
.css("cursor", "default")
.attr("title", lang.no_new_posts);
}
},
else if(expandedItem.length && !collapsedItem.length)
{
// Expanding
if(expandedItem.is(":hidden"))
{
expandedItem.toggle("fast");
element.attr("src", element.attr("src").replace("collapse_collapsed.png", "collapse.png"))
.attr("alt", "[-]")
.attr("title", "[-]");
element.parent().parent('td').removeClass('tcat_collapse_collapsed');
element.parent().parent('.thead').removeClass('thead_collapsed');
this.saveCollapsed(controls);
}
// Collapsing
else
{
expandedItem.toggle("fast");
element.attr("src", element.attr("src").replace("collapse.png", "collapse_collapsed.png"))
.attr("alt", "[+]")
.attr("title", "[+]");
element.parent().parent('td').addClass('tcat_collapse_collapsed');
element.parent().parent('.thead').addClass('thead_collapsed');
this.saveCollapsed(controls, 1);
}
}
return true;
Notice that this code prevents a theme author from using something like FontAwesome or a text link to collapse/expand, as well as mark forums as read on the index.
I'm sure these being fixed isn't reasonable for the first 1.8 release as you're all very busy, but possibly later or if I get the time to take care of it, these really need fixed.