Changed name of a variable to reflect its real meaning.
W3C fix
Added: if only one ftp connection is set up hide delete button no matter whether it is active or not. This way "undefined index"-notices should be prevented.