html_tag( 'td', '', 'left', '', 'valign="top" width="1%" nowrap' ) . ' ';
}
$email = $abook->full_address($row);
- if ($compose_new_win == '1') {
- echo '<a href="javascript:void(0)" onclick=comp_in_new("compose.php?send_to='.rawurlencode($email).'")>';
- }
- else {
- echo '<A HREF="compose.php?send_to=' . rawurlencode($email).'">';
- }
- echo htmlspecialchars($row['email']) . '</A> </td>'."\n".
+ echo makeComposeLink('src/compose.php?send_to='.rawurlencode($email),
+ htmlspecialchars($row['email']) ) .
+ ' </td>'."\n".
html_tag( 'td', ' ' . htmlspecialchars($row['label']) . ' ', 'left', '', 'valign="top" width="1%"' ) .
"</tr>\n";
$line++;