anchor.diff:  			            out.println("<a name=\"attachments\"></a>");
   			          }
                   out.flush();
  -                String attProfile = kmeliaScc.getProfile();
                   if (!attachmentsUpdatable) {
                     attProfile = "user";
                   }
  
positive.code:   String updaterId = pubDetail.getUpdaterId();
  
    boolean highlightFirst = resources.getSetting("highlightFirstOccurence", false);
  %>
  
  <c:set var="kmeliaPubli" value="<%=kmeliaPublication%>"/>
  
negative.code: 				      <%
  				          }
  				        }
  				        %>
                <viewTags:viewAttachmentsAsContent componentInstanceId="<%= componentId %>"
                                                   resourceType="<%=resourceType %>"
                                                   resourceId="<%=id%>"
                                                   contentLanguage="<%=contentLanguage%>"
                                                   highestUserRole="<%=SilverpeasRole.from(attProfile)%>"/>
                <%
  
  				        out.println("</div>");
  
                          if (kmeliaScc.getInvisibleTabs().indexOf(kmeliaScc.TAB_COMMENT) == -1 && !kmaxMode)	 {
  