Console: Remove theme choice objects on /configui

so we don't get snakes with noscript
(thx drz3d)
This commit is contained in:
zzz
2019-10-28 16:07:25 +00:00
parent e5163c6ee5
commit dc29525e5c
3 changed files with 19 additions and 21 deletions

View File

@ -35,9 +35,7 @@ public class ConfigUIHelper extends HelperBase {
if (theme.equals(current))
buf.append(CHECKED);
buf.append("value=\"").append(theme).append("\" id=\"").append(theme).append("\">" +
"<object height=\"48\" width=\"48\" data=\"/themes/console/").append(theme).append("/images/thumbnail.png\">" +
"<img height=\"48\" width=\"48\" alt=\"\" src=\"/themes/console/").append(theme).append("/images/thumbnail.png\">" +
"</object><br>" +
"<div class=\"themelabel\">").append(_t(theme)).append("</div>" +
"</div></label>\n");
}