Remove unneeded columns from recent replies view

This commit is contained in:
Aleksei Miheev
2012-06-01 01:56:05 +04:00
parent de9b2505fb
commit 0ada785c55

View File

@@ -210,10 +210,8 @@ function template_replies()
echo '
<td width="10%" colspan="2">&nbsp;</td>
<td width="48%">' . $txt[70] . '</td>
<td width="14%">' . $txt[109] . '</td>
<td width="4%" align="center">' . $txt[110] . '</td>
<td width="4%" align="center">' . $txt[301] . '</td>
<td width="27%">' . $txt[111] . '</td>';
<td width="4%" align="center">Ответов</td>
<td width="27%">Последнее сообщение</td>';
else
echo '
<td width="100%" colspan="7">' . $txt[151] . '</td>';
@@ -231,12 +229,8 @@ function template_replies()
<td class="windowbg" valign="middle" width="48%">
' . $topic['first_post']['link'] . ' <a href="' . $scripturl . '?topic=' . $topic['id'] . '.from' . $topic['newtime'] . ';topicseen#new"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/new.gif" alt="' . $txt[302] . '" border="0" /></a> <span class="smalltext">' . $topic['pages'] . '</span>
<div class="smalltext"><i>' . $txt['smf88'] . ' ' . $topic['board']['link'] . '</i></div></td>
<td class="windowbg2" valign="middle" width="14%">
' . $topic['first_post']['member']['link'] . '</td>
<td class="windowbg" valign="middle" width="4%" align="center">
' . $topic['replies'] . '</td>
<td class="windowbg" valign="middle" width="4%" align="center">
' . $topic['views'] . '</td>
' . $topic['replies']. '</td>
<td class="windowbg2" valign="middle" width="22%">';
if ($settings['images_url'] != $settings['theme_url'] . '/images' || file_exists($settings['theme_dir'] . '/images/icons/last_post.gif'))
echo '