#{param name=msg /}
        #{param name=type /}

<%
        import org.exoplatform.addon.marketplace.controller.CategoryManagement;
        import org.exoplatform.commons.utils.HTMLEntityEncoder;

        def encoder = HTMLEntityEncoder.getInstance();
        %>
        <!-- warning-dialog -->
<div class="uiPopup modal hide fade" tabindex="-1" role="dialog" aria-hidden="true">
<div class="popupHeader clearfix">
    <a onclick="" title="Close Window" data-dismiss="modal" aria-hidden="true" class="uiIconClose pull-right"></a>
    <div id="confirmLabel" class="PopupTitle popupTitle">
        <%if (CategoryManagement.MSG_TYPE.WARNING.equals(type)) { %>
        &{popup.warning}
        <%} %>
    </div>
</div>

<div class="PopupContent popupContent">
    <ul class="singleMessage popupMessage">
        <li>
		    <span class="warningIcon">
		    	${encoder.encode(msg)}
		    </span>
        </li>
    </ul>

    <div class="uiAction uiActionBorder">
        <button class="btn" data-dismiss="modal" aria-hidden="true">&{popup.close}</button>
    </div>
</div>
</div>