das Testsystem wurde etwas belästigt....hier kommt die Lösung:
ÖFFNE viewtopic.php
FINDE:
Code: Alles auswählen
if (!empty($attachments[$row['post_id']]))
{
parse_attachments($forum_id, $message, $attachments[$row['post_id']], $update_count);
}
Code: Alles auswählen
if (!empty($attachments[$row['post_id']]))
{
parse_attachments($forum_id, $message, $attachments[$row['post_id']], $update_count, false, $row['post_id']);
}
ÖFFNE nun: includes/functions_content.php
FINDE:
Code: Alles auswählen
function parse_attachments($forum_id, &$message, &$attachments, &$update_count, $preview = false)
Code: Alles auswählen
function parse_attachments($forum_id, &$message, &$attachments, &$update_count, $preview = false, $post_id = false)
FINDE:
Code: Alles auswählen
$block_array += array(
'UPLOAD_ICON' => $upload_icon,
'FILESIZE' => $filesize['value'],
'SIZE_LANG' => $filesize['unit'],
'DOWNLOAD_NAME' => utf8_basename($attachment['real_filename']),
'COMMENT' => $comment,
);
Code: Alles auswählen
$block_array += array(
'UPLOAD_ICON' => $upload_icon,
'FILESIZE' => $filesize['value'],
'SIZE_LANG' => $filesize['unit'],
'DOWNLOAD_NAME' => utf8_basename($attachment['real_filename']),
'COMMENT' => $comment,
'REL_POST_ID' => $post_id,
);
ÖFFNE styles/prosilver/template/attachment.html
FINDE:
Code: Alles auswählen
<!-- IF _file.S_THUMBNAIL -->
<dl class="thumbnail">
<dt><a href="{_file.U_DOWNLOAD_LINK}"><img src="{_file.THUMB_IMAGE}" alt="{_file.DOWNLOAD_NAME}" title="{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}" /></a></dt>
Code: Alles auswählen
<!-- IF _file.S_THUMBNAIL -->
<dl class="thumbnail">
<dt><a href="{_file.U_DOWNLOAD_LINK}"><img src="{_file.THUMB_IMAGE}" rel="lightbox[{_file.REL_POST_ID}]" alt="{_file.DOWNLOAD_NAME}" title="{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}" /></a></dt>

