displayInternalLink ("src/compose.php?mailbox=$urlMailbox", _("Compose"), 'right');
}
echo " \n";
+ if (getPref($data_dir, $username,"vcard")==1) {
+ displayInternalLink ('src/addressbook_vcard.php', _("Addresses"), 'right');
+ } else {
displayInternalLink ('src/addressbook.php', _("Addresses"), 'right');
+ }
echo " \n";
displayInternalLink ('src/folders.php', _("Folders"), 'right');
echo " \n";
--- /dev/null
+<?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>