removal form HEAD to be reimported to 1.5 branch
authorcentaurix <centaurix@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 2 Feb 2003 10:51:58 +0000 (10:51 +0000)
committercentaurix <centaurix@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 2 Feb 2003 10:51:58 +0000 (10:51 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4492 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/abook2vcard.php [deleted file]
src/addressbook_vcard.php [deleted file]

diff --git a/src/abook2vcard.php b/src/abook2vcard.php
deleted file mode 100644 (file)
index 260edf3..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-<?php
-
-/**
- * read_body.php
- *
- * Copyright (c) 1999-2003 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
- * This file is used for reading the msgs array and displaying
- * the resulting emails in the right frame.
- *
- * $Id$
- */
-
-/* Path for SquirrelMail required files. */
-define('SM_PATH','../');
-
-/* SquirrelMail required files. */
-require_once(SM_PATH . 'include/validate.php');
-require_once(SM_PATH . 'functions/strings.php');
-require_once(SM_PATH . 'functions/prefs.php');
-require_once(SM_PATH . 'config/config.php');
-
-$abook_file=$data_dir.$username.".abook";
-$vcard_base=$data_dir.$username;
-$i=0;
-
-$fp = fopen ($abook_file,"r");
-while (!feof ($fp)) {
-    $buffer = fgets($fp, 8096);
-   $line=explode("|",$buffer);
-   if (count($line)>1) {
-    write_vcard($line);
-   }
-}
-
-fclose ($fp);
-
-
-function write_vcard($abook) {
-global $vcard_base,$i;
-
-
-// FIXME check if filename is ok
-$vcard_fn = $vcard_base.".".$abook[0].".vcard";
-
-$fp0 = fopen ($vcard_fn,"w");
-
-fputs($fp0, "BEGIN:VCARD
-VERSION:3.0
-N:$abook[1];$abook[2];
-NICKNAME:$abook[0]
-EMAIL;INTERNET:$abook[3];
-END:VCARD<P>
-");
-$i++;
-fclose($fp0);
-
-}
-
-echo "done ;) seem to have written $i files.";
-?>
diff --git a/src/addressbook_vcard.php b/src/addressbook_vcard.php
deleted file mode 100644 (file)
index f3d1c98..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-
-/**
- * addressbook.php
- *
- * Copyright (c) 1999-2003 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
- * Addressbook vcard, sm@sels.com
- *
- * $Id$
- */
-
-/* Path for SquirrelMail required files. */
-define('SM_PATH','../');
-
-/* SquirrelMail required files. */
-require_once(SM_PATH . 'include/validate.php');
-require_once(SM_PATH . 'functions/display_messages.php');
-require_once(SM_PATH . 'functions/addressbook.php');
-require_once(SM_PATH . 'functions/strings.php');
-require_once(SM_PATH . 'functions/html.php');
-
-/* Add hook for anything that wants on the bottom */
-do_hook('addressbook_bottom');
-?>
-
-</BODY></HTML>