- Создан API create_document_with_text.php для создания DOCX/XLSX/PPTX с текстом от AI - Поддержка Markdown форматирования (заголовки, жирный, курсив, списки, код) - Установлен PHPWord для красивого форматирования документов - Исправлены пути сохранения (crm2/CRM_Active_Files/... без /crm/ в начале) - Замена пробелов на подчеркивания в именах папок - Создана документация для AI и разработчиков - Добавлены API для работы с шаблонами Nextcloud
63 lines
3.0 KiB
PHP
63 lines
3.0 KiB
PHP
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-02 18:25:12
|
|
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/partials/Menubar.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:634686953690777d811f823-49160410%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_valid = $_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'c2d110b6297463eb453c9e1a20c7d9b4959a39eb' =>
|
|
array (
|
|
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/partials/Menubar.tpl',
|
|
1 => 1711810494,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'nocache_hash' => '634686953690777d811f823-49160410',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'variables' =>
|
|
array (
|
|
'MENU_STRUCTURE' => 0,
|
|
'SELECTED_CATEGORY_MENU_LIST' => 0,
|
|
'moduleModel' => 0,
|
|
'moduleName' => 0,
|
|
'translatedModuleLabel' => 0,
|
|
'MODULE' => 0,
|
|
'SELECTED_MENU_CATEGORY' => 0,
|
|
),
|
|
'has_nocache_code' => false,
|
|
'version' => 'Smarty-3.1.7',
|
|
'unifunc' => 'content_690777d812af3',
|
|
),false); /*/%%SmartyHeaderCode%%*/?>
|
|
<?php if ($_valid && !is_callable('content_690777d812af3')) {function content_690777d812af3($_smarty_tpl) {?>
|
|
|
|
<?php if ($_smarty_tpl->tpl_vars['MENU_STRUCTURE']->value){?>
|
|
<?php $_smarty_tpl->tpl_vars["topMenus"] = new Smarty_variable($_smarty_tpl->tpl_vars['MENU_STRUCTURE']->value->getTop(), null, 0);?>
|
|
<?php $_smarty_tpl->tpl_vars["moreMenus"] = new Smarty_variable($_smarty_tpl->tpl_vars['MENU_STRUCTURE']->value->getMore(), null, 0);?>
|
|
|
|
<div id="modules-menu" class="modules-menu">
|
|
<?php $_smarty_tpl->tpl_vars['moduleModel'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['moduleModel']->_loop = false;
|
|
$_smarty_tpl->tpl_vars['moduleName'] = new Smarty_Variable;
|
|
$_from = $_smarty_tpl->tpl_vars['SELECTED_CATEGORY_MENU_LIST']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
foreach ($_from as $_smarty_tpl->tpl_vars['moduleModel']->key => $_smarty_tpl->tpl_vars['moduleModel']->value){
|
|
$_smarty_tpl->tpl_vars['moduleModel']->_loop = true;
|
|
$_smarty_tpl->tpl_vars['moduleName']->value = $_smarty_tpl->tpl_vars['moduleModel']->key;
|
|
?>
|
|
<?php $_smarty_tpl->tpl_vars['translatedModuleLabel'] = new Smarty_variable(vtranslate($_smarty_tpl->tpl_vars['moduleModel']->value->get('label'),$_smarty_tpl->tpl_vars['moduleName']->value), null, 0);?>
|
|
<ul title="<?php echo $_smarty_tpl->tpl_vars['translatedModuleLabel']->value;?>
|
|
" class="module-qtip">
|
|
<li <?php if ($_smarty_tpl->tpl_vars['MODULE']->value==$_smarty_tpl->tpl_vars['moduleName']->value){?>class="active"<?php }else{ ?>class=""<?php }?>>
|
|
<a href="<?php echo $_smarty_tpl->tpl_vars['moduleModel']->value->getDefaultUrl();?>
|
|
&app=<?php echo $_smarty_tpl->tpl_vars['SELECTED_MENU_CATEGORY']->value;?>
|
|
">
|
|
<?php echo $_smarty_tpl->tpl_vars['moduleModel']->value->getModuleIcon();?>
|
|
|
|
<span><?php echo $_smarty_tpl->tpl_vars['translatedModuleLabel']->value;?>
|
|
</span>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
<?php } ?>
|
|
</div>
|
|
<?php }?>
|
|
<?php }} ?>
|