source: trunk/forum/styles/wowblue/template/posting_attach_body.html

Last change on this file was 400, checked in by george, 16 years ago
  • Přidáno: Nové forum phpBB 3.
File size: 2.3 KB
Line 
1<tr>
2 <th colspan="2">
3 <script type="text/javascript">
4 // <![CDATA[
5 /**
6 * Show upload progress bar
7 */
8 function popup_progress_bar()
9 {
10 close_waitscreen = 0;
11 // no scrollbars
12 popup('{UA_PROGRESS_BAR}', 400, 200, '_upload');
13 }
14 // ]]>
15 </script>
16
17 <!-- IF S_CLOSE_PROGRESS_WINDOW -->
18 <script type="text/javascript">
19 // <![CDATA[
20 close_waitscreen = 1;
21 // ]]>
22 </script>
23 <!-- ENDIF -->
24
25 {L_ADD_ATTACHMENT}
26 </th>
27</tr>
28<tr>
29 <td class="row3" colspan="2"><span class="gensmall">{L_ADD_ATTACHMENT_EXPLAIN}</span></td>
30</tr>
31
32<tr>
33 <td class="row1"><b class="genmed">{L_FILENAME}</b></td>
34 <td class="row2"><input type="file" name="fileupload" size="40" maxlength="{FILESIZE}" value="" class="btnfile" /></td>
35</tr>
36<tr>
37 <td class="row1"><b class="genmed">{L_FILE_COMMENT}</b></td>
38 <td class="row2">
39 <table border="0" cellspacing="0" cellpadding="2">
40 <tr>
41 <td><textarea class="post" name="filecomment" rows="3" cols="35">{FILE_COMMENT}</textarea>&nbsp;</td>
42 <td valign="top">
43 <table border="0" cellspacing="4" cellpadding="0">
44 <tr>
45 <td><input class="btnlite" type="submit" style="width:150px" name="add_file" value="{L_ADD_FILE}" onclick="popup_progress_bar();" /></td>
46 </tr>
47 </table>
48 </td>
49 </tr>
50 </table>
51 </td>
52</tr>
53
54<!-- IF S_HAS_ATTACHMENTS -->
55 <tr>
56 <th colspan="2">{L_POSTED_ATTACHMENTS}</th>
57 </tr>
58
59 <!-- BEGIN attach_row -->
60 <tr>
61 <td class="row1"><b class="genmed">{L_FILENAME}</b></td>
62 <td class="row2"><a class="genmed" href="{attach_row.U_VIEW_ATTACHMENT}" target="_blank">{attach_row.FILENAME}</a></td>
63 </tr>
64 <tr>
65 <td class="row1"><b class="genmed">{L_FILE_COMMENT}</b></td>
66 <td class="row2">{attach_row.S_HIDDEN}
67 <table border="0" cellspacing="0" cellpadding="2">
68 <tr>
69 <td><textarea class="post" name="comment_list[{attach_row.ASSOC_INDEX}]" rows="3" cols="35" wrap="virtual">{attach_row.FILE_COMMENT}</textarea>&nbsp;</td>
70 <td valign="top">
71 <table border="0" cellspacing="4" cellpadding="0">
72 <tr>
73 <td><input class="btnlite" type="submit" style="width:150px" name="delete_file[{attach_row.ASSOC_INDEX}]" value="{L_DELETE_FILE}" /></td>
74 </tr>
75 </table>
76 </td>
77 </tr>
78 </table>
79 </td>
80 </tr>
81 <!-- END attach_row -->
82
83<!-- ENDIF -->
Note: See TracBrowser for help on using the repository browser.