1 rizwank 1.1 %TMPL:INCLUDE{"twiki"}%
2
3
4
5 %TMPL:DEF{"script"}%
6 <script type="text/javascript">
7 <!--HIDE
8 function initPage() { }
9 function launchWindow( theWeb, theTopic ) {
10 win = open("%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/" + theWeb + "/" + theTopic + "?skin=plain", theTopic, "titlebar=0,width=500,height=480,resizable,scrollbars");
11 if( win ) {
12 win.focus();
13 }
14 return false;
15 }
16 function checkAll( theCheck ) {
17 // find button element index
18 var j = 0;
19 for( var i = 0; i < document.rename.length; i++ ) {
20 if( document.rename.elements[i].name.match( "RENAME" ) ) {
21 document.rename.elements[i].checked = theCheck;
22 rizwank 1.1 }
23 }
24 }
25 //STOP HIDING-->
26 </script>%TMPL:END%
27
28
29
30 %TMPL:DEF{"bodystart"}%
31 <body class="twikiNoViewPage twikiRenamePage" onload="initPage()"><a name="PageTop"></a>%TMPL:END%
32
33
34
35 %TMPL:DEF{"allownonwikiword"}%<input type="checkbox" class="twikiCheckbox" id="nonwikiword" name="nonwikiword" %NONWIKIWORDFLAG% /><label for="nonwikiword">Allow non <nop>WikiWord for the new topic name</label>%TMPL:END%
36
37
38
39 %TMPL:DEF{"content"}%
40 <form method="post" name="rename" action="%SCRIPTURLPATH%/rename%SCRIPTSUFFIX%/%WEB%/%TOPIC%">
41 ---+ %TMPL:P{"webaction"}% %TOPIC%
42 <div class="twikiVersatileTable">
43 rizwank 1.1 <table>
44 <tr>
45 <th>Change from:</th>
46 <td class="twikiOldCol"><b><nop>%WEB%.%TOPIC%</b></td>
47 <td class="twikiOldCol twikiHelpCol"></td>
48 </tr>
49 <tr>
50 <th>To web:</th>
51 <td class="twikiMainCol">%TMPL:P{"newweb"}%</td>
52 <td class="twikiMainCol twikiHelpCol">%TMPL:P{"movewebhelp"}%</td>
53 </tr>
54 <tr>
55 <th>Topic name:</th>
56 <td class="twikiMainCol">%TMPL:P{"newtopic"}%</td>
57 <td class="twikiMainCol twikiHelpCol">%TMPL:P{"namehelp"}%</td>
58 </tr>
59 <tr>
60 <th></th>
61 <td class="twikiMainCol">%TMPL:P{"allownonwikiword"}%</td>
62 <td class="twikiMainCol twikiHelpCol"></td>
63 </tr>
64 rizwank 1.1 </table>
65 </div>
66
67 <div class="twikiSearchResults"><div class="twikiSearchResultsHeader">Change links in topics that refer to %TOPIC% in the <nop>%WEB% Web:</div>%RESEARCH{ "%TOPIC%" web="%WEB%" noempty="on" showlock="on" nototal="on" regex="on" nosearch="on" order="modified" reverse="on" nosummary="on" showlock="on" renameview="local"}%</div>
68
69 <div class="twikiSearchResults"><div class="twikiSearchResultsHeader">Change links in topics that refer to [[%WEB%.%TOPIC%]] in any Web:</div>%RESEARCH{ "%WEB%\.%TOPIC%" web="all" noempty="on" showlock="on" nototal="on" regex="on" nosearch="on" order="modified" reverse="on" nosummary="on" showlock="on" renameview="global"}%</div>
70 <div class="twikiTopicActionSecondary">
71 <table>
72 <tr>
73 <td><input type="button" class="twikiButton" value="Select all" onclick="checkAll(true);" /><input type="button" class="twikiButton" value="Clear all" onclick="checkAll(false);" /> checkboxes of referenced topics</td>
74 </tr></table></div>
75 <div class="twikiHelp">
76 *Note:*
77 * Get help on
78 <a target="ManagingTopics" onclick="return launchWindow('%TWIKIWEB%','ManagingTopics')" href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%TWIKIWEB%/ManagingTopics">Renaming and moving topics</a>.
79 * Select the Trash Web to delete the topic.
80 * The checkmarked topics will be updated (another form will appear which will _eventually_ allow you to rename any topics that were locked)
81 </div>
82 %TMPL:P{"topicaction"}%
83 %TMPL:P{"hidden"}%
84 </form>
85 rizwank 1.1 %TMPL:END%
86
87
88
89 %TMPL:DEF{"rename"}%
90 %TMPL:P{"htmldoctype"}%
91 %TMPL:P{"head"}%
92 %TMPL:P{"bodystart"}%
93 %TMPL:P{"main"}%
94 %TMPL:P{"bodyend"}%
95 %TMPL:END%
|