anchor.diff:  	String s_topicRightsEnabled = request.getParameter("TopicRightsEnabled");
   	String sIndexIt		= request.getParameter("IndexIt");
   	String callbackURL  = request.getParameter("CallbackUrl");
  -	String xmlForm 		= m_MainSessionCtrl.getOrganizationController().getComponentParameterValue(componentId, "XmlFormForFiles");;
  +	String xmlForm 		= m_MainSessionCtrl.getOrganizationController().getComponentParameterValue(componentId, "XmlFormForFiles");
  +	String sHideAllVersionsLink = m_MainSessionCtrl.getOrganizationController().getComponentParameterValue(componentId, "hideAllVersionsLink");
  +	boolean hideAllVersionsLink = StringUtil.getBooleanValue(sHideAllVersionsLink) && profile.equals("user");
   	
   	boolean indexIt = "1".equals(sIndexIt);
   
  
positive.code: 									<br/><a rel="<%=xmlURL%>" href="#" title="<%=document.getName()%>"><%=attMessages.getString("versioning.xmlForm.View")%></a>
  									<%
  								}
  								boolean displayAllVersionsLink = false;  
  								if ("user".equals(profile) && document_version.getMajorNumber() > 1)
  								{
  									displayAllVersionsLink = true;
  
negative.code: 								  	displayAllVersionsLink = true;
  								}
  								%>
  								<% if (displayAllVersionsLink && !hideAllVersionsLink) { %>
  									<br/>>> <a href="javaScript:viewPublicVersions('<%=document.getPk().getId()%>')"><%=attMessages.getString("allVersions")%></a><br/>
  								<% } %>
  							</li>
  