<{$xoTheme->addStylesheet('modules/news/news.css')}>
<{if $block.displayview==2}> <{* Classical view *}> <{* ************************************** Tabs creation ************************************** *}> <{* ********************************* Body of the current tab ******************************** *}>
<{if $block.current_is_spotlight && $block.tabs.id==0}> <{/if}> <{* ********************************* Liste des titres d'articles sans le scoop ******************************** *}> <{foreach item=onenews from=$block.spotlight.news}> <{/foreach}>
<{if $block.current_is_spotlight}> <{foreach item=onesummary from=$block.smallheader}> <{$onesummary}> <{/foreach}>
<{$block.spotlight.topic_description}>
  • <{$block.spotlight.title_with_link}> <{$block.spotlight.author}> <{$block.lang_on}> <{$block.spotlight.date}> <{if $block.use_rating}> - <{$block.spotlight.rating}>/10 (<{$block.spotlight.number_votes}>)<{/if}>, <{$block.spotlight.hits}> <{$block.lang_reads}>
<{$block.spotlight.image}>  <{$block.spotlight.text}>
  • <{$onenews.date}> - <{$onenews.title_with_link}>
<{else}>
<{$block.topic_description}>
<{foreach item=onenews from=$block.news}>
  • <{$onenews.title}>
  <{$onenews.author}> <{$block.lang_on}> <{$onenews.date}> - <{if $block.use_rating}> <{$onenews.rating}>/10 (<{$onenews.number_votes}>)<{/if}>, <{$onenews.hits}> <{$block.lang_reads}> <{$onenews.text}>
<{/foreach}> <{/if}>
<{else}> <{* ********************************** Classical view ******************************* *}> <{if $block.spotlight}> <{/if}>
<{$block.spotlight.title}> <{$block.spotlight.author}> <{if $block.sort=='counter'}> (<{$block.spotlight.hits}>) <{elseif $block.sort=='published'}> (<{$block.spotlight.date}>) <{else}> (<{$block.spotlight.rating}>) <{/if}>
<{$block.spotlight.image}><{$block.spotlight.text}>
    <{foreach item=news from=$block.stories}> <{if $news.id != $block.spotlight.id}>
  • ><{$news.title}> <{if $block.sort=='counter'}> [<{$news.hits}>] <{elseif $block.sort=='published'}> [<{$news.date}>] <{else}> [<{$news.rating}>] <{/if}>
    <{$news.teaser}>
  • <{/if}> <{/foreach}>
<{/if}>