{@ $not_permitted = $XE_VALIDATOR_ERROR == '-1380'; $is_cmt = $oComment && $oComment->isExists(); $is_par = !$is_cmt && $oSourceComment && $oSourceComment->isExists(); $rulepath = $tpl_path.'../../ruleset/'.($not_permitted?'checkPassword':'insertComment').'.xml'; Context::addJsFile($rulepath, false, '', 0, 'head', true) }
{$lang->comment.' '.$lang->no}: {$is_par?$oSourceComment->comment_srl.' - ':$comment_srl} {$not_permitted?$lang->msg_input_password:$lang->new_comment} - {$is_topic_vote=='agree'?$lang->cmd_agree:$lang->cmd_disagree}
{$lang->cmd_back}
{@ $ds_nick = $ci['nick_name']->display == 'Y'; $ds_user = $ci['user_name']->display == 'Y'; }
{@ $cmDoc = &getModel('document'); $oSourceComment = $cmDoc->getDocument($document_srl, FALSE, FALSE); $is_par = $oSourceComment && $oSourceComment->isExists(); }

{@ $mbsl = $oSourceComment->get('member_srl'); $home = $oSourceComment->get('homepage'); $nick = (!$mbsl||$ds_nick||!$ds_user)?$oSourceComment->getNickName():''; $nick .= ($mbsl&&$ds_user)?($nick?' (':'').$oSourceComment->getUserName().($nick?')':''):''; } {$nick} {$nick} {$nick}

{preg_replace(array('! name=(\"|\')?([^\"\']+)(\"|\')?!is','!<(iframe|embed|object)(.*?)>(.*?)<\/(iframe|embed|object)>!is'), array('','

$1 $2

'), $oSourceComment->getContent(false))}
{@ $t_dstus = explode(',', $mi->use_c_status); $status = $oComment->get('is_secret') == 'Y'?'SECRET':'PUBLIC'; }
{@ $is_guestinfo = $mi->use_input_guest_info == 'N' ? $oThis->getIpaddress(1) : ''}
{$oComment->getEditor()}
{$lang->cmd_back}