Morocco says security forces have broken up an al-Qaida-linked militant cell that was planning attacks throughout the country .