diff --git a/install.xml b/install.xml index 572472b7..afcf862a 100644 --- a/install.xml +++ b/install.xml @@ -120,6 +120,7 @@ Weitere Sprachen kannst in unserem Internationalen Forum finden: http://www.boar Fixed timezone handling of calendar Fixed incorrect handling of links Fixed mixup with td and tr in subsilver2 calendar block + Added missing HTML file for center block of attachments module Fehlendes IF $S_BLOCK_ICON hinzugefügt @@ -133,6 +134,7 @@ Weitere Sprachen kannst in unserem Internationalen Forum finden: http://www.boar Zeitzonenbehandlung in Kalender korrigiert Falsche Behandlung von Links korrigiert Falsche Benutzung von td und tr im subsilver2 Kalender Block beseitigt + Fehlende HTML Datei des Dateianhänge Moduls für die mittlere Spalte hinzugefügt diff --git a/root/portal/modules/portal_attachments.php b/root/portal/modules/portal_attachments.php index 39097ba3..b419c41b 100644 --- a/root/portal/modules/portal_attachments.php +++ b/root/portal/modules/portal_attachments.php @@ -145,7 +145,7 @@ class portal_attachments_module $template->assign_var('S_DISPLAY_ATTACHMENTS', false); } - return 'attachments.html'; + return 'attachments_center.html'; } function get_template_side($module_id) @@ -246,7 +246,7 @@ class portal_attachments_module $template->assign_var('S_DISPLAY_ATTACHMENTS', false); } - return 'attachments.html'; + return 'attachments_side.html'; } function get_template_acp($module_id) diff --git a/root/styles/prosilver/template/portal/modules/attachments_center.html b/root/styles/prosilver/template/portal/modules/attachments_center.html new file mode 100644 index 00000000..b3a3fc7a --- /dev/null +++ b/root/styles/prosilver/template/portal/modules/attachments_center.html @@ -0,0 +1,17 @@ +{$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R} +
+
+ + {L_FILENAME}
+ +  {attach.FILENAME}
+ {L_FILESIZE}:{attach.FILESIZE}
+ {L_DOWNLOADS}:{attach.DOWNLOAD_COUNT}
+
+ + + {L_NO_ATTACHMENTS}
+ +
+
+{$C_BLOCK_F_L}{$C_BLOCK_F_R} \ No newline at end of file diff --git a/root/styles/prosilver/template/portal/modules/attachments.html b/root/styles/prosilver/template/portal/modules/attachments_side.html similarity index 100% rename from root/styles/prosilver/template/portal/modules/attachments.html rename to root/styles/prosilver/template/portal/modules/attachments_side.html diff --git a/root/styles/subsilver2/template/portal/modules/attachments_center.html b/root/styles/subsilver2/template/portal/modules/attachments_center.html new file mode 100644 index 00000000..c2a22d5f --- /dev/null +++ b/root/styles/subsilver2/template/portal/modules/attachments_center.html @@ -0,0 +1,19 @@ +{$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R} + + + + +
+ + {L_FILENAME}
+ +  {attach.FILENAME}
+ {L_FILESIZE}:{attach.FILESIZE}
+ {L_DOWNLOADS}:{attach.DOWNLOAD_COUNT}
+
+ + + {L_NO_ATTACHMENTS} + +
+{$C_BLOCK_F_L}{$C_BLOCK_F_R} \ No newline at end of file diff --git a/root/styles/subsilver2/template/portal/modules/attachments.html b/root/styles/subsilver2/template/portal/modules/attachments_side.html similarity index 100% rename from root/styles/subsilver2/template/portal/modules/attachments.html rename to root/styles/subsilver2/template/portal/modules/attachments_side.html