(file) Return to attachagain.pattern.tmpl CVS log (file) (dir) Up to [RizwankCVS] / geekymedia_web / twiki / templates

 1 rizwank 1.1 %TMPL:INCLUDE{"attach"}%
 2             
 3             
 4             
 5             %TMPL:DEF{"headerhelp"}% %TMPL:END%
 6             
 7             
 8             
 9             %TMPL:DEF{"webaction"}% Update attachment *%FILENAME%* on *%TOPIC%* %TMPL:END%
10             
11             
12             
13             %TMPL:DEF{"simpleheader"}%
14             ---+ Update image or document on %TOPIC% %TMPL:END%
15             
16             
17             
18             %TMPL:DEF{"previousdetails"}%
19             ---++ Update file <span class="twikiTitle">%FILENAME%</span>
20             <div class="twikiPrevious"><div class="twikiAttachments">
21             <!--%TABLE{tableborder="0" cellpadding="0" cellspacing="0"}%-->
22 rizwank 1.1 %ATTACHTABLE%</div></div> %TMPL:END%
23             
24             
25             
26             %TMPL:DEF{"previous"}%
27               <tr>
28               <th class="twikiOldCol">Previous upload</th>
29               <td class="twikiOldCol">
30                <code>%FILEPATH%</code> <span class="twikiGrayText">%TMPL:P{"fileuser"}%</span>
31               </td>
32               <td class="twikiHelpCol twikiOldCol">Select a new local file to update this attachment.</td>
33              </tr>%TMPL:END%
34             
35             %TMPL:DEF{"extranotes"}%
36                * *Properties:* The comment and visibility (i.e. is attachment hidden) can be changed without 
37                  uploading a file by pressing "Change Properties"; see <a target="HiddenAttachment" onclick="return launchWindow('%TWIKIWEB%','HiddenAttachment')" href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%TWIKIWEB%/HiddenAttachment">HiddenAttachment</a>
38                * *Change comment:* If you use _Change Properties_ to change a comment, the comment shown in 
39                  the topic will change, but the comment shown against the attachment history will be the 
40                  comment when the file was uploaded.
41                * *Local file:* If you select a different file in _Local file:_, it is this that will be 
42                  updated or added.
43 rizwank 1.1 %TMPL:END%
44             
45             
46             
47             %TMPL:DEF{"topicaction"}%<table class="twikiTopicAction">
48             <tr class="twikiTopicActionSecondary">
49             <td class="twikiCancelCol" colspan="3" style="text-align:right;"><a href="%SCRIPTURLPATH%/rename%SCRIPTSUFFIX%/%WEB%/%TOPIC%?attachment=%FILENAME%">Move&nbsp;attachment...</a></td>
50             </tr>
51             <tr class="twikiTopicAction">
52             <td class="twikiCancelCol">[[%WEB%.%TOPIC%][Cancel]]</td>
53             <td class="twikiSubmitCol"><input type="submit" class="twikiSubmit" value="Upload file" /></td>
54             <td class="twikiAddCol"><input type="submit" class="twikiSubmit twikiTertiary" name="changeproperties" value="Change properties only" /></td>
55             </tr>
56             </table>%TMPL:END%
57             
58             
59             
60             %TMPL:DEF{"fileuser"}%(%FILEUSER%)%TMPL:END%
61             
62             
63             
64 rizwank 1.1 %TMPL:P{"attach"}%

Rizwan Kassim
Powered by
ViewCVS 0.9.2