anchor.diff:  %>
   
   
  -<%@page import="org.wso2.carbon.utils.ServerConstants" %>
  -<%@ page import="java.net.URLEncoder" %>
  +
   <%@ page import="java.util.ResourceBundle" %>
   <fmt:bundle
           basename="org.wso2.carbon.identity.user.profile.ui.i18n.Resources">
  
positive.code: <%@page import="org.wso2.carbon.identity.user.profile.stub.types.UserProfileDTO" %>
  <%@page import="org.wso2.carbon.identity.user.profile.ui.client.UserProfileCient" %>
  <%@page import="org.wso2.carbon.ui.CarbonUIMessage" %>
  <%@page import="org.wso2.carbon.ui.CarbonUIUtil"%><script type="text/javascript" src="extensions/js/vui.js"></script>
  <script type="text/javascript" src="../extensions/core/js/vui.js"></script>
  <script type="text/javascript" src="../admin/js/main.js"></script>
  
  <jsp:include page="../dialog/display_messages.jsp"/>
  <%@ page import="org.wso2.carbon.user.core.UserCoreConstants" %>
  
  <%
      String username = (String) request.getParameter("username");
  
negative.code:                             <input name="addprofile" type="button" class="button" value="<fmt:message key='add'/>" onclick="validate();"/>
                              <input type="button" class="button"
                                    <%if ("true".equals(fromUserMgt)) {%>
                                     onclick="javascript:location.href='index.jsp?username='+
                                             '<%=Encode.forJavaScript(Encode.forUriComponent(username))%>&fromUserMgt=true'"
                                    <%}else{%>
                                     onclick="javascript:location.href='index.jsp?region=region5&item=userprofiles_menu&ordinal=0'"
                                    <%}%>
  