' .
- '' .
- _("Viewing a Business Card") . " - ";
+echo '
' . "\n" .
+ '' .
+ '' .
+ _("Viewing a Business Card") . " - ";
+
$msg_url = 'read_body.php?mailbox='.urlencode($mailbox).
- '&startMessage='.$startMessage.
- '&passed_id='.$passed_id;
+ '&startMessage='.urlencode($startMessage).
+ '&passed_id='.urlencode($passed_id);
$msg_url = set_url_var($msg_url, 'ent_id', 0);
@@ -92,9 +93,9 @@ if ($vcard_nice['version'] == '2.1') {
$vcard_nice['email;internet'] = $vcard_nice['email;pref;internet'];
}
} else {
- echo 'vCard Version ' . $vcard_nice['version'] .
- ' is not supported. Some information might not be converted ' .
- "correctly. | \n";
+ echo '' .
+ sprintf(_("vCard Version %s is not supported. Some information might not be converted correctly."),$vcard_nice['version']) .
+ " | \n";
}
foreach ($vcard_nice as $k => $v) {
@@ -116,8 +117,8 @@ $ShowValues = array(
'tel;fax' => _("Fax"),
'note' => _("Note"));
-echo ' ' .
- '' . "\n";
+echo ' ' .
+ '' . "\n";
if (isset($vcard_safe['email;internet'])) {
$vcard_safe['email;internet'] = makeComposeLink('src/compose.php?send_to='.urlencode($vcard_safe['email;internet']),
@@ -125,35 +126,35 @@ if (isset($vcard_safe['email;internet'])) {
}
if (isset($vcard_safe['url'])) {
- $vcard_safe['url'] = '' .
- $vcard_safe['url'] . '';
+ $vcard_safe['url'] = '' .
+ $vcard_safe['url'] . '';
}
foreach ($ShowValues as $k => $v) {
if (isset($vcard_safe[$k]) && $vcard_safe[$k]) {
- echo "$v: | " . $vcard_safe[$k] .
+ echo " | $v: | " . $vcard_safe[$k] .
" | \n";
}
}
echo ' ' .
- ' ' .
- ' | ' .
- '' .
+ ' | | ' .
+ '' .
- '' .
- '' .
- '' .
- _("Add to Addressbook") .
- ' | ' .
- '' .
- addForm('../src/addressbook.php', 'POST', 'f_add') .
- '' .
- 'Nickname: | ' .
- ''.
- addInput('addaddr[nickname]', $vcard_safe['firstname'] . '-' . $vcard_safe['lastname'], '20').
- ' | ' .
- 'Note Field Contains: | ' ;
+ ' | ' .
+ '' .
+ '' .
+ _("Add to Addressbook") .
+ ' | ' .
+ '' .
+ addForm('../src/addressbook.php', 'post', 'f_add') .
+ '' .
+ '' . _("Nickname:") . ' | ' .
+ ''.
+ addInput('addaddr[nickname]', $vcard_safe['firstname'] . '-' . $vcard_safe['lastname'], '20').
+ ' | ' .
+ '' . _("Note Field Contains:") . ' | ' ;
$opts = array();
if (isset($vcard_nice['url'])) {
@@ -188,26 +189,29 @@ if (isset($vcard_nice['note'])) {
}
echo addSelect('addaddr[label]', $opts, '', TRUE);
-echo ' | ' .
- '' .
- addHidden('addaddr[email]', $vcard_nice['email;internet']).
- addHidden('addaddr[firstname]', $vcard_safe['firstname']).
- addHidden('addaddr[lastname]', $vcard_safe['lastname']).
- addSubmit(_("Add to Address Book"), 'addaddr[SUBMIT]').
- ' | ' .
- ' ' .
- '' .
- ' | ' .
- '' .
- '' .
- _("Download this as a file") . '' .
- ' | ' .
-
- '' .
- ' | |