1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 14:30:32 +02:00

initial draft functionality, loading (and a bunch of other stuff) is not implemented yet + bugfixes.

git-svn-id: file:///svn/phpbb/trunk@4467 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2003-09-04 18:30:20 +00:00
parent 52e42838d9
commit fec9073f3a
11 changed files with 415 additions and 60 deletions

View File

@@ -323,8 +323,7 @@ function display_attachments($attachment_data, &$update_count, $force_physical =
$filesize = ($filesize >= 1048576) ? round((round($filesize / 1048576 * 100) / 100), 2) : (($filesize >= 1024) ? round((round($filesize / 1024 * 100) / 100), 2) : $filesize);
$display_name = $attachment['real_filename'];
$comment = stripslashes(trim(str_replace("\n", '<br />', $attachment['comment'])));
$comment = htmlspecialchars(str_replace("\\'", "'", $comment));
$comment = str_replace("\n", '<br />', $attachment['comment']);
$denied = FALSE;