2.0.1, unread topics that are closed

Started by Robert., November 03, 2011, 03:19:38 PM

Previous topic - Next topic

Robert.

When setting "Enable quick moderation" to "checkboxes" and viewing unread posts since your last visit, it has a small color issue. Closed topics don't have a blue background for the checkbox td. So it's like this:
[stickybg] [stickybg] [stickybg] [stickybg] [windowbg2]
But they should be like
[stickybg] [stickybg] [stickybg] [stickybg] [stickybg]

Fix:
Themes/Default/Recent.template.php
Search
echo '
<td class="windowbg2" valign="middle" align="center">
<input type="checkbox" name="topics[]" value="', $topic['id'], '" class="input_check" />
</td>';

Replace with
echo '
<td class="' . (!empty($color_class) ? $color_class : 'windowbg2') . '" valign="middle" align="center">
<input type="checkbox" name="topics[]" value="', $topic['id'], '" class="input_check" />
</td>';

Antechinus


Joshua Dickerson

Come work with me at Promenade Group



Need help? See the wiki. Want to help SMF? See the wiki!

Did you know you can help develop SMF? See us on Github.

How have you bettered the world today?

Robert.


Illori

that comment was for a team member or beta tester/friend as those are the only groups that have access to track bugs in mantis.

Joshua Dickerson

Yeah, sorry, that was for Ant who never tracks his bugs :P
Come work with me at Promenade Group



Need help? See the wiki. Want to help SMF? See the wiki!

Did you know you can help develop SMF? See us on Github.

How have you bettered the world today?

emanuele

Commit: 17f9d9aa1d1477e150c783c3523061d35b2395a6


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Advertisement: