Help modifiying 1.0.5 mark as read button for 1.1 rc

Started by n1kki6, December 06, 2005, 07:59:40 PM

Previous topic - Next topic

n1kki6

What do i need to change this to for the mark as read to work.

// Show the mark all as read button?
if ($settings['show_mark_read'])
echo '
<a href="' . $scripturl . '?action=markasread;sa=topic;t=' . $context['mark_unread_time'] . ';topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id'] . '">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/markread.gif" alt="' . $txt[452] . '" border="0" />' : $txt[452]), '</a>';


Advertisement: