- Создан API create_document_with_text.php для создания DOCX/XLSX/PPTX с текстом от AI - Поддержка Markdown форматирования (заголовки, жирный, курсив, списки, код) - Установлен PHPWord для красивого форматирования документов - Исправлены пути сохранения (crm2/CRM_Active_Files/... без /crm/ в начале) - Замена пробелов на подчеркивания в именах папок - Создана документация для AI и разработчиков - Добавлены API для работы с шаблонами Nextcloud
30 lines
3.4 KiB
PHP
30 lines
3.4 KiB
PHP
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-02 18:25:19
|
|
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouQuickReminder/Reminder.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:919172830690777dfcd8d26-96050959%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_valid = $_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'0d6898570ac3df2cefd98ea73decd5a4383e35c5' =>
|
|
array (
|
|
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouQuickReminder/Reminder.tpl',
|
|
1 => 1711810495,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'nocache_hash' => '919172830690777dfcd8d26-96050959',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'variables' =>
|
|
array (
|
|
'MODULE' => 0,
|
|
),
|
|
'has_nocache_code' => false,
|
|
'version' => 'Smarty-3.1.7',
|
|
'unifunc' => 'content_690777dfcdfea',
|
|
),false); /*/%%SmartyHeaderCode%%*/?>
|
|
<?php if ($_valid && !is_callable('content_690777dfcdfea')) {function content_690777dfcdfea($_smarty_tpl) {?>
|
|
<li class="its4you_quickreminder_menu" style="display: block;"><div class="dropdown pull-left"><div class="dropdown-toggle displayInlineBlock" data-toggle="dropdown" aria-expanded="true"><a href="#" id="menubar_its4you_quickreminder" class="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
|
_menu_icon fa fa-bell" title="Quick Reminder" aria-hidden="true"><span class="ITS4YouQuickReminderBadge animated bounce numberCircle" style="position: absolute; right: 0; bottom: 5px; display: none; border-radius: 10px;font: bold 10px Arial; padding: 3px 5px;"></span></a></div><ul class="dropdown-menu its4you_quickreminder_dropdown"><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("ReminderList.tpl","ITS4YouQuickReminder"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
|
</ul></div><style>.<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
|
_menu_icon {height: 37px;vertical-align: top;display: inline-block;line-height: 15px;}.its4you_quickreminder_dropdown {min-width: 320px;width: 500px;max-width: 500px;}#its4you_quickreminder_title {display: block;position: relative;line-height: 50px;vertical-align: top;height: 50px;margin: 4px 10px;background: #EFEFEF;}.its4you_reminder_text {line-height: 48px;display: inline-block;padding: 0 15px;font-size: 15px;margin: 0 0 0 50px;}.its4you_reminder_icon {text-shadow: 0 0 3px rgba(0,0,0,0.3);background: #EF5E29;color: #fff;text-align: center;vertical-align: middle;display: inline-block;line-height: 50px;width: 50px;height: 50px;position: absolute;}.its4you_reminder_icon.bg{line-height: 60px;}#its4you_quickreminder_title .its4you_quickreminder_action{margin: 10px;position: absolute;right: 0;}#its4you_quickreminder_settings {margin: 6px 10px;width: 30%;}#its4you_quickreminder_settings a.select2-choice {padding: 0;}.its4you_quickreminder_record {position: relative;}.its4you_quickreminder_record .actions{position: absolute;top: 15px;right: 15px;background: #fff;text-align: right;}.its4you_quickreminder_record .actions div{margin: 0 0 10px 0;}.its4you_quickreminder_record a.linktomodule {display: block;min-height: 50px;}.its4you_reminder_icon.list i.fa {display: inline-block;font-size: 30px;margin: 10px;}.its4you_reminder_subject {width: 80%;max-width: 350px;min-height: 50px;padding: 0 0 0 15px;margin: 0 0 0 50px;}.rem_status {display: inline-block;border-radius: 5px;background: #000;color: #fff;padding: 1px 3px;}</style></li><?php }} ?>
|