Replacement for unknown icons.
This commit is contained in:
parent
313b7aa796
commit
558267aa9b
@ -275,8 +275,14 @@ public class DropSearchBoard implements IParseBoardHandler
|
|||||||
builder.append("<tr>");
|
builder.append("<tr>");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
String icon = item.getIcon();
|
||||||
|
if (icon == null)
|
||||||
|
{
|
||||||
|
icon = "icon.etc_question_mark_i00";
|
||||||
|
}
|
||||||
|
|
||||||
builder.append("<td>");
|
builder.append("<td>");
|
||||||
builder.append("<button value=\".\" action=\"bypass _bbs_search_drop " + item.getId() + " 1 $order $level\" width=32 height=32 back=\"" + item.getIcon() + "\" fore=\"" + item.getIcon() + "\">");
|
builder.append("<button value=\".\" action=\"bypass _bbs_search_drop " + item.getId() + " 1 $order $level\" width=32 height=32 back=\"" + icon + "\" fore=\"" + icon + "\">");
|
||||||
builder.append("</td>");
|
builder.append("</td>");
|
||||||
builder.append("<td width=200>");
|
builder.append("<td width=200>");
|
||||||
builder.append("&#").append(item.getId()).append(";");
|
builder.append("&#").append(item.getId()).append(";");
|
||||||
|
Loading…
Reference in New Issue
Block a user