{** * The feedback errors * Date: 19.01.12 * * @package saurus4 * * @author Saurus * *}
{* Article *} {init_article name="article" id=$id buttons="new,edit,hide,delete"} {assign var="fields" value=$smarty.get.fields|@xss_clean|@htmlspecialchars}

{$article->buttons}{if $article->show_headline}{$article->title}{/if}

{if $article->lead}{$article->lead|replace:'[error]':$fields}{/if} {if $article->body}{$article->body|replace:'[error]':$fields}{/if} {* Article comments *} {init_messages name="messages" parent=$id order="objekt_id asc"} {if $messages|@sizeof}

{sysword word="comments" type="saurus4"}

{/if} {foreach from=$messages item="message"} {/foreach}
{$message->buttons}{$message->author} {$message->date}

{$message->body|parse_emoticons|parse_html}

{* /Article comments *} {if $conf.allow_commenting && $article->forum_allowed && !($conf.only_regusers_comment && !$user)} {* New comment form *} {literal} {/literal}

{sysword word="new comment" type="saurus4"}

{*** CAPTCHA ***} {if $conf.check_for_captcha} {/if} {*** //CAPTCHA ***}
*
{* /New comment form *} {/if} {* for CAPTCHA failure notice *} {if $smarty.get.lisa_alert == 2} {/if} {* /for CAPTCHA failure notice *} {if !$smarty.get.lisa_alert && session_destroy('scms_last_comment')}{/if}