Of course it is illegal to campaign inside a polling place.
Via RNC Deputy Communications Director, Tim Miller:
Update:
Update: Election Judge in PA has ordered Obama mural in polling place covered up. Order here --> pic.twitter.com/bcCgpNbo