From: jervfors Date: Mon, 24 May 2004 01:16:58 +0000 (+0000) Subject: Missing global X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=04f17bd9fcafc9c7fe477bb88492b3c519ac4fb1;p=squirrelmail.git Missing global git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@7537 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php index db5bbcf6..b656eef5 100644 --- a/functions/mailbox_display.php +++ b/functions/mailbox_display.php @@ -538,7 +538,7 @@ function get_sorted_msgs_list($imapConnection,$aMailbox,&$error) { * @param array $aMailbox associative array with mailbox related vars */ function showMessagesForMailbox($imapConnection, $aMailbox) { - global $msgs, $server_sort_array,$indent_array; + global $msgs, $server_sort_array, $indent_array, $color; // to retrieve the internaldate pref: (I know this is not the right place to do that, move up in front // and use a properties array as function argument to provide user preferences diff --git a/src/vcard.php b/src/vcard.php index ecbaefd1..664dfe27 100644 --- a/src/vcard.php +++ b/src/vcard.php @@ -42,9 +42,13 @@ sqimap_mailbox_select($imapConnection, $mailbox); displayPageHeader($color, 'None'); -echo '
' . "\n" . - ' + +
' . +?> +
+ + +' . '
' . _("Viewing a Business Card") . " - "; $msg_url = 'read_body.php?mailbox='.urlencode($mailbox). @@ -116,7 +120,7 @@ $ShowValues = array( 'tel;fax' => _("Fax"), 'note' => _("Note")); -echo '

' . +echo '

' . '' . "\n"; if (isset($vcard_safe['email;internet'])) { @@ -136,24 +140,23 @@ foreach ($ShowValues as $k => $v) { } } -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:' ; +?> +
+
+
+ + +' . - '
+ +
+ + + + +' . - '' . - '
+ +
+
' . - 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") . '' . - '
' . - - '' . - '
' . - '
' . - ''; +echo addSelect('addaddr[label]', $opts, '', TRUE); + +?> +
+ +
+ + + +' . + _("Download this as a file") . ''; ?> + + + +
+