X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Faddressbook.php;h=67be4749c3d52abdf26385cc6ba48d6f04f71e86;hb=d46fbcf87c702f667a0a23832affb66de26092d7;hp=634e5c744106292d8708a51f2fd59148722e3cea;hpb=f6c945b9f6c7870dda5c65997f60adceb408cdcc;p=squirrelmail.git diff --git a/src/addressbook.php b/src/addressbook.php index 634e5c74..67be4749 100644 --- a/src/addressbook.php +++ b/src/addressbook.php @@ -16,18 +16,6 @@ require_once('../functions/array.php'); require_once('../functions/display_messages.php'); require_once('../functions/addressbook.php'); -/* Sort array by the key "name" */ -function alistcmp($a,$b) { - if($a['backend'] > $b['backend']) { - return 1; - } else { - if($a['backend'] < $b['backend']) { - return -1; - } - } - return (strtolower($a['name']) > strtolower($b['name'])) ? 1 : -1; -} - /* Make an input field */ function adressbook_inp_field($label, $field, $name, $size, $values, $add) { global $color; @@ -173,11 +161,11 @@ if($REQUEST_METHOD == 'POST') { /* Display the "new address" form */ echo '
'; + "\">\n" . ''; } + echo ''; } /* end of addresslist */ /* Display the "new address" form */ echo '' . "\n" . '