assign smarty theme