decodeProperties(array ( 'file_dependency' => array ( '9889c1b4e34ad34f5796509a76c1e6cb01978d08' => array ( 0 => 'C:\\inetpub\\wwwroot\\sophalcrm\\includes\\runtime/../../layouts/v7\\modules\\Documents\\DocumentsRelatedList.tpl', 1 => 1520586670, 2 => 'file', ), ), 'nocache_hash' => '279252055dd5088ec6b0b5-16071707', 'function' => array ( ), 'variables' => array ( 'MODULE' => 0, 'RELATED_HEADERS' => 0, 'RELATED_MODULE' => 0, 'RELATION_FIELD' => 0, 'PAGING' => 0, 'RELATED_MODULE_NAME' => 0, 'ORDER_BY' => 0, 'SORT_ORDER' => 0, 'RELATED_ENTIRES_COUNT' => 0, 'TOTAL_ENTRIES' => 0, 'TAB_LABEL' => 0, 'IS_RELATION_FIELD_ACTIVE' => 0, 'RELATED_LIST_LINKS' => 0, 'RELATED_LINK' => 0, 'IS_SELECT_BUTTON' => 0, 'IS_CREATE_PERMITTED' => 0, 'PARENT_ID' => 0, 'RELATED_RECORDS' => 0, 'PARENT_RECORD' => 0, 'IS_VIEWABLE' => 0, 'USER_MODEL' => 0, 'HEADER_FIELD' => 0, 'COLUMN_NAME' => 0, 'NEXT_SORT_ORDER' => 0, 'FASORT_IMAGE' => 0, 'SORT_IMAGE' => 0, 'FIELD_UI_TYPE_MODEL' => 0, 'SEARCH_DETAILS' => 0, 'RELATED_RECORD' => 0, 'DETAILVIEWPERMITTED' => 0, 'IS_DELETABLE' => 0, 'RECORD_ID' => 0, 'DOCUMENT_RECORD_MODEL' => 0, 'RELATED_HEADERNAME' => 0, 'WIDTHTYPE' => 0, 'CURRENCY_SYMBOL' => 0, 'CURRENCY_VALUE' => 0, 'RELATED_LIST_VALUE' => 0, 'RELATED_FIELDS_INFO' => 0, ), 'has_nocache_code' => false, 'version' => 'Smarty-3.1.7', 'unifunc' => 'content_5dd5088ee5422', ),false); /*/%%SmartyHeaderCode%%*/?> getSubTemplate (vtemplate_path("PicklistColorMap.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('LISTVIEW_HEADERS'=>$_smarty_tpl->tpl_vars['RELATED_HEADERS']->value), 0);?>
tpl_vars['RELATED_MODULE_NAME']->value);?>
tpl_vars['RELATED_MODULE_NAME']->value,$_tmp4);?>
| tpl_vars['HEADER_FIELD'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['HEADER_FIELD']->_loop = false; $_from = $_smarty_tpl->tpl_vars['RELATED_HEADERS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['HEADER_FIELD']->key => $_smarty_tpl->tpl_vars['HEADER_FIELD']->value){ $_smarty_tpl->tpl_vars['HEADER_FIELD']->_loop = true; ?>tpl_vars['HEADER_FIELD']->value->get('column')=='time_start'||$_smarty_tpl->tpl_vars['HEADER_FIELD']->value->get('column')=='time_end'){?> | tpl_vars['HEADER_FIELD']->value->get('column')=="access_count"||$_smarty_tpl->tpl_vars['HEADER_FIELD']->value->get('column')=="idlists"){?>tpl_vars['HEADER_FIELD']->value->get('label'),$_smarty_tpl->tpl_vars['RELATED_MODULE']->value->get('name'));?>
tpl_vars['COLUMN_NAME']->value==$_smarty_tpl->tpl_vars['HEADER_FIELD']->value->get('column')){?> tpl_vars['HEADER_FIELD']->value->get('label'),$_smarty_tpl->tpl_vars['RELATED_MODULE']->value->get('name'));?>
tpl_vars['COLUMN_NAME']->value==$_smarty_tpl->tpl_vars['HEADER_FIELD']->value->get('column')){?> | |
|---|---|---|
| tpl_vars['HEADER_FIELD'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['HEADER_FIELD']->_loop = false; $_from = $_smarty_tpl->tpl_vars['RELATED_HEADERS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['HEADER_FIELD']->key => $_smarty_tpl->tpl_vars['HEADER_FIELD']->value){ $_smarty_tpl->tpl_vars['HEADER_FIELD']->_loop = true; ?> | tpl_vars['HEADER_FIELD']->value->get('column')=='time_start'||$_smarty_tpl->tpl_vars['HEADER_FIELD']->value->get('column')=='time_end'||$_smarty_tpl->tpl_vars['HEADER_FIELD']->value->get('column')=='folderid'||$_smarty_tpl->tpl_vars['HEADER_FIELD']->value->getFieldDataType()=='reference'){?>tpl_vars['FIELD_UI_TYPE_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['HEADER_FIELD']->value->getUITypeModel(), null, 0);?>getSubTemplate (vtemplate_path($_smarty_tpl->tpl_vars['FIELD_UI_TYPE_MODEL']->value->getListSearchTemplateName(),$_smarty_tpl->tpl_vars['RELATED_MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('FIELD_MODEL'=>$_smarty_tpl->tpl_vars['HEADER_FIELD']->value,'SEARCH_INFO'=>$_smarty_tpl->tpl_vars['SEARCH_DETAILS']->value[$_smarty_tpl->tpl_vars['HEADER_FIELD']->value->getName()],'USER_MODEL'=>$_smarty_tpl->tpl_vars['USER_MODEL']->value), 0);?> | |
| tpl_vars['IS_DELETABLE']->value){?> tpl_vars['RECORD_ID'] = new Smarty_variable($_smarty_tpl->tpl_vars['RELATED_RECORD']->value->getId(), null, 0);?>tpl_vars["DOCUMENT_RECORD_MODEL"] = new Smarty_variable(Vtiger_Record_Model::getInstanceById($_smarty_tpl->tpl_vars['RECORD_ID']->value), null, 0);?>tpl_vars['DOCUMENT_RECORD_MODEL']->value->get('filename')&&$_smarty_tpl->tpl_vars['DOCUMENT_RECORD_MODEL']->value->get('filestatus')){?> tpl_vars['DOCUMENT_RECORD_MODEL']->value->get('filename')&&$_smarty_tpl->tpl_vars['DOCUMENT_RECORD_MODEL']->value->get('filestatus')&&$_smarty_tpl->tpl_vars['DOCUMENT_RECORD_MODEL']->value->get('filelocationtype')=='I'){?> | tpl_vars['HEADER_FIELD'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['HEADER_FIELD']->_loop = false; $_from = $_smarty_tpl->tpl_vars['RELATED_HEADERS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['HEADER_FIELD']->key => $_smarty_tpl->tpl_vars['HEADER_FIELD']->value){ $_smarty_tpl->tpl_vars['HEADER_FIELD']->_loop = true; ?>tpl_vars['RELATED_HEADERNAME'] = new Smarty_variable($_smarty_tpl->tpl_vars['HEADER_FIELD']->value->get('name'), null, 0);?>tpl_vars['RELATED_LIST_VALUE'] = new Smarty_variable($_smarty_tpl->tpl_vars['RELATED_RECORD']->value->get($_smarty_tpl->tpl_vars['RELATED_HEADERNAME']->value), null, 0);?>tpl_vars['IS_DOCUMENT_SOURCE_FIELD'] = new Smarty_variable(0, null, 0);?>tpl_vars['RELATED_MODULE']->value->get('name')=='Documents'&&$_smarty_tpl->tpl_vars['RELATED_HEADERNAME']->value=='document_source'){?>tpl_vars['RELATED_RECORD']->value->get($_smarty_tpl->tpl_vars['RELATED_HEADERNAME']->value)=='Vtiger'||$_smarty_tpl->tpl_vars['RELATED_RECORD']->value->get($_smarty_tpl->tpl_vars['RELATED_HEADERNAME']->value)=='Google Drive'||$_smarty_tpl->tpl_vars['RELATED_RECORD']->value->get($_smarty_tpl->tpl_vars['RELATED_HEADERNAME']->value)=='Dropbox'){?>tpl_vars['IS_DOCUMENT_SOURCE_FIELD'] = new Smarty_variable(1, null, 0);?>tpl_vars['RELATED_MODULE']->value->get('name')=='Documents'&&$_smarty_tpl->tpl_vars['RELATED_HEADERNAME']->value=='document_source'){?> |