{* news module *} {literal}
{/literal} {if $smarty.const.CONF_BACKEND_SAFEMODE eq 1}

{$smarty.const.ADMIN_SAFEMODE_BLOCKED}

{/if}

# {$smarty.const.ADMIN_NEWS}

{if $Message}
{$Message.text}
{/if} {if !$NewsEdit} {$smarty.const.ADMIN_NEW_NEWSARTICLE}

{$smarty.const.STRING_PRIORITY}: |
{$smarty.const.ADMIN_CURRENT_DATE}: |
{$smarty.const.ADMIN_NEWS_TITLE}: ( {$smarty.const.ADMIN_NOT_HTML} ) |
{$smarty.const.ADMIN_PICTURE}: |
{$smarty.const.ADMIN_TEXT_TO_PUBLICATION}: ( {$smarty.const.ADMIN_HTML} ) | {$NewsInfo.textToPublication}
{$smarty.const.ADMIN_TEXT_TO_MAIL}: ( {$smarty.const.ADMIN_NOT_HTML} ) | {$NewsInfo.textToMail}
{$smarty.const.ADMIN_SEND_NEWS_TO_SUBSCRIBERS} |

{if $configuration_saved eq 1}

{$smarty.const.ADMIN_UPDATE_SUCCESSFUL} {/if} {if $LastPage>1} {if $CurrentPage>1} << {$smarty.const.STRING_PREVIOUS} {/if} {foreach from=$ListerRange item=_page} {if $_page!=$CurrentPage}{$_page} {else}{$_page}{/if} {/foreach} {if $CurrentPage<$LastPage} {$smarty.const.STRING_NEXT} >> {/if}

{/if}{* $LastPage>1 *} {section name=i loop=$news_posts}

### {$news_posts[i].title}

{$news_posts[i].add_date} ({$smarty.const.STRING_PRIORITY}: {$news_posts[i].priority})
{$smarty.const.EDIT_BUTTON} | {$smarty.const.DELETE_BUTTON}

{if $news_posts[i].picture_exists} {/if} {$news_posts[i].textToPublication}

{sectionelse} {$smarty.const.STRING_EMPTY_LIST} {/section} {if $LastPage>1} {if $CurrentPage>1} << {$smarty.const.STRING_PREVIOUS} {/if} {foreach from=$ListerRange item=_page} {if $_page!=$CurrentPage}{$_page} {else}{$_page}{/if} {/foreach} {if $CurrentPage<$LastPage} {$smarty.const.STRING_NEXT} >> {/if} {/if}{* $LastPage>1 *} {else} {* Editing news *} {$smarty.const.MOD_NEWS_TXT_NEWS_LIST}

### {$smarty.const.MOD_NEWS_TXT_NEWS_EDIT}

{$smarty.const.STRING_PRIORITY}: |
{$smarty.const.ADMIN_CURRENT_DATE}: |
{$smarty.const.ADMIN_NEWS_TITLE}: ( {$smarty.const.ADMIN_NOT_HTML} ) |
{$smarty.const.ADMIN_PICTURE}: | {if $NewsInfo.picture} {if !$NewsInfo.picture_exists}{$smarty.const.ERROR_CANT_READ_FILE} : {/if}{if $NewsInfo.picture_exists}{$NewsInfo.picture} - {$smarty.const.DELETE_BUTTON}{else}{$NewsInfo.picture}{/if} {/if}
{$smarty.const.ADMIN_TEXT_TO_PUBLICATION}: ( {$smarty.const.ADMIN_HTML} ) | {$NewsInfo.textToPublication}
{$smarty.const.MOD_NEWS_TXT_EMAILED}: | {if $NewsInfo.emailed} {$smarty.const.ANSWER_YES} {else} {$smarty.const.ANSWER_NO} {/if}
{if $NewsInfo.emailed}
{$smarty.const.ADMIN_TEXT_TO_MAIL}: ( {$smarty.const.ADMIN_NOT_HTML} ) | {$NewsInfo.textToMail}
{/if}

{/if}{* !$NewsEdit *}