True, "nonavbar" => True, "currentapp" => "addressbook", "enable_addressbook_class" => True, "enable_nextmatchs_class" => True); include("../header.inc.php"); if ($submit) { $totalerrors = 0; if (! count($ab_selected)) { $errors[$totalerrors++] = lang("You must select at least 1 column to display"); } if (! $totalerrors) { while ($pref = each($ab_selected)) { $phpgw->preferences->change($phpgw_info["user"]["account_id"],$pref[0],"addressbook","addressbook_" . $pref[1]); } if ($mainscreen_showbirthdays) { $phpgw->preferences->change($phpgw_info["user"]["account_id"],"mainscreen_showbirthdays","addressbook"); } else { $phpgw->preferences->delete("addressbook","mainscreen_showbirthdays"); } $phpgw->preferences->commit(); Header("Location: " . $phpgw->link($phpgw_info["server"]["webserver_url"] . "/preferences/index.php")); } } $phpgw->common->phpgw_header(); $phpgw->common->navbar(); if ($totalerrors) { echo "
" . lang("Addressbook preferences") . ":" . "
"; ?>