From 97424ab09d7be5ff862008d16f20b41b7e90eb6c Mon Sep 17 00:00:00 2001 From: centaurix Date: Mon, 20 Jan 2003 04:17:00 +0000 Subject: [PATCH] finally. real code. no. not real code. some convert tool even not finished. will output .vcard address card files in the data directory (own direcoty later) second small step to get cool vcard features into SM core. to be continued (and finalized hopefully to end of feb 2003) getting some sleep. (5am now) git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4440 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/abook2vcard.php | 49 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 src/abook2vcard.php diff --git a/src/abook2vcard.php b/src/abook2vcard.php new file mode 100644 index 00000000..a9d6567e --- /dev/null +++ b/src/abook2vcard.php @@ -0,0 +1,49 @@ +".$buffer; + +while ( list($nick,$email,$fn,$ln,$email)=each($abook) ) { +echo " +BEGIN:VCARD +VERSION:3.0 +N:$ln;$fn; +NICKNAME:$nick +EMAIL;INTERNET:$email +END:VCARD

+"; +} + +?> -- 2.25.1