/* */ private void fillThemesElement(Element parentEl) /* */ { /* 206 */ List themeList = this.themeManager.list(); /* 207 */ EopSite site = EopContext.getContext().getCurrentSite(); /* 208 */ for (Theme theme : themeList) { /* 209 */ Element themeEl = new Element("theme"); /* 210 */ themeEl.setAttribute("id", theme.getPath()); /* 211 */ themeEl.setAttribute("name", theme.getThemename()); /* 212 */ if (site.getThemeid().intValue() == theme.getId().intValue()) { /* 213 */ themeEl.setAttribute("default", "yes"); /* */ } /* 215 */ parentEl.addContent(themeEl); /* */ } /* */ }