%TMPL:INCLUDE{"attach"}%



%TMPL:DEF{"headerhelp"}% %TMPL:END%



%TMPL:DEF{"webaction"}% %MAKETEXT{"Update attachment [_1] on [_2]" args="*%FILENAME%*,*%TOPIC%*"}% %TMPL:END%



%TMPL:DEF{"simpleheader"}%
---+ %MAKETEXT{"Update image or document on [_1]" args="%TOPIC%"}% %TMPL:END%



%TMPL:DEF{"previousdetails"}%
---+++ %MAKETEXT{"Update file [_1]" args="%FILENAME%"}%

<div class="patternPrevious"><div class="twikiAttachments">
%ATTACHTABLE% </div></div>
%TMPL:END%



%TMPL:DEF{"changepropertiesaction"}%
<tr>
	<th> </th>
	<td colspan="2">
		<input type="submit" class="twikiButton" name="changeproperties" value='%MAKETEXT{"Change properties only"}%' />
	</td>
</tr>%TMPL:END%



%TMPL:DEF{"previous"}%
  <tr>
  <th class="patternOldCol">%MAKETEXT{"Previous upload"}%</th>
  <td class="patternOldCol">
   <code>%FILEPATH%</code> <span class="twikiGrayText">%TMPL:P{"fileuser"}%</span>
  </td>
  <td class="patternHelpCol">%MAKETEXT{"Select a new local file to update this attachment."}%</td>
 </tr>%TMPL:END%



%TMPL:DEF{"extranotes"}%
   * %MAKETEXT{"*Properties:* The comment and visibility (i.e. is attachment hidden) can be changed without uploading a file by pressing \"Change Properties only\"; see <a target=\"HiddenAttachment\" onclick=\"return launchWindow('[_1]','HiddenAttachment')\" href=\"[_2]\" rel='nofollow'>HiddenAttachment</a>." args="%TWIKIWEB%, %SCRIPTURLPATH{"view"}%/%TWIKIWEB%/HiddenAttachment"}%
   * %MAKETEXT{"*Change comment:* If you use _Change Properties_ to change a comment, the comment shown in the topic will change, but the comment shown against the attachment history will be the comment when the file was uploaded."}%
   * %MAKETEXT{"*Local file:* If you select a different file in _Local file:_, it is this that will be updated or added."}%
%TMPL:END%


%TMPL:DEF{"movedelete"}%
<div class="patternMoveAttachment"><div class="patternActionButtons"><a href="%SCRIPTURLPATH{"rename"}%/%WEB%/%TOPIC%?attachment=%FILENAME%" rel='nofollow'>%ICON{move}% <span class="twikiLinkLabel">%MAKETEXT{"Move"}%</span></a> %MAKETEXT{"or"}% <a href="%SCRIPTURLPATH{"rename"}%/%WEB%/%TOPIC%?attachment=%FILENAME%&web=%TRASHWEB%&template=deleteattachment" rel='nofollow'>%ICON{trash}% <span class="twikiLinkLabel">%MAKETEXT{"Delete"}%</span></a> =%FILENAME%= </div></div>%TMPL:END%



%TMPL:DEF{"topicactionbuttons"}%<input type="submit" class="twikiSubmit" value='%MAKETEXT{"Upload file"}%' /> %MAKETEXT{"or"}% %TMPL:P{"canceltopicaction"}%%TMPL:END%



%TMPL:DEF{"fileuser"}%(%FILEUSER%)%TMPL:END%



%TMPL:P{"attach"}%
