1 rizwank 1.1 %TMPL:INCLUDE{"twiki"}%
2 %TMPL:INCLUDE{"rename"}%
3 %TMPL:DEF{"titleaction"}%(move attachment) %TMPL:END%
4
5
6
7 %TMPL:DEF{"webaction"}% *Move file attachment* %TMPL:END%
8
9
10
11 %TMPL:DEF{"bodystart"}%
12 <body class="twikiNoViewPage twikiRenamePage" onload="initPage()"><a name="PageTop"></a>%TMPL:END%
13
14
15
16 %TMPL:DEF{"topicaction"}%<div class="twikiTopicAction">
17 <table>
18 <tr>
19 <td class="twikiCancelCol">[[%WEB%.%TOPIC%][Cancel]]</td>
20 <td class="twikiSubmitCol"><input type="submit" class="twikiSubmit" value=" Move " /></td>
21 <td class="twikiAddCol"></td>
22 rizwank 1.1 </tr></table></div>%TMPL:END%
23
24
25
26 %TMPL:DEF{"movewebhelp"}%To delete an attachment move it to web *Trash*, topic *TrashAttachment*.%TMPL:END%
27
28
29
30 %TMPL:DEF{"namehelp"}%The new topic chosen must already exist.%TMPL:END%
31
32
33
34 %TMPL:DEF{"content"}%
35 <form name="rename" action="%SCRIPTURLPATH%/rename%SCRIPTSUFFIX%/%WEB%/%TOPIC%">
36 ---+ Move or Delete File <code>%FILENAME%</code>
37 <div class="twikiVersatileTable">
38 <table>
39 <tr>
40 <th>Change from:</th>
41 <td class="twikiOldCol"><b><nop>%WEB%.%TOPIC%</b></td>
42 <td class="twikiOldCol twikiHelpCol"></td>
43 rizwank 1.1 </tr>
44 <tr>
45 <th>To web:</th>
46 <td class="twikiMainCol"><select name="newweb"> %WEBLIST{"<option $marker value=$qname>$name</option>" webs="Trash,public" selection="%WEB%" separator=" "}% </select></td>
47 <td class="twikiMainCol twikiHelpCol">%TMPL:P{"movewebhelp"}%</td>
48 </tr>
49 <tr>
50 <th>Topic name:</th>
51 <td class="twikiMainCol"><input name="newtopic" value="%TOPIC%" /></td>
52 <td class="twikiMainCol twikiHelpCol">%TMPL:P{"namehelp"}%</td>
53 </tr>
54 </table>
55 </div>
56 <input type="hidden" name="attachment" value="%FILENAME%" />
57 <input type="hidden" name="changeRefs" value="0" />
58 <div class="twikiHelp">
59 *Note:*
60 * The attachment and any history will be moved to the new topic.
61 * An error page will be shown if either of the topics are locked by another user.
62 * Note that any URLs that refer to the attachment will be broken after this move.
63 </div>
64 rizwank 1.1 %TMPL:P{"topicaction"}%
65 </form>%TMPL:END%
|