Blame Identity/Webenv/Trac/templates/attachment.cs

ef5584
ef5584
ef5584
ef5584
ef5584
ef5584
ef5584
ef5584
ef5584
 

Add Attachment to

ef5584
   var:attachment.parent.name ?>
ef5584
 <form id="attachment" method="post" enctype="multipart/form-data" action="">
ef5584
  
ef5584
   <label>File:
<input type="file" name="attachment" /></label>
ef5584
  
ef5584
  <fieldset>
ef5584
   <legend>Attachment Info</legend>
ef5584
   
ef5584
    
ef5584
     <label>Your email or username:
ef5584
     
ef5584
       var:attachment.author?>" /></label>
ef5584
    
ef5584
   
ef5584
   
ef5584
    <label>Description of the file (optional):
ef5584
    <input type="text" name="description" size="60" /></label>
ef5584
   
ef5584
   
ef5584
   
ef5584
    <label><input type="checkbox" name="replace" />
ef5584
    Replace existing attachment of the same name</label>
ef5584
   
ef5584
   
ef5584
  </fieldset>
ef5584
  
ef5584
   <input type="hidden" name="action" value="new" />
ef5584
   <input type="hidden" name="type" value="<?cs var:attachment.parent.type ?>" />
ef5584
   <input type="hidden" name="id" value="<?cs var:attachment.parent.id ?>" />
ef5584
   <input type="submit" value="Add attachment" />
ef5584
   <input type="submit" name="cancel" value="Cancel" />
ef5584
  
ef5584
 </form>
ef5584
ef5584
 

ef5584
   var:attachment.parent.name ?>: 
ef5584
 

Are you sure you want to delete this attachment?

ef5584
 This is an irreversible operation.

ef5584
 
ef5584
  <form method="post" action="">
ef5584
   <input type="hidden" name="action" value="delete" />
ef5584
   <input type="submit" name="cancel" value="Cancel" />
ef5584
   <input type="submit" value="Delete attachment" />
ef5584
  </form>
ef5584
 
ef5584
ef5584
 

ef5584
   var:attachment.parent.name ?>
ef5584
  call:list_of_attachments(attachment.list, attachment.attach_href) ?>
ef5584
ef5584
 

ef5584
   var:attachment.parent.name ?>: 
ef5584
 
ef5584
   
ef5584
    File ,  
ef5584
    (added by ,   ago)
ef5584
   
ef5584
   
ef5584
  
ef5584
 
ef5584
 
ef5584
  if:attachment.preview ?>
ef5584
   
ef5584
  elif:attachment.max_file_size_reached ?>
ef5584
   HTML preview not available, since the file size exceeds
ef5584
    bytes. You may 
ef5584
     var:attachment.raw_href ?>">download the file instead.
ef5584
  else ?>
ef5584
   HTML preview not available. To view the file,
ef5584
   download the file.
ef5584
  /if ?>
ef5584
 
ef5584
 
ef5584
  <form method="get" action="">
ef5584
   <input type="hidden" name="action" value="delete" />
ef5584
   <input type="submit" value="Delete attachment" />
ef5584
  </form>
ef5584
 
ef5584
ef5584
ef5584
ef5584