Added missing HTML file for center block of attachments module

This commit is contained in:
Marc Alexander
2011-04-02 19:02:24 +02:00
parent edd20076ed
commit c3c9d59267
6 changed files with 40 additions and 2 deletions

View File

@@ -120,6 +120,7 @@ Weitere Sprachen kannst in unserem Internationalen Forum finden: http://www.boar
<change>Fixed timezone handling of calendar</change> <change>Fixed timezone handling of calendar</change>
<change>Fixed incorrect handling of links</change> <change>Fixed incorrect handling of links</change>
<change>Fixed mixup with td and tr in subsilver2 calendar block</change> <change>Fixed mixup with td and tr in subsilver2 calendar block</change>
<change>Added missing HTML file for center block of attachments module</change>
</changelog> </changelog>
<changelog lang="de"> <changelog lang="de">
<change>Fehlendes IF $S_BLOCK_ICON hinzugefügt</change> <change>Fehlendes IF $S_BLOCK_ICON hinzugefügt</change>
@@ -133,6 +134,7 @@ Weitere Sprachen kannst in unserem Internationalen Forum finden: http://www.boar
<change>Zeitzonenbehandlung in Kalender korrigiert</change> <change>Zeitzonenbehandlung in Kalender korrigiert</change>
<change>Falsche Behandlung von Links korrigiert</change> <change>Falsche Behandlung von Links korrigiert</change>
<change>Falsche Benutzung von td und tr im subsilver2 Kalender Block beseitigt</change> <change>Falsche Benutzung von td und tr im subsilver2 Kalender Block beseitigt</change>
<change>Fehlende HTML Datei des Dateianhänge Moduls für die mittlere Spalte hinzugefügt</change>
</changelog> </changelog>
</entry> </entry>
<entry> <entry>

View File

@@ -145,7 +145,7 @@ class portal_attachments_module
$template->assign_var('S_DISPLAY_ATTACHMENTS', false); $template->assign_var('S_DISPLAY_ATTACHMENTS', false);
} }
return 'attachments.html'; return 'attachments_center.html';
} }
function get_template_side($module_id) function get_template_side($module_id)
@@ -246,7 +246,7 @@ class portal_attachments_module
$template->assign_var('S_DISPLAY_ATTACHMENTS', false); $template->assign_var('S_DISPLAY_ATTACHMENTS', false);
} }
return 'attachments.html'; return 'attachments_side.html';
} }
function get_template_acp($module_id) function get_template_acp($module_id)

View File

@@ -0,0 +1,17 @@
{$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R}
<div class="panel bg1" style="margin-bottom: 0px">
<div class="inner"><span class="portal-corners-top-inner"></span>
<!-- 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 -->
<span class="portal-corners-bottom-inner"></span></div>
</div>
{$C_BLOCK_F_L}{$C_BLOCK_F_R}

View File

@@ -0,0 +1,19 @@
{$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R}
<table class="tablebg" cellspacing="1" width="100%">
<tr class="row1">
<td style="padding:5px 5px 5px 5px;">
<!-- IF .attach -->
<span style="float:left;"><strong>{L_FILENAME}</strong></span><br style="clear:both" />
<!-- BEGIN attach -->
<span style="float:left;" class="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;">{L_FILESIZE}:</span><span style="float:right;" class="gensmall"><strong>{attach.FILESIZE}</strong></span><br style="clear:both" />
<span style="float:left;">{L_DOWNLOADS}:</span><span style="float:right;" class="gensmall"><strong>{attach.DOWNLOAD_COUNT}</strong></span><br style="clear:both" />
<!-- IF not attach.S_LAST_ROW --><hr /><!-- ENDIF -->
<!-- END attach -->
<!-- ELSE -->
<span style="float:left;" class="gensmall"><strong>{L_NO_ATTACHMENTS}</strong></span>
<!-- ENDIF -->
</td>
</tr>
</table>
{$C_BLOCK_F_L}{$C_BLOCK_F_R}