anchor.diff:        <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) + "...";      
  +      if( sname.length() > MAXATTACHNAMELENGTH ) sname = sname.substring(0,MAXATTACHNAMELENGTH) + "...";
       %>
       <tr>
         <td><div id="attach-<%= attachtype %>" class="attachtype"><%= attachtype %></div></td>
  
positive.code:   if( ! mgr.checkPermission( s, permission ) ) {
  %>
  <div class="formhelp"><fmt:message key="attach.add.permission"/></div>
  <% 
    } 
  %>
  --%>
  
  
negative.code:       <td>
          <input type="submit" name="upload"  value="<fmt:message key='attach.add.submit'/>" style="display:none;"/>
          <input type="button" name="proxy1" value="Upload" onclick="this.form.upload.click();"/>
          <input type="hidden" name="action" value="upload" />
        </td>
      </tr>
      </table>
  