{@ $not_permitted = $XE_VALIDATOR_ERROR == '-1380'} {@ $is_cmt = $oComment && $oComment->isExists(); $is_par = !$is_cmt && $oSourceComment && $oSourceComment->isExists(); } {@ $is_doc = $oDocument && $oDocument->isExists()}

{$not_permitted?$lang->msg_input_password:($act=='dispBoardWriteComment'?($is_cmt?$lang->modify_comment:$lang->new_comment):($is_doc?$lang->modify_document:$lang->new_document))} {$lang->cmd_back}