All pastes #427024 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-04-06 15:32 UTC
rendered paste body
// Go to PM center... [pm]
	if ($context['user']['is_logged'] && $context['allow_pm'])
		echo ($current_action == 'pm' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
				<td valign="top" class="maintab_' , $current_action == 'pm' ? 'active_back' : 'back' , '">
				<a href="', $scripturl, '?action=pm">',
		(($context['user']['unread_messages'] > 0) ?
			'<span style="color:yellow;font-weight:bold;">' . $txt['pm_short'] . '[' . $context['user']['unread_messages'] . ']</span>' :
			$txt['pm_short']), '</a></td>' , $current_action == 'pm' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';