Обновленные файлы: - crm_extensions/nextcloud_api.php (2 места) - modules/Documents/actions/NcPrepareEdit.php - crm_extensions/nextcloud_editor/js/nextcloud-editor.js - crm_extensions/file_storage/api/get_edit_urls.php - crm_extensions/file_storage/api/simple_edit.php - crm_extensions/README.md - NEXTCLOUD_EDIT_BUTTON_IMPLEMENTATION.md - crm_extensions/docs/NEXTCLOUD_EDITOR.md - test_syntax_check.html - crm_extensions/tests/test_edit_button.html Все ссылки теперь указывают на новый сервер office.clientright.ru Backup файлы и тестовые директории не изменены
75 lines
3.9 KiB
PHP
75 lines
3.9 KiB
PHP
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-17 16:47:00
|
|
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Calendar/partials/SidebarEssentials.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:139674991368f248d4577fa4-17803839%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_valid = $_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'a2a022b64e24aa8c2fd56653f6db57cc6bcb593f' =>
|
|
array (
|
|
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Calendar/partials/SidebarEssentials.tpl',
|
|
1 => 1711810495,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'nocache_hash' => '139674991368f248d4577fa4-17803839',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'variables' =>
|
|
array (
|
|
'MODULE' => 0,
|
|
'VIEW' => 0,
|
|
'QUICK_LINKS' => 0,
|
|
'SIDEBARWIDGET' => 0,
|
|
),
|
|
'has_nocache_code' => false,
|
|
'version' => 'Smarty-3.1.7',
|
|
'unifunc' => 'content_68f248d45d407',
|
|
),false); /*/%%SmartyHeaderCode%%*/?>
|
|
<?php if ($_valid && !is_callable('content_68f248d45d407')) {function content_68f248d45d407($_smarty_tpl) {?>
|
|
|
|
|
|
<?php if ($_GET['view']=='Calendar'||$_GET['view']=='SharedCalendar'||($_smarty_tpl->tpl_vars['MODULE']->value=='Calendar'&&$_smarty_tpl->tpl_vars['VIEW']->value!='List')){?>
|
|
|
|
<div class="sidebar-menu">
|
|
<div class="module-filters" id="module-filters">
|
|
<div class="sidebar-container lists-menu-container">
|
|
<?php $_smarty_tpl->tpl_vars['SIDEBARWIDGET'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['SIDEBARWIDGET']->_loop = false;
|
|
$_from = $_smarty_tpl->tpl_vars['QUICK_LINKS']->value['SIDEBARWIDGET']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
foreach ($_from as $_smarty_tpl->tpl_vars['SIDEBARWIDGET']->key => $_smarty_tpl->tpl_vars['SIDEBARWIDGET']->value){
|
|
$_smarty_tpl->tpl_vars['SIDEBARWIDGET']->_loop = true;
|
|
?>
|
|
<?php if ($_smarty_tpl->tpl_vars['SIDEBARWIDGET']->value->get('linklabel')=='LBL_ACTIVITY_TYPES'||$_smarty_tpl->tpl_vars['SIDEBARWIDGET']->value->get('linklabel')=='LBL_ADDED_CALENDARS'){?>
|
|
<div class="calendar-sidebar-tabs sidebar-widget" id="<?php echo $_smarty_tpl->tpl_vars['SIDEBARWIDGET']->value->get('linklabel');?>
|
|
-accordion" role="tablist" aria-multiselectable="true" data-widget-name="<?php echo $_smarty_tpl->tpl_vars['SIDEBARWIDGET']->value->get('linklabel');?>
|
|
">
|
|
<div class="calendar-sidebar-tab">
|
|
<div class="sidebar-widget-header" role="tab" data-url="<?php echo $_smarty_tpl->tpl_vars['SIDEBARWIDGET']->value->getUrl();?>
|
|
">
|
|
<div class="sidebar-header clearfix">
|
|
|
|
<h5 class="pull-left"><?php echo vtranslate($_smarty_tpl->tpl_vars['SIDEBARWIDGET']->value->get('linklabel'),$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
|
</h5>
|
|
<button class="btn btn-default pull-right sidebar-btn add-calendar-feed">
|
|
<div class="fa fa-plus" aria-hidden="true"></div>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
<hr style="margin: 5px 0;">
|
|
<div class="list-menu-content">
|
|
<div id="<?php echo $_smarty_tpl->tpl_vars['SIDEBARWIDGET']->value->get('linklabel');?>
|
|
" class="sidebar-widget-body activitytypes" style="max-height: 500px;">
|
|
<div style="text-align:center;"><img src="layouts/v7/skins/images/loading.gif"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php }?>
|
|
<?php } ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php }else{ ?>
|
|
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("partials/SidebarEssentials.tpl",'Vtiger'), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
|
|
|
<?php }?><?php }} ?>
|