mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/12332] Accomplish all word creaking in template and CSS
PHPBB3-12332
This commit is contained in:
parent
3bebbc05ee
commit
f5262eb928
4 changed files with 19 additions and 19 deletions
|
@ -331,15 +331,15 @@
|
||||||
<fieldset class="tabulated">
|
<fieldset class="tabulated">
|
||||||
<legend>{L_TITLE}</legend>
|
<legend>{L_TITLE}</legend>
|
||||||
|
|
||||||
<table class="table1 zebra-table">
|
<table class="table1 zebra-table fixed-width-table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>{L_FILENAME}</th>
|
<th style="width: 25%;">{L_FILENAME}</th>
|
||||||
<th>{L_FILEDATE}</th>
|
<th style="width: 15%;">{L_FILEDATE}</th>
|
||||||
<th>{L_FILESIZE}</th>
|
<th style="width: 15%;">{L_FILESIZE}</th>
|
||||||
<th>{L_ATTACH_POST_ID}</th>
|
<th style="width: 150px;">{L_ATTACH_POST_ID}</th>
|
||||||
<th>{L_ATTACH_TO_POST}</th>
|
<th style="width: 15%;">{L_ATTACH_TO_POST}</th>
|
||||||
<th>{L_DELETE}</th>
|
<th style="width: 15%;">{L_DELETE}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
@ -390,13 +390,13 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- IF .attachments -->
|
<!-- IF .attachments -->
|
||||||
<table class="table1 zebra-table">
|
<table class="table1 zebra-table fixed-width-table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>{L_FILENAME}</th>
|
<th>{L_FILENAME}</th>
|
||||||
<th>{L_POSTED}</th>
|
<th style="width: 15%;">{L_POSTED}</th>
|
||||||
<th class="centered-text">{L_FILESIZE}</th>
|
<th style="width: 15%;" class="centered-text">{L_FILESIZE}</th>
|
||||||
<th class="centered-text">{L_MARK}</th>
|
<th style="width: 10%;" class="centered-text">{L_MARK}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
|
@ -164,14 +164,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- IF .attach -->
|
<!-- IF .attach -->
|
||||||
<table class="table1 zebra-table">
|
<table class="table1 zebra-table fixed-width-table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>{L_FILENAME}</th>
|
<th>{L_FILENAME}</th>
|
||||||
<th>{L_POST_TIME}</th>
|
<th style="width: 15%;">{L_POST_TIME}</th>
|
||||||
<th>{L_FILESIZE}</th>
|
<th style="width: 15%;">{L_FILESIZE}</th>
|
||||||
<th>{L_DOWNLOADS}</th>
|
<th style="width: 15%;">{L_DOWNLOADS}</th>
|
||||||
<th>{L_MARK}</th>
|
<th style="width: 10%;">{L_MARK}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
|
@ -1058,7 +1058,7 @@ class acp_attachments
|
||||||
$template->assign_block_vars('orphan', array(
|
$template->assign_block_vars('orphan', array(
|
||||||
'FILESIZE' => get_formatted_filesize($row['filesize']),
|
'FILESIZE' => get_formatted_filesize($row['filesize']),
|
||||||
'FILETIME' => $user->format_date($row['filetime']),
|
'FILETIME' => $user->format_date($row['filetime']),
|
||||||
'REAL_FILENAME' => utf8_wordwrap(utf8_basename((string) $row['real_filename']), 40, '<br />', true),
|
'REAL_FILENAME' => utf8_basename((string) $row['real_filename']),
|
||||||
'PHYSICAL_FILENAME' => utf8_basename($row['physical_filename']),
|
'PHYSICAL_FILENAME' => utf8_basename($row['physical_filename']),
|
||||||
'ATTACH_ID' => $row['attach_id'],
|
'ATTACH_ID' => $row['attach_id'],
|
||||||
'POST_IDS' => (!empty($post_ids[$row['attach_id']])) ? $post_ids[$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']),
|
'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']),
|
'FILESIZE' => get_formatted_filesize((int) $row['filesize']),
|
||||||
'FILETIME' => $user->format_date((int) $row['filetime']),
|
'FILETIME' => $user->format_date((int) $row['filetime']),
|
||||||
'REAL_FILENAME' => (!$row['in_message']) ? utf8_wordwrap(utf8_basename((string) $row['real_filename']), 40, '<br />', true) : '',
|
'REAL_FILENAME' => (!$row['in_message']) ? utf8_basename((string) $row['real_filename']) : '',
|
||||||
'PHYSICAL_FILENAME' => utf8_basename((string) $row['physical_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']] : '',
|
'EXT_GROUP_NAME' => (!empty($extensions[$row['extension']]['group_name'])) ? $user->lang['EXT_GROUP_' . $extensions[$row['extension']]['group_name']] : '',
|
||||||
'COMMENT' => $comment,
|
'COMMENT' => $comment,
|
||||||
|
|
|
@ -2082,7 +2082,7 @@ class acp_users
|
||||||
}
|
}
|
||||||
|
|
||||||
$template->assign_block_vars('attach', array(
|
$template->assign_block_vars('attach', array(
|
||||||
'REAL_FILENAME' => utf8_wordwrap(utf8_basename((string) $row['real_filename']), 40, '<br />', true),
|
'REAL_FILENAME' => utf8_basename((string) $row['real_filename']),
|
||||||
'COMMENT' => nl2br($row['attach_comment']),
|
'COMMENT' => nl2br($row['attach_comment']),
|
||||||
'EXTENSION' => $row['extension'],
|
'EXTENSION' => $row['extension'],
|
||||||
'SIZE' => get_formatted_filesize($row['filesize']),
|
'SIZE' => get_formatted_filesize($row['filesize']),
|
||||||
|
|
Loading…
Add table
Reference in a new issue