Franklin man pleads guilty to alligator violations