* @subpackage addressbook
*/
+/** This is the addressbook page */
+define('PAGE_NAME', 'addressbook');
+
/**
* Include the SquirrelMail initialization file.
*/
$abook_sort_order = get_abook_sort();
/* Create page header before addressbook_init in order to display error messages correctly. */
-displayPageHeader($color, 'None');
+displayPageHeader($color);
/* Open addressbook with error messages on.
remote backends (LDAP) are enabled because they can be used. (list_addr function)
if ($showaddrlist) {
- echo addForm($form_url, 'post');
+ echo addForm($form_url, 'post', 'address_book_form');
$oTemplate->assign('addresses', $addresses);
$oTemplate->assign('current_backend', $current_backend);
do_hook('addressbook_bottom', $null);
$oTemplate->display('footer.tpl');
-?>