При нажатии Updatу выскакивает ошибка
Fatal error: Call to undefined function: utf8_decode() in /usr/local/vhost1/qblog.nov.ru/pm/core/core.regex.php on line 960
{assign_variable:master_weblog_name="news"}
{assign_variable:template_group_name="news"}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=windows-1251" http-equiv="Content-Type" />
<title>Редактирование новости: {exp:weblog:entries limit="1" disable="trackbacks|pagination|member_data|category_fields|categories"
rdf="off"}{title}{/exp:weblog:entries}</title>
<script type="text/javascript" src="http://сайт.ru/fckeditor/fckeditor.js"></script>
<script type="text/javascript">
function setFieldName2(textAreaName)
{var oFCKeditor = new FCKeditor(textAreaName);
oFCKeditor.BasePath = 'http://сайт.ru/fckeditor/' ;
oFCKeditor.Config["CustomConfigurationsPath"]="http://сайт.ru/fckeditor/fckconfig.js";
oFCKeditor.ReplaceTextarea() ;}
</script>
</head>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="738" rowspan="2" valign="top" style="font-size:11px;">
{if segment_4!='success'}
{exp:weblog:entries weblog="{master_weblog_name}" status="not closed"
show_expired="yes" rdf="off"}
{exp:weblog:entry_form weblog="{master_weblog_name}" return="{template_group_name}/edit/{entry_id}/success"
use_live_url="no" preview="{template_group_name}/edit"}
<div><input type="hidden" name="entry_id" value="{entry_id}" /></div>
<table width="60%" cellspacing="1" cellpadding="3" border="0" summary="inline
editing form" class="outer">
<tr>
<td valign="top" width="70%"><input type="text" name="title" value="{title}"
style="width:80%"/></td>
</tr>
<tr>
<td valign="top" colspan="1">
<br/><div class=short>
Для редактирования доступны следующие теги:<strong> <br/>
[B] [i] [U] [URL] [IMG]</strong></div><br/>
Начало новости | Summary<br />
<textarea onclick="[removed]setFieldName2(this.name);" name="{exp:form_helper:field_grabber
field_name='summary'}" rows="10" cols="50" />
{exp:form_helper:field_parser parse="<p>|</p>|<br />"}{summary}{/exp:form_helper:field_parser}</textarea><br><br>
Продолжение новости | Body<br />
<textarea onclick="[removed]setFieldName2(this.name);" name="{exp:form_helper:field_grabber
field_name='body'}" rows="10" cols="50" />{exp:form_helper:field_parser}{body}{/exp:form_helper:field_parser}</textarea><br><br>
Ссылки и прочее | links<br />
<textarea onclick="[removed]setFieldName2(this.name);" name="{exp:form_helper:field_grabber
field_name='extended'}" rows="10" cols="50" />{exp:form_helper:field_parser}{extended}{/exp:form_helper:field_parser}</textarea>
</td>
</tr>
<tr>
<td valign="top" colspan="2">
<input type="submit" name="submit" value="Update" onclick="saveEntry('{path="{template_group_name}/edit"}{entry_id}/success','entry_id{entry_id}',this.form,true);
return false;" />
<input type="reset" name="reset" value="Reset">
</td>
</tr>
</table>
{/exp:weblog:entry_form}
{/exp:weblog:entries}
{/if}
{if segment_4=='success'}
{exp:weblog:entries weblog="{master_weblog_name}" rdf="off" limit="1"}
<h3>Изменения вступили в силу!</h3><br>
<p><strong>{title}</strong></p><br>
{/exp:weblog:entries}
{/if}
</td>
</tr>
</table>
<body>
</body>
</html>
сразу скажу, ошибка была и без FCKEditor