require_once('../functions/array.php');
require_once('../functions/display_messages.php');
require_once('../functions/addressbook.php');
+require_once('../functions/strings.php');
/* Make an input field */
function adressbook_inp_field($label, $field, $name, $size, $values, $add) {
'<TD VALIGN=top NOWRAP WIDTH="1%"> ' . $row['name'] .
' </TD>',
'<TD VALIGN=top NOWRAP WIDTH="1%"> ' .
- '<A HREF="compose.php?send_to=' . rawurlencode($row['email']) .
- '">' . $row['email'] . '</A> </TD>'."\n",
+ '<A HREF="compose.php?send_to=' . rawurlencode($row['email']);
+ if ($compose_new_win == '1') {
+ echo '" TARGET="compose_window" onClick="comp_in_new()"';
+ }
+ echo '">' . $row['email'] . '</A> </TD>'."\n",
'<TD VALIGN=top WIDTH="1%"> ' . $row['label'] . ' </TD>' .
"</TR>\n";
$line++;