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

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