Added attachments block;

Added missing $phpEx to announcements block; 
Removed unnecessary get_template_side from announcements block; 
Added theme icons needed for attachments block; 
Changed column widths to the config values that are being changed in the ACP;
This commit is contained in:
Marc Alexander
2010-08-28 20:43:09 +00:00
parent 15a6408028
commit ce67e8544a
7 changed files with 440 additions and 14 deletions

View File

@@ -0,0 +1,14 @@
<!--version $Id$ //-->
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --><img src="{T_THEME_PATH}/images/portal/portal_attach.png" width="16" height="16" alt="" />&nbsp;<!-- ENDIF -->{L_ATTACHMENTS}{$LR_BLOCK_H_R}
<!-- IF .attach -->
<span style="float:left;"><strong>{L_FILENAME}</strong></span><br />
<!-- BEGIN attach -->
<span style="float:left;" class="portal-gensmall"><img src="{T_THEME_PATH}/images/portal/icon_topic_attach.gif" alt="" />&nbsp;<a href="{attach.U_TOPIC}" title="{attach.REAL_FILENAME}"><strong>{attach.FILENAME}</strong></a></span><br style="clear:both" />
<span style="float:left;padding-right:10px;">{L_FILESIZE}:</span><span style="float:right;padding-right:10px;" class="portal-gensmall"><strong>{attach.FILESIZE}</strong></span><br style="clear:both" />
<span style="float:left;padding-right:10px;">{L_DOWNLOADS}:</span><span style="float:right;padding-right:10px;" class="portal-gensmall"><strong>{attach.DOWNLOAD_COUNT}</strong></span><br style="clear:both" />
<!-- IF not attach.S_LAST_ROW --><hr class="dashed" /><!-- ENDIF -->
<!-- END .attach -->
<!-- ELSE -->
<span style="float:left;" class="portal-gensmall"><strong>{L_NO_ATTACHMENTS}</strong></span><br />
<!-- ENDIF -->
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R}

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1003 B