Code:
program:
if check_yes_no(field('#onkobo'), '', '1', '') then 'sync.png'
else
if check_yes_no(field('#onkobo'), '', '', '1') then
if str_in_list(field('#kobocoll'), ',', "Kobo Store", '1', '') then 'drm-locked.png' fi
else 'reader.png' fi
This has error of a missing fi. Got EOF errors trying to figure out where it goes. Where do I put it?