anchor.diff:  								  	displayAllVersionsLink = true;
   								}
   								%>
  -								<% if (displayAllVersionsLink) { %>
  +								<% if (displayAllVersionsLink && !hideAllVersionsLink) { %>
   									<br/>>> <a href="javaScript:viewPublicVersions('<%=document.getPk().getId()%>')"><%=attMessages.getString("allVersions")%></a><br/>
   								<% } %>
   							</li>
  
positive.code: 	String s_topicRightsEnabled = request.getParameter("TopicRightsEnabled");
  	String sIndexIt		= request.getParameter("IndexIt");
  	String callbackURL  = request.getParameter("CallbackUrl");
  	String xmlForm 		= m_MainSessionCtrl.getOrganizationController().getComponentParameterValue(componentId, "XmlFormForFiles");;
  	
  	boolean indexIt = "1".equals(sIndexIt);
  
  
negative.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;
  