1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/styles/subsilver2/template/ucp_attachments.html Wed Mar 07 16:41:10 2012 +0400
1.3 @@ -0,0 +1,58 @@
1.4 +<!-- INCLUDE ucp_header.html -->
1.5 +
1.6 +<!-- IF S_ATTACHMENT_ROWS -->
1.7 +
1.8 + <table class="tablebg" width="100%" cellspacing="1">
1.9 + <tr>
1.10 + <th nowrap="nowrap">#</th>
1.11 + <th nowrap="nowrap" width="15%"><a href="{U_SORT_FILENAME}">{L_FILENAME}</a></th>
1.12 + <th nowrap="nowrap" width="5%"><a href="{U_SORT_POST_TIME}">{L_POST_TIME}</a></th>
1.13 + <th nowrap="nowrap" width="5%"><a href="{U_SORT_FILESIZE}">{L_FILESIZE}</a></th>
1.14 + <th nowrap="nowrap" width="5%"><a href="{U_SORT_DOWNLOADS}">{L_DOWNLOADS}</a></th>
1.15 + <th width="2%" nowrap="nowrap">{L_DELETE}</th>
1.16 + </tr>
1.17 + <!-- IF TOTAL_ATTACHMENTS -->
1.18 + <tr>
1.19 + <td class="row3" colspan="6">
1.20 + <table width="100%" cellspacing="1">
1.21 + <tr>
1.22 + <td class="nav" valign="middle" nowrap="nowrap"> {PAGE_NUMBER}<br /></td>
1.23 + <td class="gensmall" nowrap="nowrap"> [ {TOTAL_ATTACHMENTS} ] </td>
1.24 + <td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td>
1.25 + </tr>
1.26 + </table>
1.27 + </td>
1.28 + </tr>
1.29 + <!-- ENDIF -->
1.30 + <!-- BEGIN attachrow -->
1.31 + <!-- IF attachrow.S_ROW_COUNT is even --><tr class="row2"><!-- ELSE --><tr class="row1"><!-- ENDIF -->
1.32 +
1.33 + <td class="genmed" style="padding: 4px;" align="center" width="2%"> {attachrow.ROW_NUMBER} </td>
1.34 + <td style="padding: 4px;"><a class="gen" href="{attachrow.U_VIEW_ATTACHMENT}">{attachrow.FILENAME}</a><br /><span class="gensmall"><!-- IF attachrow.S_IN_MESSAGE --><b>{L_PM}: </b><!-- ELSE --><b>{L_TOPIC}: </b><!-- ENDIF --><a href="{attachrow.U_VIEW_TOPIC}">{attachrow.TOPIC_TITLE}</a></span></td>
1.35 + <td class="gensmall" style="padding: 4px;" align="center" valign="middle" nowrap="nowrap"> {attachrow.POST_TIME} </td>
1.36 + <td class="genmed" style="padding: 4px;" align="center" valign="middle" nowrap="nowrap">{attachrow.SIZE}</td>
1.37 + <td class="genmed" style="padding: 4px;" align="center">{attachrow.DOWNLOAD_COUNT}</td>
1.38 + <td style="padding: 4px;" align="center" valign="middle"><input type="checkbox" class="radio" name="attachment[{attachrow.ATTACH_ID}]" value="1" /></td>
1.39 + </tr>
1.40 + <!-- END attachrow -->
1.41 + <tr>
1.42 + <td class="cat" colspan="6"><div style="float: {S_CONTENT_FLOW_BEGIN};"><span class="gensmall">{L_SORT_BY}: </span><select name="sk">{S_SORT_OPTIONS}</select> <select name="sd">{S_ORDER_SELECT}</select> <input class="btnlite" type="submit" name="sort" value="{L_SORT}" /></div><div style="float: {S_CONTENT_FLOW_END};"><input class="btnlite" type="submit" name="delete" value="{L_DELETE_MARKED}" /> </div></td>
1.43 + </tr>
1.44 + </table>
1.45 +
1.46 + <div style="float: {S_CONTENT_FLOW_END};"><b class="gensmall"><a href="#" onclick="marklist('ucp', 'attachment', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('ucp', 'attachment', false); return false;">{L_UNMARK_ALL}</a></b></div>
1.47 +
1.48 +<!-- ELSE -->
1.49 +
1.50 + <table class="tablebg" width="100%" cellspacing="1">
1.51 + <tr>
1.52 + <th>{L_TITLE}</th>
1.53 + </tr>
1.54 + <tr class="row1">
1.55 + <td align="center"><b class="genmed">{L_UCP_NO_ATTACHMENTS}</b></td>
1.56 + </tr>
1.57 + </table>
1.58 +
1.59 +<!-- ENDIF -->
1.60 +
1.61 +<!-- INCLUDE ucp_footer.html -->
1.62 \ No newline at end of file