{@ $not_permitted = $XE_VALIDATOR_ERROR == '-1380'}
{@
$is_cmt = $oComment && $oComment->isExists();
$is_par = !$is_cmt && $oSourceComment && $oSourceComment->isExists();
}
{@ $is_doc = $oDocument && $oDocument->isExists()}
{$act=='dispBoardWriteComment'?($is_cmt?$lang->modify_comment:$lang->new_comment):($is_doc?$lang->modify_document:$lang->new_document)}
{@
$oTemplate = &TemplateHandler::getInstance();
print $oTemplate->compile($tpl_path, '_tpl.'.($act=='dispBoardWriteComment'?'c.insert':'insert').'.html');
}