Files
crm.clientright.ru/test/templates_c/v7/e6408ddabfcec66e463e885c2a1d131cbb27878b.file.Sidebar.tpl.php
Fedor cd90b0d58a feat: Добавлен инструмент генерации документов для AI Ассистента
- Создан API create_document_with_text.php для создания DOCX/XLSX/PPTX с текстом от AI
- Поддержка Markdown форматирования (заголовки, жирный, курсив, списки, код)
- Установлен PHPWord для красивого форматирования документов
- Исправлены пути сохранения (crm2/CRM_Active_Files/... без /crm/ в начале)
- Замена пробелов на подчеркивания в именах папок
- Создана документация для AI и разработчиков
- Добавлены API для работы с шаблонами Nextcloud
2025-11-12 19:46:06 +03:00

94 lines
5.0 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/VT7/Sidebar.tpl" */ ?>
<?php /*%%SmartyHeaderCode:455986308691237d65a7fc5-15836927%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'e6408ddabfcec66e463e885c2a1d131cbb27878b' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/VT7/Sidebar.tpl',
1 => 1711810493,
2 => 'file',
),
),
'nocache_hash' => '455986308691237d65a7fc5-15836927',
'function' =>
array (
),
'variables' =>
array (
'MENUITEMS' => 0,
'BLOCK_NAME' => 0,
'CATLABEL' => 0,
'ITEMS' => 0,
'MENU' => 0,
'ITEM' => 0,
'VIEW' => 0,
'PAGE' => 0,
'VERSION' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_691237d65b2d2',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_691237d65b2d2')) {function content_691237d65b2d2($_smarty_tpl) {?><div class="settingsgroup">
<div id="pageOverlay" onclick="closePageOverlay();" style='cursor:url("modules/Workflow2/icons/cross-button.png"), auto;position:fixed;z-index:20000;top:0;left:0;display:none;height:100%;width:100%;background-image:url("modules/Workflow2/icons/modal.png");'><div id='pageOverlayContent' style='position:fixed;cursor:default;top:100px;margin:auto;left:50%;padding:10px;background-color:#ffffff;'>&nbsp;</div></div>
<div class="settingsgroup" id="settingsQuickWidgetContainer">
<div class="panel-group">
<?php $_smarty_tpl->tpl_vars['ITEMS'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['ITEMS']->_loop = false;
$_smarty_tpl->tpl_vars['CATLABEL'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['MENUITEMS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['ITEMS']->key => $_smarty_tpl->tpl_vars['ITEMS']->value){
$_smarty_tpl->tpl_vars['ITEMS']->_loop = true;
$_smarty_tpl->tpl_vars['CATLABEL']->value = $_smarty_tpl->tpl_vars['ITEMS']->key;
?>
<div class="settingsgroup-panel panel panel-default instaSearch">
<div id="<?php echo $_smarty_tpl->tpl_vars['BLOCK_NAME']->value;?>
_accordion" class="app-nav" role="tab">
<div class="app-settings-accordion">
<div class="settingsgroup-accordion">
<a data-toggle="collapse" data-parent="#accordion" class='collapsed' href="#<?php echo $_smarty_tpl->tpl_vars['BLOCK_NAME']->value;?>
">
<i class="indicator fa fa-chevron-right"></i>
&nbsp;<span><?php echo vtranslate($_smarty_tpl->tpl_vars['CATLABEL']->value,'Settings:Workflow2');?>
</span>
</a>
</div>
</div>
</div>
<div id="<?php echo $_smarty_tpl->tpl_vars['BLOCK_NAME']->value;?>
" class="panel-collapse ulBlock">
<ul class="list-group widgetContainer">
<?php $_smarty_tpl->tpl_vars['ITEM'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['ITEM']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['ITEMS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['ITEM']->key => $_smarty_tpl->tpl_vars['ITEM']->value){
$_smarty_tpl->tpl_vars['ITEM']->_loop = true;
?>
<li>
<a data-name="<?php echo $_smarty_tpl->tpl_vars['MENU']->value;?>
" href="<?php echo $_smarty_tpl->tpl_vars['ITEM']->value['url'];?>
" class="menuItemLabel <?php if ($_smarty_tpl->tpl_vars['VIEW']->value==$_smarty_tpl->tpl_vars['ITEM']->value['view']&&(empty($_smarty_tpl->tpl_vars['PAGE']->value)||$_smarty_tpl->tpl_vars['PAGE']->value==$_smarty_tpl->tpl_vars['ITEM']->value['page'])){?> selectedMenuItem selectedListItem<?php }?>">
<?php if (!empty($_smarty_tpl->tpl_vars['ITEM']->value['errors'])){?><span class="SidebarErrors"><?php echo $_smarty_tpl->tpl_vars['ITEM']->value['errors'];?>
</span><?php }?>
<?php echo vtranslate($_smarty_tpl->tpl_vars['ITEM']->value['label'],$_smarty_tpl->tpl_vars['ITEM']->value['module']);?>
</a>
</li>
<?php } ?>
</ul>
</div>
</div>
<?php } ?>
</div>
<div class='WF2footerSidebar'>
Workflow Designer <?php echo $_smarty_tpl->tpl_vars['VERSION']->value;?>
<br/>
Translation by <a href="<?php echo vtranslate('TRANSLATION_AUTHOR_URL','Workflow2');?>
"><?php echo vtranslate('TRANSLATION_AUTHOR_NAME','Workflow2');?>
</a>
</div>
</div>
</div><?php }} ?>