anchor.diff:  <%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>
   <%@ page import="com.ecyrd.jspwiki.*" %>
   <%@ page import="com.ecyrd.jspwiki.auth.*" %>
  +<%@ page import="com.ecyrd.jspwiki.ui.progress.*" %>
   <%@ page import="com.ecyrd.jspwiki.auth.permissions.*" %>
   <%@ page import="java.security.Permission" %>
   <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
  
positive.code:       <td colspan="2"><div class="formhelp"><fmt:message key="attach.add.info" /></div></td>
      </tr>
      <tr>
        <td><label for="content"><fmt:message key="attach.add.selectfile"/></label></td> 
        <td><input type="file" name="content" id="content" size="32"/></td>
      </tr>
      <tr>
        <td><label for="changenote"><fmt:message key="attach.add.changenote"/></label></td> 
        <td><input type="text" name="changenote" id="changenote" maxlength="80" size="60" />
      <input type="hidden" name="nextpage" value="<wiki:UploadLink format="url"/>" /></td>
      </tr>
  
negative.code:       <wiki:Permission permission="delete"><th><fmt:message key="info.actions"/></th></wiki:Permission>
        <th width="30%"><fmt:message key="info.changenote"/></th>
      </tr>
  
      <wiki:AttachmentsIterator id="att">
      <%
        String name = att.getFileName();
        int dot = name.lastIndexOf(".");
        String attachtype = ( dot != -1 ) ? name.substring(dot+1) : "";
  
        String sname = name;
        if( sname.length() > MAXATTACHNAMELENGTH ) sname = sname.substring(0,MAXATTACHNAMELENGTH) + "...";
      %>
      <tr>
        <td><div id="attach-<%= attachtype %>" class="attachtype"><%= attachtype %></div></td>
  