diff --git a/ext/pm/theme.php b/ext/pm/theme.php index 14414b4e..a248be50 100644 --- a/ext/pm/theme.php +++ b/ext/pm/theme.php @@ -6,7 +6,7 @@ class PrivMsgTheme extends Themelet { $html = " - + "; $n = 0; foreach($pms as $pm) { @@ -18,14 +18,21 @@ class PrivMsgTheme extends Themelet { $pm_url = make_link("pm/read/".$pm->id); $del_url = make_link("pm/delete"); $h_date = html_escape($pm->sent_date); - if(!$pm->is_read) $h_subject = "$h_subject"; - $html .= " + $readYN = "Y"; + if(!$pm->is_read) { + $h_subject = "$h_subject"; + $readYN = "N"; + } + $html .= " + + "; + + "; } $html .= "
SubjectFromDateAction
R?SubjectFromDateAction
$h_subject
$readYN$h_subject $h_from$h_date
".$user->get_auth_html()." -