Sri Lanka editor says axed for attacking president