Syntax error: unrecognized tag 'break'

My friends, I have a problem with my template, because I’m giving this error:
Fatal error: Smarty error: [in frontend / pages / indexJournal.tpl line 39]: syntax error: unrecognized tag ‘break’ (Smarty_Compiler.class.php, line 590) in / var / www / html / ojsufrn / lib / pkp /lib/vendor/smarty/smarty/libs/Smarty.class.php on line 1094

I do not know how to solve it! Any idea what that might be?

What does line 39 of frontend/pages/indexJournal.tpl read as?

{* Announcements *}

	{if $numAnnouncementsHomepage && $announcements|@count}
		<div class="cmp_announcements highlight_first">
				{translate key="announcement.announcements"}
			{foreach name=announcements from=$announcements item=announcement}
			{if $smarty.foreach.announcements.iteration > $numAnnouncementsHomepage}

-> 39				{break}

				{if $smarty.foreach.announcements.iteration == 1}
					{include file="frontend/objects/announcement_summary.tpl" heading="h3"}
					<div class="more">
					<article class="obj_announcement_summary">
							<a href="{url router=$smarty.const.ROUTE_PAGE page="announcement" op="view" path=$announcement->getId()}">
						<div class="date">
			</div><!-- .more -->

This {break} command is Smarty 3.x syntax, which is only available in OJS 3.1.2 or later. Are you currently using 3.1.2, or an earlier version?

I understand, the version that is giving this error is OJS! Thanks!