{@ $not_permitted = $XE_VALIDATOR_ERROR == '-1380'}
{@
$is_cmt = $oComment && $oComment->isExists();
$is_par = !$is_cmt && $oSourceComment && $oSourceComment->isExists();
}
{@ $is_doc = $oDocument && $oDocument->isExists()}
id="__PID_MODAL_HEADER__" style="display:none"class="pid_modal-head" style="margin-bottom:10px">
{$not_permitted?$lang->msg_input_password:($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');
}