From f5262eb92885e76eb6ebd09265882426f4b11b31 Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Sat, 26 Apr 2014 09:15:22 -0700 Subject: [ticket/12332] Accomplish all word creaking in template and CSS PHPBB3-12332 --- phpBB/adm/style/acp_attachments.html | 22 +++++++++++----------- phpBB/adm/style/acp_users.html | 10 +++++----- phpBB/includes/acp/acp_attachments.php | 4 ++-- phpBB/includes/acp/acp_users.php | 2 +- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/phpBB/adm/style/acp_attachments.html b/phpBB/adm/style/acp_attachments.html index 5d35666fdd..fd071588e6 100644 --- a/phpBB/adm/style/acp_attachments.html +++ b/phpBB/adm/style/acp_attachments.html @@ -331,15 +331,15 @@
{L_TITLE} - +
- - - - - - + + + + + + @@ -390,13 +390,13 @@ -
{L_FILENAME}{L_FILEDATE}{L_FILESIZE}{L_ATTACH_POST_ID}{L_ATTACH_TO_POST}{L_DELETE}{L_FILENAME}{L_FILEDATE}{L_FILESIZE}{L_ATTACH_POST_ID}{L_ATTACH_TO_POST}{L_DELETE}
+
- - - + + + diff --git a/phpBB/adm/style/acp_users.html b/phpBB/adm/style/acp_users.html index b84e32013f..d1be177cfa 100644 --- a/phpBB/adm/style/acp_users.html +++ b/phpBB/adm/style/acp_users.html @@ -164,14 +164,14 @@ -
{L_FILENAME}{L_POSTED}{L_FILESIZE}{L_MARK}{L_POSTED}{L_FILESIZE}{L_MARK}
+
- - - - + + + + diff --git a/phpBB/includes/acp/acp_attachments.php b/phpBB/includes/acp/acp_attachments.php index 8eef2da24b..51c80d0385 100644 --- a/phpBB/includes/acp/acp_attachments.php +++ b/phpBB/includes/acp/acp_attachments.php @@ -1058,7 +1058,7 @@ class acp_attachments $template->assign_block_vars('orphan', array( 'FILESIZE' => get_formatted_filesize($row['filesize']), 'FILETIME' => $user->format_date($row['filetime']), - 'REAL_FILENAME' => utf8_wordwrap(utf8_basename((string) $row['real_filename']), 40, '
', true), + 'REAL_FILENAME' => utf8_basename((string) $row['real_filename']), 'PHYSICAL_FILENAME' => utf8_basename($row['physical_filename']), 'ATTACH_ID' => $row['attach_id'], 'POST_IDS' => (!empty($post_ids[$row['attach_id']])) ? $post_ids[$row['attach_id']] : '', @@ -1223,7 +1223,7 @@ class acp_attachments 'ATTACHMENT_POSTER' => get_username_string('full', (int) $row['poster_id'], (string) $row['username'], (string) $row['user_colour'], (string) $row['username']), 'FILESIZE' => get_formatted_filesize((int) $row['filesize']), 'FILETIME' => $user->format_date((int) $row['filetime']), - 'REAL_FILENAME' => (!$row['in_message']) ? utf8_wordwrap(utf8_basename((string) $row['real_filename']), 40, '
', true) : '', + 'REAL_FILENAME' => (!$row['in_message']) ? utf8_basename((string) $row['real_filename']) : '', 'PHYSICAL_FILENAME' => utf8_basename((string) $row['physical_filename']), 'EXT_GROUP_NAME' => (!empty($extensions[$row['extension']]['group_name'])) ? $user->lang['EXT_GROUP_' . $extensions[$row['extension']]['group_name']] : '', 'COMMENT' => $comment, diff --git a/phpBB/includes/acp/acp_users.php b/phpBB/includes/acp/acp_users.php index 289672cdc3..85ed4c0bfb 100644 --- a/phpBB/includes/acp/acp_users.php +++ b/phpBB/includes/acp/acp_users.php @@ -2082,7 +2082,7 @@ class acp_users } $template->assign_block_vars('attach', array( - 'REAL_FILENAME' => utf8_wordwrap(utf8_basename((string) $row['real_filename']), 40, '
', true), + 'REAL_FILENAME' => utf8_basename((string) $row['real_filename']), 'COMMENT' => nl2br($row['attach_comment']), 'EXTENSION' => $row['extension'], 'SIZE' => get_formatted_filesize($row['filesize']), -- cgit v1.2.1
{L_FILENAME}{L_POST_TIME}{L_FILESIZE}{L_DOWNLOADS}{L_MARK}{L_POST_TIME}{L_FILESIZE}{L_DOWNLOADS}{L_MARK}