1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/styles/subsilver2/template/posting_attach_body.html Wed Mar 07 16:41:10 2012 +0400
1.3 @@ -0,0 +1,83 @@
1.4 +<tr>
1.5 + <th colspan="2">
1.6 + <script type="text/javascript">
1.7 + // <![CDATA[
1.8 + /**
1.9 + * Show upload progress bar
1.10 + */
1.11 + function popup_progress_bar()
1.12 + {
1.13 + close_waitscreen = 0;
1.14 + // no scrollbars
1.15 + popup('{UA_PROGRESS_BAR}', 400, 200, '_upload');
1.16 + }
1.17 + // ]]>
1.18 + </script>
1.19 +
1.20 + <!-- IF S_CLOSE_PROGRESS_WINDOW -->
1.21 + <script type="text/javascript">
1.22 + // <![CDATA[
1.23 + close_waitscreen = 1;
1.24 + // ]]>
1.25 + </script>
1.26 + <!-- ENDIF -->
1.27 +
1.28 + {L_ADD_ATTACHMENT}
1.29 + </th>
1.30 +</tr>
1.31 +<tr>
1.32 + <td class="row3" colspan="2"><span class="gensmall">{L_ADD_ATTACHMENT_EXPLAIN}</span></td>
1.33 +</tr>
1.34 +
1.35 +<tr>
1.36 + <td class="row1"><b class="genmed">{L_FILENAME}</b></td>
1.37 + <td class="row2"><input type="file" name="fileupload" size="40" maxlength="{FILESIZE}" value="" class="btnfile" /></td>
1.38 +</tr>
1.39 +<tr>
1.40 + <td class="row1"><b class="genmed">{L_FILE_COMMENT}</b></td>
1.41 + <td class="row2">
1.42 + <table border="0" cellspacing="0" cellpadding="2">
1.43 + <tr>
1.44 + <td><textarea class="post" name="filecomment" rows="3" cols="35">{FILE_COMMENT}</textarea> </td>
1.45 + <td valign="top">
1.46 + <table border="0" cellspacing="4" cellpadding="0">
1.47 + <tr>
1.48 + <td><input class="btnlite" type="submit" style="width:150px" name="add_file" value="{L_ADD_FILE}" onclick="popup_progress_bar();" /></td>
1.49 + </tr>
1.50 + </table>
1.51 + </td>
1.52 + </tr>
1.53 + </table>
1.54 + </td>
1.55 +</tr>
1.56 +
1.57 +<!-- IF S_HAS_ATTACHMENTS -->
1.58 + <tr>
1.59 + <th colspan="2">{L_POSTED_ATTACHMENTS}</th>
1.60 + </tr>
1.61 +
1.62 + <!-- BEGIN attach_row -->
1.63 + <tr>
1.64 + <td class="row1"><b class="genmed">{L_FILENAME}</b></td>
1.65 + <td class="row2"><a class="genmed" href="{attach_row.U_VIEW_ATTACHMENT}" target="_blank">{attach_row.FILENAME}</a></td>
1.66 + </tr>
1.67 + <tr>
1.68 + <td class="row1"><b class="genmed">{L_FILE_COMMENT}</b></td>
1.69 + <td class="row2">{attach_row.S_HIDDEN}
1.70 + <table border="0" cellspacing="0" cellpadding="2">
1.71 + <tr>
1.72 + <td><textarea class="post" name="comment_list[{attach_row.ASSOC_INDEX}]" rows="3" cols="35" wrap="virtual">{attach_row.FILE_COMMENT}</textarea> </td>
1.73 + <td valign="top">
1.74 + <table border="0" cellspacing="4" cellpadding="0">
1.75 + <tr>
1.76 + <td><input class="btnlite" type="submit" style="width:150px" name="delete_file[{attach_row.ASSOC_INDEX}]" value="{L_DELETE_FILE}" /></td>
1.77 + </tr>
1.78 + </table>
1.79 + </td>
1.80 + </tr>
1.81 + </table>
1.82 + </td>
1.83 + </tr>
1.84 + <!-- END attach_row -->
1.85 +
1.86 +<!-- ENDIF -->