|
@@ -197,7 +197,7 @@ function template_main()
|
|
|
<th scope="col" class="lefttext last_th" width="22%">', $context['topics_headers']['last_post'], '</th>';
|
|
|
else
|
|
|
echo '
|
|
|
- <th scope="col" class="lefttext" width="22%">', $context['topics_headers']['last_post'], '</a></th>';
|
|
|
+ <th scope="col" class="lefttext" width="22%">', $context['topics_headers']['last_post'], '</th>';
|
|
|
|
|
|
// Show a "select all" box for quick moderation?
|
|
|
if (!empty($context['can_quick_mod']) && $options['display_quick_mod'] == 1)
|
|
@@ -263,19 +263,16 @@ function template_main()
|
|
|
</div>
|
|
|
</td>
|
|
|
<td class="', $alternate_class, ' subject">
|
|
|
- <div ', (!empty($topic['quick_mod']['modify']) ? 'id="topic_' . $topic['first_post']['id'] . '" ondblclick="oQuickModifyTopic.modify_topic(\'' . $topic['id'] . '\', \'' . $topic['first_post']['id'] . '\');"' : ''), '>';
|
|
|
-
|
|
|
- // [WIP] Methinks the orange icons look better if they aren't all over the page.
|
|
|
- // Is this topic new? (assuming they are logged in!)
|
|
|
- if ($topic['new'] && $context['user']['is_logged'])
|
|
|
- echo '
|
|
|
- <a href="', $topic['new_href'], '" id="newicon' . $topic['first_post']['id'] . '"><span class="new_posts">' . $txt['new'] . '</span></a>';
|
|
|
-
|
|
|
- echo '
|
|
|
- ', $topic['is_sticky'] ? '<strong>' : '', '<span class="preview" title="', $topic[(empty($settings['message_index_preview_first']) ? 'last_post' : 'first_post')]['preview'], '"><span id="msg_' . $topic['first_post']['id'] . '">', $topic['first_post']['link'], ($context['can_approve_posts'] && !$topic['approved'] ? ' <em>(' . $txt['awaiting_approval'] . ')</em>' : ''), '</span></span>', $topic['is_sticky'] ? '</strong>' : '', '
|
|
|
-
|
|
|
+ <div ', (!empty($topic['quick_mod']['modify']) ? 'id="topic_' . $topic['first_post']['id'] . '" ondblclick="oQuickModifyTopic.modify_topic(\'' . $topic['id'] . '\', \'' . $topic['first_post']['id'] . '\');"' : ''), '>
|
|
|
+ <div class="message_index_title">
|
|
|
+ ', $topic['new'] && $context['user']['is_logged'] ? '<a href="' . $topic['new_href'] . '" id="newicon' . $topic['first_post']['id'] . '" style="float: left; display: block; margin: 9px 0 0 3px;"><span class="new_posts">' . $txt['new'] . '</span></a>' : '', '
|
|
|
+ <span class="preview', $topic['is_sticky'] ? ' bold_text' : '', '" title="', $topic[(empty($settings['message_index_preview_first']) ? 'last_post' : 'first_post')]['preview'], '">
|
|
|
+ <span id="msg_', $topic['first_post']['id'], '">', $topic['first_post']['link'], ($context['can_approve_posts'] && !$topic['approved'] ? ' <em>(' . $txt['awaiting_approval'] . ')</em>' : ''), '</span>
|
|
|
+ </span>
|
|
|
+ <br class="clear" />
|
|
|
+ </div>
|
|
|
<p>', $txt['started_by'], ' ', $topic['first_post']['member']['link'], '
|
|
|
- <small id="pages' . $topic['first_post']['id'] . '">', $topic['pages'], '</small>
|
|
|
+ <small id="pages', $topic['first_post']['id'], '">', $topic['pages'], '</small>
|
|
|
</p>
|
|
|
</div>
|
|
|
</td>
|
|
@@ -327,7 +324,7 @@ function template_main()
|
|
|
{
|
|
|
echo '
|
|
|
<tr class="titlebg">
|
|
|
- <td colspan="6" align="right">
|
|
|
+ <td colspan="6" align="right" id="quick_actions">
|
|
|
<select class="qaction" name="qaction"', $context['can_move'] ? ' onchange="this.form.move_to.disabled = (this.options[this.selectedIndex].value != \'move\');"' : '', '>
|
|
|
<option value="">--------</option>';
|
|
|
|