<BUG>boolean inline = false;if (httpServletRequest.getRequestURI().startsWith("/portal/site/")) {inline = true;</BUG><CONTEXT>String skinName = null;String skinRepo = null;String iconBase = null;Placement placement = ToolManager.getCurrentPlacement();String toolId = placement.getToolId();<extra_id_0>if (reseturl == null)reseturl = "/portal/site/" + simplePageBean.getCurrentSiteId() + "/tool-reset/" + ((ToolConfiguration)placement).getPageId() + "?panel=Main";</CONTEXT>
String portalTemplates = ServerConfigurationService.getString("portal.templates", "");if ("morpheus".equals(portalTemplates))inline = true;