|
@@ -133,17 +133,17 @@ function template_unread()
|
|
<tr class="catbg">
|
|
<tr class="catbg">
|
|
<th scope="col" class="first_th" width="8%" colspan="2"> </th>
|
|
<th scope="col" class="first_th" width="8%" colspan="2"> </th>
|
|
<th scope="col">
|
|
<th scope="col">
|
|
- <a href="', $scripturl, '?action=unread', $context['showing_all_topics'] ? ';all' : '', $context['querystring_board_limits'], ';sort=subject', $context['sort_by'] == 'subject' && $context['sort_direction'] == 'up' ? ';desc' : '', '">', $txt['subject'], $context['sort_by'] == 'subject' ? ' <img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.png" alt="" />' : '', '</a>
|
|
|
|
|
|
+ <a href="', $scripturl, '?action=unread', $context['showing_all_topics'] ? ';all' : '', $context['querystring_board_limits'], ';sort=subject', $context['sort_by'] == 'subject' && $context['sort_direction'] == 'up' ? ';desc' : '', '">', $txt['subject'], $context['sort_by'] == 'subject' ? ' <img class="sort" src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.png" alt="" />' : '', '</a>
|
|
</th>
|
|
</th>
|
|
<th scope="col" width="14%" align="center">
|
|
<th scope="col" width="14%" align="center">
|
|
- <a href="', $scripturl, '?action=unread', $context['showing_all_topics'] ? ';all' : '', $context['querystring_board_limits'], ';sort=replies', $context['sort_by'] == 'replies' && $context['sort_direction'] == 'up' ? ';desc' : '', '">', $txt['replies'], $context['sort_by'] == 'replies' ? ' <img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.png" alt="" />' : '', '</a>
|
|
|
|
|
|
+ <a href="', $scripturl, '?action=unread', $context['showing_all_topics'] ? ';all' : '', $context['querystring_board_limits'], ';sort=replies', $context['sort_by'] == 'replies' && $context['sort_direction'] == 'up' ? ';desc' : '', '">', $txt['replies'], $context['sort_by'] == 'replies' ? ' <img class="sort" src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.png" alt="" />' : '', '</a>
|
|
</th>';
|
|
</th>';
|
|
|
|
|
|
// Show a "select all" box for quick moderation?
|
|
// Show a "select all" box for quick moderation?
|
|
if ($showCheckboxes)
|
|
if ($showCheckboxes)
|
|
echo '
|
|
echo '
|
|
<th scope="col" width="22%">
|
|
<th scope="col" width="22%">
|
|
- <a href="', $scripturl, '?action=unread', $context['showing_all_topics'] ? ';all' : '', $context['querystring_board_limits'], ';sort=last_post', $context['sort_by'] == 'last_post' && $context['sort_direction'] == 'up' ? ';desc' : '', '">', $txt['last_post'], $context['sort_by'] == 'last_post' ? ' <img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.png" alt="" />' : '', '</a>
|
|
|
|
|
|
+ <a href="', $scripturl, '?action=unread', $context['showing_all_topics'] ? ';all' : '', $context['querystring_board_limits'], ';sort=last_post', $context['sort_by'] == 'last_post' && $context['sort_direction'] == 'up' ? ';desc' : '', '">', $txt['last_post'], $context['sort_by'] == 'last_post' ? ' <img class="sort" src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.png" alt="" />' : '', '</a>
|
|
</th>
|
|
</th>
|
|
<th class="last_th">
|
|
<th class="last_th">
|
|
<input type="checkbox" onclick="invertAll(this, this.form, \'topics[]\');" class="input_check" />
|
|
<input type="checkbox" onclick="invertAll(this, this.form, \'topics[]\');" class="input_check" />
|
|
@@ -151,7 +151,7 @@ function template_unread()
|
|
else
|
|
else
|
|
echo '
|
|
echo '
|
|
<th scope="col" class="smalltext last_th" width="22%">
|
|
<th scope="col" class="smalltext last_th" width="22%">
|
|
- <a href="', $scripturl, '?action=unread', $context['showing_all_topics'] ? ';all' : '', $context['querystring_board_limits'], ';sort=last_post', $context['sort_by'] == 'last_post' && $context['sort_direction'] == 'up' ? ';desc' : '', '">', $txt['last_post'], $context['sort_by'] == 'last_post' ? ' <img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.png" alt="" />' : '', '</a>
|
|
|
|
|
|
+ <a href="', $scripturl, '?action=unread', $context['showing_all_topics'] ? ';all' : '', $context['querystring_board_limits'], ';sort=last_post', $context['sort_by'] == 'last_post' && $context['sort_direction'] == 'up' ? ';desc' : '', '">', $txt['last_post'], $context['sort_by'] == 'last_post' ? ' <img class="sort" src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.png" alt="" />' : '', '</a>
|
|
</th>';
|
|
</th>';
|
|
echo '
|
|
echo '
|
|
</tr>
|
|
</tr>
|
|
@@ -317,17 +317,17 @@ function template_replies()
|
|
<tr class="catbg">
|
|
<tr class="catbg">
|
|
<th scope="col" class="first_th" width="8%" colspan="2"> </th>
|
|
<th scope="col" class="first_th" width="8%" colspan="2"> </th>
|
|
<th scope="col">
|
|
<th scope="col">
|
|
- <a href="', $scripturl, '?action=unreadreplies', $context['querystring_board_limits'], ';sort=subject', $context['sort_by'] === 'subject' && $context['sort_direction'] === 'up' ? ';desc' : '', '">', $txt['subject'], $context['sort_by'] === 'subject' ? ' <img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.png" alt="" />' : '', '</a>
|
|
|
|
|
|
+ <a href="', $scripturl, '?action=unreadreplies', $context['querystring_board_limits'], ';sort=subject', $context['sort_by'] === 'subject' && $context['sort_direction'] === 'up' ? ';desc' : '', '">', $txt['subject'], $context['sort_by'] === 'subject' ? ' <img class="sort" src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.png" alt="" />' : '', '</a>
|
|
</th>
|
|
</th>
|
|
<th scope="col" width="14%" align="center">
|
|
<th scope="col" width="14%" align="center">
|
|
- <a href="', $scripturl, '?action=unreadreplies', $context['querystring_board_limits'], ';sort=replies', $context['sort_by'] === 'replies' && $context['sort_direction'] === 'up' ? ';desc' : '', '">', $txt['replies'], $context['sort_by'] === 'replies' ? ' <img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.png" alt="" />' : '', '</a>
|
|
|
|
|
|
+ <a href="', $scripturl, '?action=unreadreplies', $context['querystring_board_limits'], ';sort=replies', $context['sort_by'] === 'replies' && $context['sort_direction'] === 'up' ? ';desc' : '', '">', $txt['replies'], $context['sort_by'] === 'replies' ? ' <img class="sort" src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.png" alt="" />' : '', '</a>
|
|
</th>';
|
|
</th>';
|
|
|
|
|
|
// Show a "select all" box for quick moderation?
|
|
// Show a "select all" box for quick moderation?
|
|
if ($showCheckboxes)
|
|
if ($showCheckboxes)
|
|
echo '
|
|
echo '
|
|
<th scope="col" width="22%">
|
|
<th scope="col" width="22%">
|
|
- <a href="', $scripturl, '?action=unreadreplies', $context['querystring_board_limits'], ';sort=last_post', $context['sort_by'] === 'last_post' && $context['sort_direction'] === 'up' ? ';desc' : '', '">', $txt['last_post'], $context['sort_by'] === 'last_post' ? ' <img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.png" alt="" />' : '', '</a>
|
|
|
|
|
|
+ <a href="', $scripturl, '?action=unreadreplies', $context['querystring_board_limits'], ';sort=last_post', $context['sort_by'] === 'last_post' && $context['sort_direction'] === 'up' ? ';desc' : '', '">', $txt['last_post'], $context['sort_by'] === 'last_post' ? ' <img class="sort" src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.png" alt="" />' : '', '</a>
|
|
</th>
|
|
</th>
|
|
<th class="last_th">
|
|
<th class="last_th">
|
|
<input type="checkbox" onclick="invertAll(this, this.form, \'topics[]\');" class="input_check" />
|
|
<input type="checkbox" onclick="invertAll(this, this.form, \'topics[]\');" class="input_check" />
|
|
@@ -335,7 +335,7 @@ function template_replies()
|
|
else
|
|
else
|
|
echo '
|
|
echo '
|
|
<th scope="col" class="last_th" width="22%">
|
|
<th scope="col" class="last_th" width="22%">
|
|
- <a href="', $scripturl, '?action=unreadreplies', $context['querystring_board_limits'], ';sort=last_post', $context['sort_by'] === 'last_post' && $context['sort_direction'] === 'up' ? ';desc' : '', '">', $txt['last_post'], $context['sort_by'] === 'last_post' ? ' <img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.png" alt="" />' : '', '</a>
|
|
|
|
|
|
+ <a href="', $scripturl, '?action=unreadreplies', $context['querystring_board_limits'], ';sort=last_post', $context['sort_by'] === 'last_post' && $context['sort_direction'] === 'up' ? ';desc' : '', '">', $txt['last_post'], $context['sort_by'] === 'last_post' ? ' <img class="sort" src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.png" alt="" />' : '', '</a>
|
|
</th>';
|
|
</th>';
|
|
echo '
|
|
echo '
|
|
</tr>
|
|
</tr>
|