added variables to theme function, admin config form, adapted template