Update smarty linkify modifier to be php v5.2 compliant