X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fvcard.php;h=c96dab567ede1657accf722b87142d8c41b4c45d;hb=7fcab811a919289459e616f0e47388c1cb27195a;hp=aa180a9cd8f21f36f97ba06c1b7a14734666843f;hpb=0c6cd64dc5e363bd54e81ed08f13e8723a4639f0;p=squirrelmail.git diff --git a/src/vcard.php b/src/vcard.php index aa180a9c..c96dab56 100644 --- a/src/vcard.php +++ b/src/vcard.php @@ -42,11 +42,12 @@ sqimap_mailbox_select($imapConnection, $mailbox); displayPageHeader($color, 'None'); -echo '
' . "\n" . - '
' . - '
' . - _("Viewing a Business Card") . " - "; +echo '
' . "\n" . + '\n"; + 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 ' +
' . + '
' . + _("Viewing a Business Card") . " - "; + $msg_url = 'read_body.php?mailbox='.urlencode($mailbox). '&startMessage='.urlencode($startMessage). '&passed_id='.urlencode($passed_id); @@ -93,8 +94,8 @@ if ($vcard_nice['version'] == '2.1') { } } else { echo '
' . - sprintf(_("vCard Version %s is not supported. Some information might not be converted correctly."),$vcard_nice['version']) . - "

' . - '' . "\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 "\n"; } } echo '
$v:" . $vcard_safe[$k] . + echo "
$v:" . $vcard_safe[$k] . "
' . - '
' . - '
' . - '' . + '
' . + '' . - '' . - '' . - ' + +
' . - '
' . - _("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") . '' . - '
' . - - '' . - '
' . - '
' . - ''; - ?> +
+ +
+ +
+'. + _("Download this as a file") . ''; +?> +
+ + +
+
+