{@ $lg = $logged_info ? $logged_info : array(); $ds_status = $ci['custom_status']->display == 'Y'; $ds_readed = $ci['readed_count']->display == 'Y'; $ds_voted = $ci['voted_count']->display == 'Y'; $ds_blamed = $ci['blamed_count']->display == 'Y'; $ds_update = $ci['last_update']->display == 'Y'; $ds_nick = $ci['nick_name']->display == 'Y'; $ds_user = $ci['user_name']->display == 'Y'; $doc_srl = $oDocument->document_srl; $is_granted = $grant->view && $oDocument->isGranted(); $is_secret = $oDocument->isSecret(); $is_locked = $is_cklok?$oThis->isLocked($doc_srl):0; $is_blind = $us_blind?$oThis->isBlind($doc_srl):0; $is_scrap = $ds_scrap?$oThis->isScrap($doc_srl):0; $exks = ((!$is_secret || $is_granted) && $oDocument->isExtraVarsExists()) ? $oDocument->getExtraVars() : array(); $tags = (!$is_secret || $is_granted) ? $oDocument->get('tag_list') : array(); $ufls = ((!$is_secret || $is_granted) && $oDocument->hasUploadedFiles()) ? $oDocument->getUploadedFiles() : array(); $un_extra = ($pt_vtype!='N'||$pt_dtype!='N'||$ao_ppang||$ds_mtlng)?$oDocument->get('extra_vars'):null; $un_extra = is_string($un_extra)?unserialize($un_extra):$un_extra; $use_point = $un_extra?(int)$un_extra->beluxe->use_point:0; $adopt_srl = $un_extra?(int)$un_extra->beluxe->adopt_srl:0; $is_restrict = !$is_granted&&!$is_secret&&($pt_vtype=='Y'&&!$oThis->isWrote($doc_srl, true, 'cmt')||$pt_vtype=='P'&&!$oThis->isRead($doc_srl)); $is_restrict = $is_restrict && $use_point; $allow_trb = $oDocument->allowTrackback(); $allow_cmt = $oDocument->allowComment(); $cate = $is_cts?$cts[$oDocument->get('category_srl')]:0; $dmb_srl = $oDocument->get('member_srl'); $is_doc_owner = $lg->member_srl && $dmb_srl == $lg->member_srl; }
{@ $_tmp = $grant->write_document&&$btm_lstcnt&&($sedt_wbtn||!$is_sedt)}
{$lang->document_write} {$lang->cmd_all_list}
{$lang->cmd_list}{$lang->cmd_close} {$lang->cmd_modify} {$lang->cmd_delete}