eliminated function-scoped variable . moved 'event_details' and 'location' property assigment further down.
replaced call to method I18NString() with t() since we don't need to escape quotes. plus, it's shorter. also, put a check for 'scheduled as TBD' course/session offerings/ILMs - in case they are TBD then no event details/location details should be revealed.