- Создан API create_document_with_text.php для создания DOCX/XLSX/PPTX с текстом от AI - Поддержка Markdown форматирования (заголовки, жирный, курсив, списки, код) - Установлен PHPWord для красивого форматирования документов - Исправлены пути сохранения (crm2/CRM_Active_Files/... без /crm/ в начале) - Замена пробелов на подчеркивания в именах папок - Создана документация для AI и разработчиков - Добавлены API для работы с шаблонами Nextcloud
101 lines
4.3 KiB
PHP
101 lines
4.3 KiB
PHP
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-10 22:07:02
|
|
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/SettingsMenuStart.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:2104581323691237d6499430-85848690%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_valid = $_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'0a04a8f5fe388ea4125c458524204630093b769c' =>
|
|
array (
|
|
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/SettingsMenuStart.tpl',
|
|
1 => 1711810494,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'nocache_hash' => '2104581323691237d6499430-85848690',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'variables' =>
|
|
array (
|
|
'FIELDS_INFO' => 0,
|
|
'USER_MODEL' => 0,
|
|
'MODE' => 0,
|
|
),
|
|
'has_nocache_code' => false,
|
|
'version' => 'Smarty-3.1.7',
|
|
'unifunc' => 'content_691237d64a761',
|
|
),false); /*/%%SmartyHeaderCode%%*/?>
|
|
<?php if ($_valid && !is_callable('content_691237d64a761')) {function content_691237d64a761($_smarty_tpl) {?>
|
|
|
|
|
|
|
|
<?php echo $_smarty_tpl->getSubTemplate ("modules/Vtiger/partials/Topbar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
|
|
|
|
|
<div class="container-fluid app-nav">
|
|
<div class="row">
|
|
<?php echo $_smarty_tpl->getSubTemplate ("modules/Settings/Vtiger/SidebarHeader.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
|
|
|
<?php echo $_smarty_tpl->getSubTemplate ("modules/Settings/Vtiger/ModuleHeader.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
|
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
<div id='overlayPageContent' class='fade modal overlayPageContent content-area overlay-container-300' tabindex='-1' role='dialog' aria-hidden='true'>
|
|
<div class="data">
|
|
</div>
|
|
<div class="modal-dialog">
|
|
</div>
|
|
</div>
|
|
<?php if ($_smarty_tpl->tpl_vars['FIELDS_INFO']->value!=null){?>
|
|
<script type="text/javascript">
|
|
var uimeta = (function() {
|
|
var fieldInfo = <?php echo $_smarty_tpl->tpl_vars['FIELDS_INFO']->value;?>
|
|
;
|
|
return {
|
|
field: {
|
|
get: function(name, property) {
|
|
if(name && property === undefined) {
|
|
return fieldInfo[name];
|
|
}
|
|
if(name && property) {
|
|
return fieldInfo[name][property]
|
|
}
|
|
},
|
|
isMandatory : function(name){
|
|
if(fieldInfo[name]) {
|
|
return fieldInfo[name].mandatory;
|
|
}
|
|
return false;
|
|
},
|
|
getType : function(name){
|
|
if(fieldInfo[name]) {
|
|
return fieldInfo[name].type
|
|
}
|
|
return false;
|
|
}
|
|
},
|
|
};
|
|
})();
|
|
</script>
|
|
<?php }?>
|
|
<div class="main-container clearfix">
|
|
<?php $_smarty_tpl->tpl_vars['LEFTPANELHIDE'] = new Smarty_variable($_smarty_tpl->tpl_vars['USER_MODEL']->value->get('leftpanelhide'), null, 0);?>
|
|
<div class="module-nav clearfix settingsNav" id="modnavigator">
|
|
<div class="hidden-xs hidden-sm height100Per">
|
|
<?php if ($_smarty_tpl->tpl_vars['MODE']->value=='Overview'){?>
|
|
<?php echo $_smarty_tpl->getSubTemplate ("modules/Settings/Workflow2/VT7/Sidebar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
|
|
|
<?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['MODE']->value=='Config'){?>
|
|
<?php echo $_smarty_tpl->getSubTemplate ("modules/Settings/Workflow2/VT7/SidebarConfig.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
|
|
|
<?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['MODE']->value=='Statistic'){?>
|
|
<?php echo $_smarty_tpl->getSubTemplate ("modules/Settings/Workflow2/VT7/SidebarStatistic.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
|
|
|
<?php }?>
|
|
</div>
|
|
</div>
|
|
<div class="settingsPageDiv content-area clearfix">
|
|
<?php }} ?>
|