don't set $T until we know we're using smarty