Two series of salicylanilides and thiosalicylanilides were synthesized and tested on antifungal activity