Пример #1
0
 protected function add_S_MIME_TOP($id)
 {
     $align = array('left', 'left', 'center');
     $attrs = array(DTblDefBase::NewViewAttr('suffix', DMsg::ALbl('l_suffix')), DTblDefBase::NewViewAttr('type', DMsg::ALbl('l_mimetype')), DTblDefBase::NewActionAttr('S_MIME', 'Ed'));
     $this->_tblDef[$id] = DTbl::NewTop($id, DMsg::ALbl('l_mimetypedef'), $attrs, 'suffix', 'S_MIME', $align, NULL, 'file');
 }
Пример #2
0
 protected function add_VT_CTX_TOP($id)
 {
     $align = array('center', 'left', 'center', 'center');
     $attrs = array($this->_attrs['ctx_type'], DTblDefBase::NewViewAttr('uri', DMsg::ALbl('l_uri')), DTblDefBase::NewCustFlagAttr('order', DMsg::ALbl('l_order'), DAttr::BM_NOFILE | DAttr::BM_NOEDIT, true, 'ctxseq'), DTblDefBase::NewActionAttr($this->_options['ctxTbl'], 'vEd'));
     $this->_tblDef[$id] = DTbl::NewTop($id, DMsg::ALbl('l_contextlist'), $attrs, 'uri', 'VT_CTX_SEL', $align, NULL, array('NULL' => 'file', 'proxy' => 'network', 'redirect' => 'redirect', 'module' => 'module'), TRUE);
 }