/**
** addressbook.php
**
+ ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
+ **
** Manage personal address book.
**
**/
$headerprinted = false;
// List addresses
- while(list($key,$row) = each($alist)) {
+ while(list($undef,$row) = each($alist)) {
// New table header for each backend
if($prevbackend != $row["backend"]) {
// Display the "new address" form
- printf("<FORM ACTION=\"%s\" METHOD=\"POST\">\n", $PHP_SELF);
+ printf("<FORM ACTION=\"%s\" NAME=f_add METHOD=\"POST\">\n", $PHP_SELF);
print "<TABLE WIDTH=100% COLS=1 ALIGN=CENTER>\n";
print "<TR><TD BGCOLOR=\"$color[0]\" ALIGN=CENTER>\n<STRONG>";
printf(_("Add to %s"), $abook->localbackendname);
address_form("addaddr", _("Add address"), $defdata);
print "</FORM>";
+ // Add hook for anything that wants on the bottom
+ do_hook("addressbook_bottom");
?>
</BODY></HTML>