%TMPL:INCLUDE{"rename.pattern"}%



%TMPL:DEF{"titleaction"}%%MAKETEXT{"(move attachment)"}% %TMPL:END%



%TMPL:DEF{"webaction"}% *%MAKETEXT{"Move file attachment"}%* %TMPL:END%



%TMPL:DEF{"pagetitle"}%<h1 class="patternTemplateTitle">%MAKETEXT{"Move attachment"}% [[%ATTACHURL%/%ENCODE{"%FILENAME%"}%][%FILENAME%]]</h1>%TMPL:END%



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



%TMPL:DEF{"namehelp"}%<p>%MAKETEXT{"The new topic chosen must already exist."}%</p>%TMPL:END%



%TMPL:DEF{"newweb"}%<p><select name="newweb" onchange="if (document.rename.newweb.value == 'Trash') { document.rename.newtopic.value = 'TrashAttachment'; }"> %WEBLIST{"<option $marker value=$qname>$name</option>" webs="%TRASHWEB%,public" selection="%WEB%" separator=" "}%  </select></p><input type="hidden" name="attachment" value="%FILENAME%" />%TMPL:END%



%TMPL:DEF{"towebtitle"}%---+++ %MAKETEXT{"Move attachment to web:"}%%TMPL:END%



%TMPL:DEF{"newtopic"}%<p><input name="newtopic" value="" size="20" /> %TMPL:P{"allownonwikiword"}%</p>%TMPL:END%



%TMPL:DEF{"notes"}%   * %MAKETEXT{"The attachment and any history will be moved to the new topic."}%
   * %MAKETEXT{"An error page will be shown if either of the topics are locked by another user."}%
   * %MAKETEXT{"Note that any URLs that refer to the attachment will be broken after this move."}%%TMPL:END%



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



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



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