feat: Обновлены все URL Nextcloud с office.klientprav.tech на office.clientright.ru

Обновленные файлы:
- 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 файлы и тестовые директории не изменены
This commit is contained in:
Fedor
2025-10-20 17:17:34 +03:00
parent 0f32f271d5
commit 75d3f7942b
62 changed files with 3502 additions and 15 deletions

View File

@@ -1 +1 @@
2025-10-16 10:10:08
2025-10-20 10:30:10

View File

@@ -0,0 +1,57 @@
<?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/ListViewRecordActions.tpl" */ ?>
<?php /*%%SmartyHeaderCode:149464572068f248d46f8335-80508715%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'19e82995439910e4d6c0081936707f365f0b44e2' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Calendar/ListViewRecordActions.tpl',
1 => 1711810495,
2 => 'file',
),
),
'nocache_hash' => '149464572068f248d46f8335-80508715',
'function' =>
array (
),
'variables' =>
array (
'SEARCH_MODE_RESULTS' => 0,
'LISTVIEW_ENTRY' => 0,
'MODULE' => 0,
'QUICK_PREVIEW_ENABLED' => 0,
'MODULE_MODEL' => 0,
'STARRED' => 0,
'IS_MODULE_EDITABLE' => 0,
'EDIT_VIEW_URL' => 0,
'IS_CREATE_PERMITTED' => 0,
'SELECTED_MENU_CATEGORY' => 0,
'RECORD_ACTIONS' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68f248d47127d',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68f248d47127d')) {function content_68f248d47127d($_smarty_tpl) {?>
<div class="table-actions calendar-table-actions"><?php if (!$_smarty_tpl->tpl_vars['SEARCH_MODE_RESULTS']->value){?><span class="input" ><input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getId();?>
" class="listViewEntriesCheckBox"/></span><?php }?><?php if ($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get('starred')==vtranslate('LBL_YES',$_smarty_tpl->tpl_vars['MODULE']->value)){?><?php $_smarty_tpl->tpl_vars['STARRED'] = new Smarty_variable(true, null, 0);?><?php }else{ ?><?php $_smarty_tpl->tpl_vars['STARRED'] = new Smarty_variable(false, null, 0);?><?php }?><?php if ($_smarty_tpl->tpl_vars['QUICK_PREVIEW_ENABLED']->value=='true'){?><span><a class="quickView fa fa-eye icon action" title="<?php echo vtranslate('LBL_QUICK_VIEW',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"></a></span><?php }?><?php if ($_smarty_tpl->tpl_vars['MODULE_MODEL']->value->isStarredEnabled()){?><span><a class="markStar fa icon action <?php if ($_smarty_tpl->tpl_vars['STARRED']->value){?> fa-star active <?php }else{ ?> fa-star-o<?php }?>" title="<?php if ($_smarty_tpl->tpl_vars['STARRED']->value){?> <?php echo vtranslate('LBL_STARRED',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php }else{ ?> <?php echo vtranslate('LBL_NOT_STARRED',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php }?>"></a></span><?php }?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getEditViewUrl();?>
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['EDIT_VIEW_URL'] = new Smarty_variable($_tmp1, null, 0);?><?php if ($_smarty_tpl->tpl_vars['IS_MODULE_EDITABLE']->value&&$_smarty_tpl->tpl_vars['EDIT_VIEW_URL']->value&&$_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get('taskstatus')!=vtranslate('Held',$_smarty_tpl->tpl_vars['MODULE']->value)&&$_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get('taskstatus')!=vtranslate('Completed',$_smarty_tpl->tpl_vars['MODULE']->value)){?><span class="fa fa-check icon action markAsHeld" title="<?php echo vtranslate('LBL_MARK_AS_HELD',$_smarty_tpl->tpl_vars['MODULE']->value);?>
" onclick="Calendar_Calendar_Js.markAsHeld('<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getId();?>
');"></span><?php }?><?php if ($_smarty_tpl->tpl_vars['IS_CREATE_PERMITTED']->value&&$_smarty_tpl->tpl_vars['EDIT_VIEW_URL']->value&&$_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get('taskstatus')==vtranslate('Held',$_smarty_tpl->tpl_vars['MODULE']->value)){?><span class="fa fa-flag icon action holdFollowupOn" title="<?php echo vtranslate('LBL_HOLD_FOLLOWUP_ON',"Events");?>
" onclick="Calendar_Calendar_Js.holdFollowUp('<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getId();?>
');"></span><?php }?><span class="more dropdown action"><span href="javascript:;" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-ellipsis-v icon"></i></span><ul class="dropdown-menu"><li><a data-id="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getId();?>
" href="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getFullDetailViewUrl();?>
&app=<?php echo $_smarty_tpl->tpl_vars['SELECTED_MENU_CATEGORY']->value;?>
"><?php echo vtranslate('LBL_DETAILS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</a></li><?php if ($_smarty_tpl->tpl_vars['RECORD_ACTIONS']->value){?><?php if ($_smarty_tpl->tpl_vars['RECORD_ACTIONS']->value['edit']){?><li><a data-id="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getId();?>
" href="javascript:void(0);" data-url="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getEditViewUrl();?>
&app=<?php echo $_smarty_tpl->tpl_vars['SELECTED_MENU_CATEGORY']->value;?>
" name="editlink"><?php echo vtranslate('LBL_EDIT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</a></li><?php }?><?php if ($_smarty_tpl->tpl_vars['RECORD_ACTIONS']->value['delete']){?><li><a data-id="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getId();?>
" href="javascript:void(0);" class="deleteRecordButton"><?php echo vtranslate('LBL_DELETE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</a></li><?php }?><?php }?></ul></span><div class="btn-group inline-save hide"><button class="button btn-success btn-small save" name="save"><i class="fa fa-check"></i></button><button class="button btn-danger btn-small cancel" name="Cancel"><i class="fa fa-close"></i></button></div></div><?php }} ?>

View File

@@ -0,0 +1,78 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-17 16:48:49
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/Recurrence.tpl" */ ?>
<?php /*%%SmartyHeaderCode:157971448768f24941169943-21722472%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'2e0e441b6eb28ae0dafe8e2fcb87e1aeb77f009b' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/Recurrence.tpl',
1 => 1711810494,
2 => 'file',
),
),
'nocache_hash' => '157971448768f24941169943-21722472',
'function' =>
array (
),
'variables' =>
array (
'RECURRING_INFORMATION' => 0,
'FIELD_MODEL' => 0,
'MODULE' => 0,
'FREQUENCY' => 0,
'USER_MODEL' => 0,
'TOMORROWDATE' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68f249411920e',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68f249411920e')) {function content_68f249411920e($_smarty_tpl) {?>
<div class="row" style="width:540px;"><div style="float: left;margin-top: 7px; padding-left:15px;"><?php if ($_smarty_tpl->tpl_vars['RECURRING_INFORMATION']->value['recurringcheck']=='Yes'&&!$_REQUEST['isDuplicate']){?><input type="hidden" class="recurringEdit" value="true" /><?php }?><input type="checkbox" name="recurringcheck" data-field-id= '<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('id');?>
' value="" <?php if ($_smarty_tpl->tpl_vars['RECURRING_INFORMATION']->value['recurringcheck']=='Yes'){?>checked<?php }?>/>&nbsp;&nbsp;</div><div class="" id="repeatUI" style="visibility: <?php if ($_smarty_tpl->tpl_vars['RECURRING_INFORMATION']->value['recurringcheck']=='Yes'){?>visible<?php }else{ ?>collapse<?php }?>;"><div><span><span class="alignMiddle"><?php echo vtranslate('LBL_REPEATEVENT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
&nbsp;&nbsp;</span><select class="select2 input-mini" name="repeat_frequency"><?php $_smarty_tpl->tpl_vars['FREQUENCY'] = new Smarty_Variable;$_smarty_tpl->tpl_vars['FREQUENCY']->step = 1;$_smarty_tpl->tpl_vars['FREQUENCY']->total = (int)ceil(($_smarty_tpl->tpl_vars['FREQUENCY']->step > 0 ? 14+1 - (1) : 1-(14)+1)/abs($_smarty_tpl->tpl_vars['FREQUENCY']->step));
if ($_smarty_tpl->tpl_vars['FREQUENCY']->total > 0){
for ($_smarty_tpl->tpl_vars['FREQUENCY']->value = 1, $_smarty_tpl->tpl_vars['FREQUENCY']->iteration = 1;$_smarty_tpl->tpl_vars['FREQUENCY']->iteration <= $_smarty_tpl->tpl_vars['FREQUENCY']->total;$_smarty_tpl->tpl_vars['FREQUENCY']->value += $_smarty_tpl->tpl_vars['FREQUENCY']->step, $_smarty_tpl->tpl_vars['FREQUENCY']->iteration++){
$_smarty_tpl->tpl_vars['FREQUENCY']->first = $_smarty_tpl->tpl_vars['FREQUENCY']->iteration == 1;$_smarty_tpl->tpl_vars['FREQUENCY']->last = $_smarty_tpl->tpl_vars['FREQUENCY']->iteration == $_smarty_tpl->tpl_vars['FREQUENCY']->total;?><option value="<?php echo $_smarty_tpl->tpl_vars['FREQUENCY']->value;?>
" <?php if ($_smarty_tpl->tpl_vars['FREQUENCY']->value==$_smarty_tpl->tpl_vars['RECURRING_INFORMATION']->value['repeat_frequency']){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['FREQUENCY']->value;?>
</option><?php }} ?></select></span><span><select class="select2 input-medium" style="width:100px;margin-left: 10px;" name="recurringtype" id="recurringType"><option value="Daily" <?php if ($_smarty_tpl->tpl_vars['RECURRING_INFORMATION']->value['eventrecurringtype']=='Daily'){?> selected <?php }?>><?php echo vtranslate('LBL_DAYS_TYPE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option><option value="Weekly" <?php if ($_smarty_tpl->tpl_vars['RECURRING_INFORMATION']->value['eventrecurringtype']=='Weekly'){?> selected <?php }?>><?php echo vtranslate('LBL_WEEKS_TYPE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option><option value="Monthly" <?php if ($_smarty_tpl->tpl_vars['RECURRING_INFORMATION']->value['eventrecurringtype']=='Monthly'){?> selected <?php }?>><?php echo vtranslate('LBL_MONTHS_TYPE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option><option value="Yearly" <?php if ($_smarty_tpl->tpl_vars['RECURRING_INFORMATION']->value['eventrecurringtype']=='Yearly'){?> selected <?php }?>><?php echo vtranslate('LBL_YEAR_TYPE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option></select></span><span><span class="alignMiddle displayInlineBlock">&nbsp;&nbsp;<?php echo vtranslate('LBL_UNTIL',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</span><span class="input-group date pull-right inputElement"><input type="text" id="calendar_repeat_limit_date" class="dateField input-small form-control" name="calendar_repeat_limit_date" data-date-format="<?php echo $_smarty_tpl->tpl_vars['USER_MODEL']->value->get('date_format');?>
"value="<?php if ($_smarty_tpl->tpl_vars['RECURRING_INFORMATION']->value['recurringcheck']!='Yes'){?><?php echo $_smarty_tpl->tpl_vars['TOMORROWDATE']->value;?>
<?php }elseif($_smarty_tpl->tpl_vars['RECURRING_INFORMATION']->value['recurringcheck']=='Yes'){?><?php echo $_smarty_tpl->tpl_vars['RECURRING_INFORMATION']->value['recurringenddate'];?>
<?php }?>"data-rule-date="true" data-rule-required="true"/><span class="input-group-addon"><i class="fa fa-calendar"></i></span></span></span></div><div class="row <?php if ($_smarty_tpl->tpl_vars['RECURRING_INFORMATION']->value['eventrecurringtype']=='Weekly'){?>show<?php }else{ ?>hide<?php }?>" id="repeatWeekUI" style="margin:10px 0;"><span class="col-lg-2"><span class="medium" style="padding-left:23px"><?php echo ucwords(vtranslate('LBL_ON',$_smarty_tpl->tpl_vars['MODULE']->value));?>
</span></span><span class="col-lg-10"><label class="checkbox" style="margin-left: 30px;display: inline;"><input name="sun_flag" value="sunday" <?php echo $_smarty_tpl->tpl_vars['RECURRING_INFORMATION']->value['week0'];?>
type="checkbox"/><?php echo vtranslate('LBL_SM_SUN',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><label class="checkbox" style="margin-left: 30px;display: inline;"><input name="mon_flag" value="monday" <?php echo $_smarty_tpl->tpl_vars['RECURRING_INFORMATION']->value['week1'];?>
type="checkbox"><?php echo vtranslate('LBL_SM_MON',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><label class="checkbox" style="margin-left: 30px;display: inline;"><input name="tue_flag" value="tuesday" <?php echo $_smarty_tpl->tpl_vars['RECURRING_INFORMATION']->value['week2'];?>
type="checkbox"><?php echo vtranslate('LBL_SM_TUE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><label class="checkbox" style="margin-left: 30px;display: inline;"><input name="wed_flag" value="wednesday" <?php echo $_smarty_tpl->tpl_vars['RECURRING_INFORMATION']->value['week3'];?>
type="checkbox"><?php echo vtranslate('LBL_SM_WED',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><label class="checkbox" style="margin-left: 30px;display: inline;"><input name="thu_flag" value="thursday" <?php echo $_smarty_tpl->tpl_vars['RECURRING_INFORMATION']->value['week4'];?>
type="checkbox"><?php echo vtranslate('LBL_SM_THU',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><label class="checkbox" style="margin-left: 30px;display: inline;"><input name="fri_flag" value="friday" <?php echo $_smarty_tpl->tpl_vars['RECURRING_INFORMATION']->value['week5'];?>
type="checkbox"><?php echo vtranslate('LBL_SM_FRI',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><label class="checkbox" style="margin-left: 30px;display: inline;"><input name="sat_flag" value="saturday" <?php echo $_smarty_tpl->tpl_vars['RECURRING_INFORMATION']->value['week6'];?>
type="checkbox"><?php echo vtranslate('LBL_SM_SAT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label></span></div><div class="<?php if ($_smarty_tpl->tpl_vars['RECURRING_INFORMATION']->value['eventrecurringtype']=='Monthly'){?>show<?php }else{ ?>hide<?php }?>" id="repeatMonthUI" style="margin-top:10px;"RCa><div class="row"><span class="col-lg-4"><span class="pull-right"><input type="radio" id="repeatDate" data-field-id= '<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('id');?>
' name="repeatMonth" checked value="date" <?php if ($_smarty_tpl->tpl_vars['RECURRING_INFORMATION']->value['repeatMonth']=='date'){?> checked <?php }?>/><span class="alignMiddle" style="margin-left: 0.8em;"><?php echo vtranslate('LBL_ON',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</span></span></span><span class="col-lg-8"><input type="text" id="repeatMonthDate" data-field-id= '<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('id');?>
' class="input-mini" style="width: 50px;" name="repeatMonth_date" data-validation-engine='validate[funcCall[Calendar_RepeatMonthDate_Validator_Js.invokeValidation]]' value="<?php if ($_smarty_tpl->tpl_vars['RECURRING_INFORMATION']->value['repeatMonth_date']==''){?>2<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['RECURRING_INFORMATION']->value['repeatMonth_date'];?>
<?php }?>"/><span class="alignMiddle" style="margin-left: 0.8em;"><?php echo vtranslate('LBL_DAY_OF_THE_MONTH',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</span></span><div class="clearfix"></div></div><div class="row" id="repeatMonthDayUI" style="margin-top: 10px;"><span class="col-lg-4"><span class="pull-right"><input type="radio" id="repeatDay" data-field-id= '<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('id');?>
' name="repeatMonth" value="day" <?php if ($_smarty_tpl->tpl_vars['RECURRING_INFORMATION']->value['repeatMonth']=='day'){?> checked <?php }?>/><span class="alignMiddle" style="margin-left: 0.8em;"><?php echo vtranslate('LBL_ON',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</span></span></span><span class="col-lg-2"><select id="repeatMonthDayType" class="select2" name="repeatMonth_daytype" style="width: 90px;"><option value="first" <?php if ($_smarty_tpl->tpl_vars['RECURRING_INFORMATION']->value['repeatMonth_daytype']=='first'){?> selected <?php }?>><?php echo vtranslate('LBL_FIRST',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option><option value="last" <?php if ($_smarty_tpl->tpl_vars['RECURRING_INFORMATION']->value['repeatMonth_daytype']=='last'){?> selected <?php }?>><?php echo vtranslate('LBL_LAST',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option></select></span><span class="col-lg-6 margin0"><select id="repeatMonthDay" class="select2" name="repeatMonth_day" style="width: 120px;"><option value=0 <?php if ($_smarty_tpl->tpl_vars['RECURRING_INFORMATION']->value['repeatMonth_day']==0){?> selected <?php }?>><?php echo vtranslate('LBL_DAY0',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option><option value=1 <?php if ($_smarty_tpl->tpl_vars['RECURRING_INFORMATION']->value['repeatMonth_day']==1){?> selected <?php }?>><?php echo vtranslate('LBL_DAY1',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option><option value=2 <?php if ($_smarty_tpl->tpl_vars['RECURRING_INFORMATION']->value['repeatMonth_day']==2){?> selected <?php }?>><?php echo vtranslate('LBL_DAY2',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option><option value=3 <?php if ($_smarty_tpl->tpl_vars['RECURRING_INFORMATION']->value['repeatMonth_day']==3){?> selected <?php }?>><?php echo vtranslate('LBL_DAY3',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option><option value=4 <?php if ($_smarty_tpl->tpl_vars['RECURRING_INFORMATION']->value['repeatMonth_day']==4){?> selected <?php }?>><?php echo vtranslate('LBL_DAY4',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option><option value=5 <?php if ($_smarty_tpl->tpl_vars['RECURRING_INFORMATION']->value['repeatMonth_day']==5){?> selected <?php }?>><?php echo vtranslate('LBL_DAY5',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option><option value=6 <?php if ($_smarty_tpl->tpl_vars['RECURRING_INFORMATION']->value['repeatMonth_day']==6){?> selected <?php }?>><?php echo vtranslate('LBL_DAY6',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option></select></span></div></div></div></div><?php }} ?>

View File

@@ -0,0 +1,38 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-17 16:44:32
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Events/uitypes/DateTime.tpl" */ ?>
<?php /*%%SmartyHeaderCode:150501642868f24840ad6888-61981624%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'538f58b47ddd9112437e3eb1056424f70b4a860e' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Events/uitypes/DateTime.tpl',
1 => 1711810495,
2 => 'file',
),
),
'nocache_hash' => '150501642868f24840ad6888-61981624',
'function' =>
array (
),
'variables' =>
array (
'FIELD_MODEL' => 0,
'RECORD_STRUCTURE_MODEL' => 0,
'MODULE_MODEL' => 0,
'DATE_TIME_VALUE' => 0,
'DATE_TIME_COMPONENTS' => 0,
'TIME_FIELD' => 0,
'DATE_TIME_CONVERTED_VALUE' => 0,
'DATE_FIELD' => 0,
'MODULE' => 0,
'BLOCK_FIELDS' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68f24840aebda',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68f24840aebda')) {function content_68f24840aebda($_smarty_tpl) {?>
<?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getName()=='date_start'){?><?php $_smarty_tpl->tpl_vars['DATE_FIELD'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value, null, 0);?><?php $_smarty_tpl->tpl_vars['MODULE_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['RECORD_STRUCTURE_MODEL']->value->getModule(), null, 0);?><?php $_smarty_tpl->tpl_vars['TIME_FIELD'] = new Smarty_variable($_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getField('time_start'), null, 0);?><?php }elseif($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getName()=='due_date'){?><?php $_smarty_tpl->tpl_vars['DATE_FIELD'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value, null, 0);?><?php $_smarty_tpl->tpl_vars['MODULE_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['RECORD_STRUCTURE_MODEL']->value->getModule(), null, 0);?><?php $_smarty_tpl->tpl_vars['TIME_FIELD'] = new Smarty_variable($_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getField('time_end'), null, 0);?><?php }?><?php $_smarty_tpl->tpl_vars['DATE_TIME_VALUE'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue'), null, 0);?><?php $_smarty_tpl->tpl_vars['DATE_TIME_COMPONENTS'] = new Smarty_variable(explode(' ',$_smarty_tpl->tpl_vars['DATE_TIME_VALUE']->value), null, 0);?><?php $_smarty_tpl->tpl_vars['TIME_FIELD'] = new Smarty_variable($_smarty_tpl->tpl_vars['TIME_FIELD']->value->set('fieldvalue',$_smarty_tpl->tpl_vars['DATE_TIME_COMPONENTS']->value[1]), null, 0);?><?php $_smarty_tpl->tpl_vars['DATE_TIME_CONVERTED_VALUE'] = new Smarty_variable(DateTimeField::convertToUserTimeZone($_smarty_tpl->tpl_vars['DATE_TIME_VALUE']->value)->format('Y-m-d H:i:s'), null, 0);?><?php $_smarty_tpl->tpl_vars['DATE_TIME_COMPONENTS'] = new Smarty_variable(explode(' ',$_smarty_tpl->tpl_vars['DATE_TIME_CONVERTED_VALUE']->value), null, 0);?><?php $_smarty_tpl->tpl_vars['DATE_FIELD'] = new Smarty_variable($_smarty_tpl->tpl_vars['DATE_FIELD']->value->set('fieldvalue',$_smarty_tpl->tpl_vars['DATE_TIME_COMPONENTS']->value[0]), null, 0);?><div><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('uitypes/Date.tpl',$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('BLOCK_FIELDS'=>$_smarty_tpl->tpl_vars['BLOCK_FIELDS']->value,'FIELD_MODEL'=>$_smarty_tpl->tpl_vars['DATE_FIELD']->value), 0);?>
</div><div><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('uitypes/Time.tpl',$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('BLOCK_FIELDS'=>$_smarty_tpl->tpl_vars['BLOCK_FIELDS']->value,'FIELD_MODEL'=>$_smarty_tpl->tpl_vars['TIME_FIELD']->value,'FIELD_NAME'=>$_smarty_tpl->tpl_vars['TIME_FIELD']->value->getFieldName()), 0);?>
</div><?php }} ?>

View File

@@ -0,0 +1,38 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-17 18:13:43
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Calendar/uitypes/DateTime.tpl" */ ?>
<?php /*%%SmartyHeaderCode:188359124668f25d275ecb69-27316477%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'55465593304ea51addf431fad454d1bdfd4c5ee7' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Calendar/uitypes/DateTime.tpl',
1 => 1711810495,
2 => 'file',
),
),
'nocache_hash' => '188359124668f25d275ecb69-27316477',
'function' =>
array (
),
'variables' =>
array (
'FIELD_MODEL' => 0,
'RECORD_STRUCTURE_MODEL' => 0,
'MODULE_MODEL' => 0,
'DATE_TIME_VALUE' => 0,
'TIME_FIELD' => 0,
'DATE_TIME_COMPONENTS' => 0,
'DATE_TIME_CONVERTED_VALUE' => 0,
'DATE_FIELD' => 0,
'MODULE' => 0,
'BLOCK_FIELDS' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68f25d27630eb',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68f25d27630eb')) {function content_68f25d27630eb($_smarty_tpl) {?>
<?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getName()=='date_start'){?><?php $_smarty_tpl->tpl_vars['DATE_FIELD'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value, null, 0);?><?php $_smarty_tpl->tpl_vars['MODULE_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['RECORD_STRUCTURE_MODEL']->value->getModule(), null, 0);?><?php $_smarty_tpl->tpl_vars['TIME_FIELD'] = new Smarty_variable($_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getField('time_start'), null, 0);?><?php }elseif($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getName()=='due_date'){?><?php $_smarty_tpl->tpl_vars['DATE_FIELD'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value, null, 0);?><?php $_smarty_tpl->tpl_vars['TIME_FIELD'] = new Smarty_variable(false, null, 0);?><?php }?><?php $_smarty_tpl->tpl_vars['DATE_TIME_VALUE'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue'), null, 0);?><?php $_smarty_tpl->tpl_vars['DATE_TIME_COMPONENTS'] = new Smarty_variable(explode(' ',$_smarty_tpl->tpl_vars['DATE_TIME_VALUE']->value), null, 0);?><?php if (!empty($_smarty_tpl->tpl_vars['TIME_FIELD']->value)){?><?php $_smarty_tpl->tpl_vars['TIME_FIELD'] = new Smarty_variable($_smarty_tpl->tpl_vars['TIME_FIELD']->value->set('fieldvalue',$_smarty_tpl->tpl_vars['DATE_TIME_COMPONENTS']->value[1]), null, 0);?><?php }?><?php if ($_smarty_tpl->tpl_vars['TIME_FIELD']->value){?><?php $_smarty_tpl->tpl_vars['DATE_TIME_CONVERTED_VALUE'] = new Smarty_variable(DateTimeField::convertToUserTimeZone($_smarty_tpl->tpl_vars['DATE_TIME_VALUE']->value)->format('Y-m-d H:i:s'), null, 0);?><?php $_smarty_tpl->tpl_vars['DATE_TIME_COMPONENTS'] = new Smarty_variable(explode(' ',$_smarty_tpl->tpl_vars['DATE_TIME_CONVERTED_VALUE']->value), null, 0);?><?php $_smarty_tpl->tpl_vars['DATE_FIELD'] = new Smarty_variable($_smarty_tpl->tpl_vars['DATE_FIELD']->value->set('fieldvalue',$_smarty_tpl->tpl_vars['DATE_TIME_COMPONENTS']->value[0]), null, 0);?><?php }?><div><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('uitypes/Date.tpl',$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('BLOCK_FIELDS'=>$_smarty_tpl->tpl_vars['BLOCK_FIELDS']->value,'FIELD_MODEL'=>$_smarty_tpl->tpl_vars['DATE_FIELD']->value), 0);?>
</div><?php if (!empty($_smarty_tpl->tpl_vars['TIME_FIELD']->value)){?><div><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('uitypes/Time.tpl',$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('BLOCK_FIELDS'=>$_smarty_tpl->tpl_vars['BLOCK_FIELDS']->value,'FIELD_MODEL'=>$_smarty_tpl->tpl_vars['TIME_FIELD']->value,'FIELD_NAME'=>$_smarty_tpl->tpl_vars['TIME_FIELD']->value->getFieldName()), 0);?>
</div><?php }?><?php }} ?>

View File

@@ -0,0 +1,48 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-17 16:44:28
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Calendar/uitypes/ActivityPicklistFieldSearchView.tpl" */ ?>
<?php /*%%SmartyHeaderCode:103673811468f2483ce4b389-05538278%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'5c127f5d528c116c3657d6c5fd8e7a78c154b2d5' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Calendar/uitypes/ActivityPicklistFieldSearchView.tpl',
1 => 1711810495,
2 => 'file',
),
),
'nocache_hash' => '103673811468f2483ce4b389-05538278',
'function' =>
array (
),
'variables' =>
array (
'FIELD_MODEL' => 0,
'FIELD_INFO' => 0,
'SEARCH_INFO' => 0,
'PICKLIST_VALUES' => 0,
'PICKLIST_KEY' => 0,
'SEARCH_VALUES' => 0,
'PICKLIST_LABEL' => 0,
'MODULE' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68f2483ce59ab',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68f2483ce59ab')) {function content_68f2483ce59ab($_smarty_tpl) {?>
<?php $_smarty_tpl->tpl_vars['FIELD_INFO'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldInfo(), null, 0);?><?php $_smarty_tpl->tpl_vars['PICKLIST_VALUES'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_INFO']->value['picklistvalues'], null, 0);?><?php $_smarty_tpl->tpl_vars['FIELD_INFO'] = new Smarty_variable(Vtiger_Util_Helper::toSafeHTML(Zend_Json::encode($_smarty_tpl->tpl_vars['FIELD_INFO']->value)), null, 0);?><?php $_smarty_tpl->tpl_vars['SEARCH_VALUES'] = new Smarty_variable(explode(',',$_smarty_tpl->tpl_vars['SEARCH_INFO']->value['searchValue']), null, 0);?><div class="select2_search_div"><input type="text" class="listSearchContributor inputElement select2_input_element"/><select class="select2 listSearchContributor" name="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('name');?>
" multiple data-fieldinfo='<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['FIELD_INFO']->value, ENT_QUOTES, 'UTF-8', true);?>
' style="display:none"><?php $_smarty_tpl->tpl_vars['PICKLIST_LABEL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['PICKLIST_LABEL']->_loop = false;
$_smarty_tpl->tpl_vars['PICKLIST_KEY'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['PICKLIST_VALUES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['PICKLIST_LABEL']->key => $_smarty_tpl->tpl_vars['PICKLIST_LABEL']->value){
$_smarty_tpl->tpl_vars['PICKLIST_LABEL']->_loop = true;
$_smarty_tpl->tpl_vars['PICKLIST_KEY']->value = $_smarty_tpl->tpl_vars['PICKLIST_LABEL']->key;
?><option value="<?php echo $_smarty_tpl->tpl_vars['PICKLIST_KEY']->value;?>
" <?php if (in_array($_smarty_tpl->tpl_vars['PICKLIST_KEY']->value,$_smarty_tpl->tpl_vars['SEARCH_VALUES']->value)){?> selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['PICKLIST_LABEL']->value;?>
</option><?php } ?><option value="Task" <?php if (in_array("Task",$_smarty_tpl->tpl_vars['SEARCH_VALUES']->value)){?> selected<?php }?>><?php echo vtranslate('LBL_TODOS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</option></select></div>
<?php }} ?>

View File

@@ -0,0 +1,123 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-17 16:44:32
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Calendar/QuickCreate.tpl" */ ?>
<?php /*%%SmartyHeaderCode:65568664268f24840a5e461-14495507%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'5da55ba9e79bbe9a7182389f4267cc49c8ccdbd9' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Calendar/QuickCreate.tpl',
1 => 1711810495,
2 => 'file',
),
),
'nocache_hash' => '65568664268f24840a5e461-14495507',
'function' =>
array (
),
'variables' =>
array (
'SCRIPTS' => 0,
'jsModel' => 0,
'MODULE' => 0,
'MODE' => 0,
'RECORD_ID' => 0,
'LABEL' => 0,
'HEADER_TITLE' => 0,
'PICKIST_DEPENDENCY_DATASOURCE' => 0,
'USER_MODEL' => 0,
'QUICK_CREATE_CONTENTS' => 0,
'PICKIST_DEPENDENCY_DATASOURCE_TODO' => 0,
'PICKIST_DEPENDENCY_DATASOURCE_EVENT' => 0,
'RECORD_STRUCTURE' => 0,
'FIELD_MODEL' => 0,
'SPECIAL_VALIDATOR' => 0,
'FIELD_INFO' => 0,
'VALIDATOR' => 0,
'VALIDATOR_NAME' => 0,
'FIELD_NAME' => 0,
'referenceList' => 0,
'COUNTER' => 0,
'isReferenceField' => 0,
'referenceListCount' => 0,
'DISPLAYID' => 0,
'REFERENCED_MODULE_STRUCT' => 0,
'value' => 0,
'REFERENCED_MODULE_NAME' => 0,
'BUTTON_NAME' => 0,
'CALENDAR_MODULE_MODEL' => 0,
'EDIT_VIEW_URL' => 0,
'BUTTON_ID' => 0,
'BUTTON_LABEL' => 0,
'FIELDS_INFO' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68f24840ac9d5',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68f24840ac9d5')) {function content_68f24840ac9d5($_smarty_tpl) {?>
<?php $_smarty_tpl->tpl_vars['jsModel'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['jsModel']->_loop = false;
$_smarty_tpl->tpl_vars['index'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['SCRIPTS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['jsModel']->key => $_smarty_tpl->tpl_vars['jsModel']->value){
$_smarty_tpl->tpl_vars['jsModel']->_loop = true;
$_smarty_tpl->tpl_vars['index']->value = $_smarty_tpl->tpl_vars['jsModel']->key;
?><script type="<?php echo $_smarty_tpl->tpl_vars['jsModel']->value->getType();?>
" src="<?php echo $_smarty_tpl->tpl_vars['jsModel']->value->getSrc();?>
"></script><?php } ?><div class="modal-dialog modal-lg"><div class="modal-content" style='width: 525px;left:23%;'><form class="form-horizontal recordEditView" id="QuickCreate" name="QuickCreate" method="post" action="index.php"><?php ob_start();?><?php echo vtranslate(('SINGLE_').($_smarty_tpl->tpl_vars['MODULE']->value),$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['LABEL'] = new Smarty_variable($_tmp1, null, 0);?><?php if ($_smarty_tpl->tpl_vars['MODULE']->value=='Calendar'){?><?php ob_start();?><?php echo vtranslate('LBL_TASK',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php $_tmp2=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['LABEL'] = new Smarty_variable($_tmp2, null, 0);?><?php }?><?php if ($_smarty_tpl->tpl_vars['MODE']->value=='edit'&&!empty($_smarty_tpl->tpl_vars['RECORD_ID']->value)){?><?php ob_start();?><?php echo vtranslate('LBL_EDITING',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php $_tmp3=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['LABEL']->value;?>
<?php $_tmp4=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['HEADER_TITLE'] = new Smarty_variable((($_tmp3).(" ")).($_tmp4), null, 0);?><?php }else{ ?><?php ob_start();?><?php echo vtranslate('LBL_QUICK_CREATE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php $_tmp5=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['LABEL']->value;?>
<?php $_tmp6=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['HEADER_TITLE'] = new Smarty_variable((($_tmp5).(" ")).($_tmp6), null, 0);?><?php }?><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("ModalHeader.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('TITLE'=>$_smarty_tpl->tpl_vars['HEADER_TITLE']->value), 0);?>
<div class="modal-body" style = 'float:left; width: 100%'><?php if (!empty($_smarty_tpl->tpl_vars['PICKIST_DEPENDENCY_DATASOURCE']->value)){?><input type="hidden" name="picklistDependency" value='<?php echo Vtiger_Util_Helper::toSafeHTML($_smarty_tpl->tpl_vars['PICKIST_DEPENDENCY_DATASOURCE']->value);?>
' /><?php }?><input type="hidden" name="module" value="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
"><input type="hidden" name="action" value="SaveAjax"><input type="hidden" name="calendarModule" value="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
"><input type="hidden" name="defaultCallDuration" value="<?php echo $_smarty_tpl->tpl_vars['USER_MODEL']->value->get('callduration');?>
" /><input type="hidden" name="defaultOtherEventDuration" value="<?php echo $_smarty_tpl->tpl_vars['USER_MODEL']->value->get('othereventduration');?>
" /><?php if ($_smarty_tpl->tpl_vars['MODE']->value=='edit'&&!empty($_smarty_tpl->tpl_vars['RECORD_ID']->value)){?><input type="hidden" name="record" value="<?php echo $_smarty_tpl->tpl_vars['RECORD_ID']->value;?>
" /><input type="hidden" name="mode" value="<?php echo $_smarty_tpl->tpl_vars['MODE']->value;?>
" /><?php }else{ ?><input type="hidden" name="record" value=""><?php }?><?php $_smarty_tpl->tpl_vars["RECORD_STRUCTURE_MODEL"] = new Smarty_variable($_smarty_tpl->tpl_vars['QUICK_CREATE_CONTENTS']->value[$_smarty_tpl->tpl_vars['MODULE']->value]['recordStructureModel'], null, 0);?><?php $_smarty_tpl->tpl_vars["RECORD_STRUCTURE"] = new Smarty_variable($_smarty_tpl->tpl_vars['QUICK_CREATE_CONTENTS']->value[$_smarty_tpl->tpl_vars['MODULE']->value]['recordStructure'], null, 0);?><?php $_smarty_tpl->tpl_vars["MODULE_MODEL"] = new Smarty_variable($_smarty_tpl->tpl_vars['QUICK_CREATE_CONTENTS']->value[$_smarty_tpl->tpl_vars['MODULE']->value]['moduleModel'], null, 0);?><div class="quickCreateContent calendarQuickCreateContent" style="padding-top:2%;"><?php if ($_smarty_tpl->tpl_vars['MODULE']->value=='Calendar'){?><?php if (!empty($_smarty_tpl->tpl_vars['PICKIST_DEPENDENCY_DATASOURCE_TODO']->value)){?><input type="hidden" name="picklistDependency" value='<?php echo Vtiger_Util_Helper::toSafeHTML($_smarty_tpl->tpl_vars['PICKIST_DEPENDENCY_DATASOURCE_TODO']->value);?>
' /><?php }?><?php }else{ ?><?php if (!empty($_smarty_tpl->tpl_vars['PICKIST_DEPENDENCY_DATASOURCE_EVENT']->value)){?><input type="hidden" name="picklistDependency" value='<?php echo Vtiger_Util_Helper::toSafeHTML($_smarty_tpl->tpl_vars['PICKIST_DEPENDENCY_DATASOURCE_EVENT']->value);?>
' /><?php }?><?php }?><div><?php $_smarty_tpl->tpl_vars["FIELD_MODEL"] = new Smarty_variable($_smarty_tpl->tpl_vars['RECORD_STRUCTURE']->value['subject'], null, 0);?><div style="margin-left: 14px;width: 95%;"><?php $_smarty_tpl->tpl_vars["FIELD_INFO"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldInfo(), null, 0);?><?php $_smarty_tpl->tpl_vars["SPECIAL_VALIDATOR"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getValidator(), null, 0);?><input id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
_editView_fieldName_<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('name');?>
" type="text" class="inputElement <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isNameField()){?>nameField<?php }?>" name="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldName();?>
" value="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue');?>
"<?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=='3'||$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=='4'||$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isReadOnly()){?> readonly <?php }?> <?php if (!empty($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value)){?>data-validator="<?php echo Zend_Json::encode($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value);?>
"<?php }?><?php if ($_smarty_tpl->tpl_vars['FIELD_INFO']->value["mandatory"]==true){?> data-rule-required="true" <?php }?><?php $_smarty_tpl->tpl_vars['VALIDATOR'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['VALIDATOR']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['FIELD_INFO']->value["validator"]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['VALIDATOR']->key => $_smarty_tpl->tpl_vars['VALIDATOR']->value){
$_smarty_tpl->tpl_vars['VALIDATOR']->_loop = true;
?><?php $_smarty_tpl->tpl_vars['VALIDATOR_NAME'] = new Smarty_variable($_smarty_tpl->tpl_vars['VALIDATOR']->value["name"], null, 0);?>data-rule-<?php echo $_smarty_tpl->tpl_vars['VALIDATOR_NAME']->value;?>
= "true"<?php } ?>placeholder="<?php echo vtranslate($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('label'),$_smarty_tpl->tpl_vars['MODULE']->value);?>
*" style="width: 100%;"/></div></div><div class="row" style="padding-top: 2%;"><div class="col-sm-12"><div class="col-sm-5"><?php $_smarty_tpl->tpl_vars["FIELD_MODEL"] = new Smarty_variable($_smarty_tpl->tpl_vars['RECORD_STRUCTURE']->value['date_start'], null, 0);?><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getUITypeModel()->getTemplateName(),$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
</div><div class="muted col-sm-1" style="line-height: 67px; margin-left: 4.5%; text-align: center;" ><?php echo vtranslate('LBL_TO',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</div><div class="col-sm-5" <?php if ($_smarty_tpl->tpl_vars['MODULE']->value=='Calendar'){?>style="margin-top: 3%;"<?php }?>><?php $_smarty_tpl->tpl_vars["FIELD_MODEL"] = new Smarty_variable($_smarty_tpl->tpl_vars['RECORD_STRUCTURE']->value['due_date'], null, 0);?><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getUITypeModel()->getTemplateName(),$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
</div><table class="massEditTable table no-border"><tr><?php $_smarty_tpl->tpl_vars['FIELD_MODEL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['FIELD_MODEL']->_loop = false;
$_smarty_tpl->tpl_vars['FIELD_NAME'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['RECORD_STRUCTURE']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['FIELD_MODEL']->key => $_smarty_tpl->tpl_vars['FIELD_MODEL']->value){
$_smarty_tpl->tpl_vars['FIELD_MODEL']->_loop = true;
$_smarty_tpl->tpl_vars['FIELD_NAME']->value = $_smarty_tpl->tpl_vars['FIELD_MODEL']->key;
?><?php if ($_smarty_tpl->tpl_vars['FIELD_NAME']->value=='subject'||$_smarty_tpl->tpl_vars['FIELD_NAME']->value=='date_start'||$_smarty_tpl->tpl_vars['FIELD_NAME']->value=='due_date'){?></tr><?php continue 1?><?php }?><?php $_smarty_tpl->tpl_vars["isReferenceField"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldDataType(), null, 0);?><?php $_smarty_tpl->tpl_vars["referenceList"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getReferenceList(), null, 0);?><?php $_smarty_tpl->tpl_vars["referenceListCount"] = new Smarty_variable(count($_smarty_tpl->tpl_vars['referenceList']->value), null, 0);?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=="19"){?><?php if ($_smarty_tpl->tpl_vars['COUNTER']->value=='1'){?><td></td><td></td></tr><tr><?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable(0, null, 0);?><?php }?><?php }?></tr><tr><td class='fieldLabel col-lg-3'><?php if ($_smarty_tpl->tpl_vars['isReferenceField']->value!="reference"){?><label class="muted pull-right"><?php }?><?php if ($_smarty_tpl->tpl_vars['isReferenceField']->value=="reference"){?><?php if ($_smarty_tpl->tpl_vars['referenceListCount']->value>1){?><?php $_smarty_tpl->tpl_vars["DISPLAYID"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue'), null, 0);?><?php $_smarty_tpl->tpl_vars["REFERENCED_MODULE_STRUCT"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getUITypeModel()->getReferenceModule($_smarty_tpl->tpl_vars['DISPLAYID']->value), null, 0);?><?php if (!empty($_smarty_tpl->tpl_vars['REFERENCED_MODULE_STRUCT']->value)){?><?php $_smarty_tpl->tpl_vars["REFERENCED_MODULE_NAME"] = new Smarty_variable($_smarty_tpl->tpl_vars['REFERENCED_MODULE_STRUCT']->value->get('name'), null, 0);?><?php }?><span class="pull-right"><select style="width: 150px;" class="select2 referenceModulesList"><?php $_smarty_tpl->tpl_vars['value'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['value']->_loop = false;
$_smarty_tpl->tpl_vars['index'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['referenceList']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['value']->key => $_smarty_tpl->tpl_vars['value']->value){
$_smarty_tpl->tpl_vars['value']->_loop = true;
$_smarty_tpl->tpl_vars['index']->value = $_smarty_tpl->tpl_vars['value']->key;
?><option value="<?php echo $_smarty_tpl->tpl_vars['value']->value;?>
" <?php if ($_smarty_tpl->tpl_vars['value']->value==$_smarty_tpl->tpl_vars['REFERENCED_MODULE_NAME']->value){?> selected <?php }?> ><?php echo vtranslate($_smarty_tpl->tpl_vars['value']->value,$_smarty_tpl->tpl_vars['value']->value);?>
</option><?php } ?></select></span><?php }else{ ?><label class="muted pull-right"><?php echo vtranslate($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('label'),$_smarty_tpl->tpl_vars['MODULE']->value);?>
&nbsp;<?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isMandatory()==true){?> <span class="redColor">*</span> <?php }?></label><?php }?><?php }else{ ?><?php echo vtranslate($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('label'),$_smarty_tpl->tpl_vars['MODULE']->value);?>
&nbsp;<?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isMandatory()==true){?> <span class="redColor">*</span> <?php }?><?php }?><?php if ($_smarty_tpl->tpl_vars['isReferenceField']->value!="reference"){?></label><?php }?></td><td class="fieldValue col-lg-9" <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=='19'){?> colspan="3" <?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable($_smarty_tpl->tpl_vars['COUNTER']->value+1, null, 0);?> <?php }?>><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getUITypeModel()->getTemplateName(),$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
</td><?php } ?></tr></table></div></div></div></div><div class="modal-footer" style = "overflow:hidden"><center><?php if ($_smarty_tpl->tpl_vars['BUTTON_NAME']->value!=null){?><?php $_smarty_tpl->tpl_vars['BUTTON_LABEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['BUTTON_NAME']->value, null, 0);?><?php }else{ ?><?php ob_start();?><?php echo vtranslate('LBL_SAVE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php $_tmp7=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['BUTTON_LABEL'] = new Smarty_variable($_tmp7, null, 0);?><?php }?><?php $_smarty_tpl->tpl_vars["CALENDAR_MODULE_MODEL"] = new Smarty_variable($_smarty_tpl->tpl_vars['QUICK_CREATE_CONTENTS']->value['Calendar']['moduleModel'], null, 0);?><?php $_smarty_tpl->tpl_vars["EDIT_VIEW_URL"] = new Smarty_variable($_smarty_tpl->tpl_vars['CALENDAR_MODULE_MODEL']->value->getCreateTaskRecordUrl(), null, 0);?><?php if ($_smarty_tpl->tpl_vars['MODULE']->value=='Events'){?><?php $_smarty_tpl->tpl_vars["EDIT_VIEW_URL"] = new Smarty_variable($_smarty_tpl->tpl_vars['CALENDAR_MODULE_MODEL']->value->getCreateEventRecordUrl(), null, 0);?><?php }?><button class="btn btn-default" id="goToFullForm" data-edit-view-url="<?php echo $_smarty_tpl->tpl_vars['EDIT_VIEW_URL']->value;?>
" type="button"><strong><?php echo vtranslate('LBL_GO_TO_FULL_FORM',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</strong></button><button <?php if ($_smarty_tpl->tpl_vars['BUTTON_ID']->value!=null){?> id="<?php echo $_smarty_tpl->tpl_vars['BUTTON_ID']->value;?>
" <?php }?> class="btn btn-success" type="submit" name="saveButton"><strong><?php echo $_smarty_tpl->tpl_vars['BUTTON_LABEL']->value;?>
</strong></button><a href="#" class="cancelLink" type="reset" data-dismiss="modal"><?php echo vtranslate('LBL_CANCEL',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</a></center></div></form></div><?php if ($_smarty_tpl->tpl_vars['FIELDS_INFO']->value!=null){?><script type="text/javascript">var quickcreate_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>
<?php }} ?>

View File

@@ -0,0 +1,235 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-17 19:04:55
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/taskforms/WfTaskCreateevent.tpl" */ ?>
<?php /*%%SmartyHeaderCode:24002205868f26927f19cb8-95322914%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'618eec2037830d8e27aca5254ef741cccb46430f' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/taskforms/WfTaskCreateevent.tpl',
1 => 1711810494,
2 => 'file',
),
),
'nocache_hash' => '24002205868f26927f19cb8-95322914',
'function' =>
array (
),
'variables' =>
array (
'MOD' => 0,
'task' => 0,
'QUALIFIED_MODULE' => 0,
'FREQUENCY' => 0,
'setterContent' => 0,
'fields' => 0,
'label' => 0,
'block' => 0,
'field' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68f2692806776',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68f2692806776')) {function content_68f2692806776($_smarty_tpl) {?>
<div>
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="dvtCellLabel" width="25%" align="right"><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_REDIRECT_AFTER_WORKFLOW'];?>
</td>
<td class="dvtCellInfo">&nbsp;&nbsp;<input type="checkbox" class="rcSwitch doInit" name="task[redirectAfter]" value="1" <?php if ($_smarty_tpl->tpl_vars['task']->value['redirectAfter']=="1"){?>checked='checked'<?php }?>></td>
</tr>
<tr>
<td class="dvtCellLabel" width="25%" align="right"><?php echo vtranslate('Recurring Event','Settings:Workflow2');?>
</td>
<td class="dvtCellInfo">&nbsp;&nbsp;<input type="checkbox" class="rcSwitch doInit" name="task[recurring]" value="1" <?php if ($_smarty_tpl->tpl_vars['task']->value['recurring']=="1"){?>checked='checked'<?php }?>></td>
</tr>
<tr class="ShowOnRecurringEvents">
<td class="dvtCellLabel" width="25%" align="right"></td>
<td class="dvtCellInfo">
<?php $_smarty_tpl->tpl_vars['QUALIFIED_MODULE'] = new Smarty_variable('Events', null, 0);?>
<div class="" id="repeatUI" style="box-sizing: border-box;<?php if ($_smarty_tpl->tpl_vars['task']->value['recurring']!='1'){?>display:none;<?php }?>">
<div style="display:flex;flex-direction: row;align-content:stretch;">
<div style="padding:0 5px;">
<span class="alignMiddle"><?php echo vtranslate('LBL_REPEATEVENT',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</span>
</div>
<div style="padding:0 5px;">
<select class="select2 input-mini" name="task[repeat][repeat_frequency]">
<?php $_smarty_tpl->tpl_vars['FREQUENCY'] = new Smarty_Variable;$_smarty_tpl->tpl_vars['FREQUENCY']->step = 1;$_smarty_tpl->tpl_vars['FREQUENCY']->total = (int)ceil(($_smarty_tpl->tpl_vars['FREQUENCY']->step > 0 ? 14+1 - (1) : 1-(14)+1)/abs($_smarty_tpl->tpl_vars['FREQUENCY']->step));
if ($_smarty_tpl->tpl_vars['FREQUENCY']->total > 0){
for ($_smarty_tpl->tpl_vars['FREQUENCY']->value = 1, $_smarty_tpl->tpl_vars['FREQUENCY']->iteration = 1;$_smarty_tpl->tpl_vars['FREQUENCY']->iteration <= $_smarty_tpl->tpl_vars['FREQUENCY']->total;$_smarty_tpl->tpl_vars['FREQUENCY']->value += $_smarty_tpl->tpl_vars['FREQUENCY']->step, $_smarty_tpl->tpl_vars['FREQUENCY']->iteration++){
$_smarty_tpl->tpl_vars['FREQUENCY']->first = $_smarty_tpl->tpl_vars['FREQUENCY']->iteration == 1;$_smarty_tpl->tpl_vars['FREQUENCY']->last = $_smarty_tpl->tpl_vars['FREQUENCY']->iteration == $_smarty_tpl->tpl_vars['FREQUENCY']->total;?>
<option value="<?php echo $_smarty_tpl->tpl_vars['FREQUENCY']->value;?>
" <?php if ($_smarty_tpl->tpl_vars['task']->value['repeat']['repeat_frequency']==$_smarty_tpl->tpl_vars['FREQUENCY']->value){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['FREQUENCY']->value;?>
</option>
<?php }} ?>
</select>
</div>
<div style="padding:0 5px;">
<select class="select2 input-medium" name="task[repeat][recurring_type]" id="recurringType">
<option value="Daily" <?php if ($_smarty_tpl->tpl_vars['task']->value['repeat']['recurring_type']=='Daily'){?> selected <?php }?>><?php echo vtranslate('LBL_DAYS_TYPE',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</option>
<option value="Weekly" <?php if ($_smarty_tpl->tpl_vars['task']->value['repeat']['recurring_type']=='Weekly'){?> selected <?php }?>><?php echo vtranslate('LBL_WEEKS_TYPE',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</option>
<option value="Monthly" <?php if ($_smarty_tpl->tpl_vars['task']->value['repeat']['recurring_type']=='Monthly'){?> selected <?php }?>><?php echo vtranslate('LBL_MONTHS_TYPE',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</option>
<option value="Yearly" <?php if ($_smarty_tpl->tpl_vars['task']->value['repeat']['recurring_type']=='Yearly'){?> selected <?php }?>><?php echo vtranslate('LBL_YEAR_TYPE',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</option>
</select>
</div>
<div style="padding:0 5px;">
<span class="alignMiddle"><?php echo vtranslate('LBL_UNTIL',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</span>
</div>
<div style="flex-grow:1;">
<div class="insertDatefield" data-name="task[repeat][calendar_repeat_limit_date]" data-id="calendar_repeat_limit_date"><?php echo $_smarty_tpl->tpl_vars['task']->value['repeat']['calendar_repeat_limit_date'];?>
</div>
</div>
</div>
<div class="<?php if ($_smarty_tpl->tpl_vars['task']->value['repeat']['recurring_type']=='Weekly'){?>show<?php }else{ ?>hide<?php }?>" id="repeatWeekUI">
<label class="checkbox inline"><input name="task[repeat][sun_flag]" value="sunday" <?php if ($_smarty_tpl->tpl_vars['task']->value['repeat']['sun_flag']=="sunday"){?>checked<?php }?> type="checkbox"/><?php echo vtranslate('LBL_SM_SUN',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</label>
<label class="checkbox inline"><input name="task[repeat][mon_flag]" value="monday" <?php if ($_smarty_tpl->tpl_vars['task']->value['repeat']['mon_flag']=="monday"){?>checked<?php }?> type="checkbox"><?php echo vtranslate('LBL_SM_MON',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</label>
<label class="checkbox inline"><input name="task[repeat][tue_flag]" value="tuesday" <?php if ($_smarty_tpl->tpl_vars['task']->value['repeat']['tue_flag']=="tuesday"){?>checked<?php }?> type="checkbox"><?php echo vtranslate('LBL_SM_TUE',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</label>
<label class="checkbox inline"><input name="task[repeat][wed_flag]" value="wednesday" <?php if ($_smarty_tpl->tpl_vars['task']->value['repeat']['wed_flag']=="wednesday"){?>checked<?php }?> type="checkbox"><?php echo vtranslate('LBL_SM_WED',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</label>
<label class="checkbox inline"><input name="task[repeat][thu_flag]" value="thursday" <?php if ($_smarty_tpl->tpl_vars['task']->value['repeat']['thu_flag']=="thursday"){?>checked<?php }?> type="checkbox"><?php echo vtranslate('LBL_SM_THU',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</label>
<label class="checkbox inline"><input name="task[repeat][fri_flag]" value="friday" <?php if ($_smarty_tpl->tpl_vars['task']->value['repeat']['fri_flag']=="friday"){?>checked<?php }?> type="checkbox"><?php echo vtranslate('LBL_SM_FRI',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</label>
<label class="checkbox inline"><input name="task[repeat][sat_flag]" value="saturday" <?php if ($_smarty_tpl->tpl_vars['task']->value['repeat']['sat_flag']=="saturday"){?>checked<?php }?> type="checkbox"><?php echo vtranslate('LBL_SM_SAT',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</label>
</div>
<div class="<?php if ($_smarty_tpl->tpl_vars['task']->value['repeat']['recurring_type']=='Monthly'){?>show<?php }else{ ?>hide<?php }?>" id="repeatMonthUI">
<div class="row-fluid" style="padding-left:100px;">
<div class="span"><input type="radio" id="repeatDate" name="task[repeat][repeatMonth]" checked value="date" <?php if ($_smarty_tpl->tpl_vars['task']->value['repeat']['repeatMonth']=='date'){?> checked <?php }?>/></div>
<div class="span"><span class="alignMiddle"><?php echo vtranslate('LBL_ON',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</span></div>
<div class="span"><input type="text" id="repeatMonthDate" class="input-mini" name="task[repeat][repeatMonth_date]" data-validation-engine='validate[funcCall[Calendar_RepeatMonthDate_Validator_Js.invokeValidation]]' value="<?php echo $_smarty_tpl->tpl_vars['task']->value['repeat']['repeatMonth_date'];?>
"/></div>
<div class="span alignMiddle"><?php echo vtranslate('LBL_DAY_OF_THE_MONTH',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</div>
</div>
<div class="clearfix"></div>
<div class="row-fluid" id="repeatMonthDayUI" style="padding-left:100px;">
<div class="span"><input type="radio" id="repeatDay" name="task[repeat][repeatMonth]" value="day" <?php if ($_smarty_tpl->tpl_vars['task']->value['repeat']['repeatMonth']=='day'){?> checked <?php }?>/></div>
<div class="span"><span class="alignMiddle"><?php echo vtranslate('LBL_ON',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</span></div>
<div class="span">
<select id="repeatMonthDayType" class="select2 input-small" name="task[repeat][repeatMonth_daytype]">
<option value="first" <?php if ($_smarty_tpl->tpl_vars['task']->value['repeat']['repeatMonth_daytype']=='first'){?> selected <?php }?>><?php echo vtranslate('LBL_FIRST',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</option>
<option value="last" <?php if ($_smarty_tpl->tpl_vars['task']->value['repeat']['repeatMonth_daytype']=='last'){?> selected <?php }?>><?php echo vtranslate('LBL_LAST',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</option>
</select>
</div>
<div class="span">
<select id="repeatMonthDay" class="select2 input-medium" name="task[repeat][repeatMonth_day]">
<option value=1 <?php if ($_smarty_tpl->tpl_vars['task']->value['repeat']['repeatMonth_day']==1){?> selected <?php }?>><?php echo vtranslate('LBL_DAY1',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</option>
<option value=2 <?php if ($_smarty_tpl->tpl_vars['task']->value['repeat']['repeatMonth_day']==2){?> selected <?php }?>><?php echo vtranslate('LBL_DAY2',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</option>
<option value=3 <?php if ($_smarty_tpl->tpl_vars['task']->value['repeat']['repeatMonth_day']==3){?> selected <?php }?>><?php echo vtranslate('LBL_DAY3',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</option>
<option value=4 <?php if ($_smarty_tpl->tpl_vars['task']->value['repeat']['repeatMonth_day']==4){?> selected <?php }?>><?php echo vtranslate('LBL_DAY4',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</option>
<option value=5 <?php if ($_smarty_tpl->tpl_vars['task']->value['repeat']['repeatMonth_day']==5){?> selected <?php }?>><?php echo vtranslate('LBL_DAY5',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</option>
<option value=6 <?php if ($_smarty_tpl->tpl_vars['task']->value['repeat']['repeatMonth_day']==6){?> selected <?php }?>><?php echo vtranslate('LBL_DAY6',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</option>
</select>
</div>
</div>
</div>
</div>
</td>
</tr>
</table>
<hr/>
</div>
<?php echo $_smarty_tpl->tpl_vars['setterContent']->value;?>
<br/>
<h4><?php echo vtranslate('duplicate record check','Settings:Workflow2');?>
</h4>
<hr/>
<p>
<?php echo vtranslate('The task will check the configured fields, before creating a new record. If the task found already some records with equal fieldvalues, no new record will be created.','Settings:Workflow2');?>
</p>
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="dvtCellLabel" width="25%" align="right"><?php echo vtranslate('choose fields to check','Settings:Workflow2');?>
</td>
<td class="dvtCellInfo" align="left" style="padding:5px;">
<select name="task[uniquecheck][]" class="select2" multiple="multiple" style="width:100%;">
<?php $_smarty_tpl->tpl_vars['block'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['block']->_loop = false;
$_smarty_tpl->tpl_vars['label'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['fields']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['block']->key => $_smarty_tpl->tpl_vars['block']->value){
$_smarty_tpl->tpl_vars['block']->_loop = true;
$_smarty_tpl->tpl_vars['label']->value = $_smarty_tpl->tpl_vars['block']->key;
?>
<optgroup label="<?php echo $_smarty_tpl->tpl_vars['label']->value;?>
">
<?php $_smarty_tpl->tpl_vars['field'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['field']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['block']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['field']->key => $_smarty_tpl->tpl_vars['field']->value){
$_smarty_tpl->tpl_vars['field']->_loop = true;
?>
<?php if ($_smarty_tpl->tpl_vars['field']->value->name!="smownerid"){?>
<option value='<?php echo $_smarty_tpl->tpl_vars['field']->value->name;?>
'' <?php if (in_array($_smarty_tpl->tpl_vars['field']->value->name,$_smarty_tpl->tpl_vars['task']->value['uniquecheck'])){?>selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['field']->value->label;?>
</option>
<?php }else{ ?>
<option value='assigned_user_id'><?php echo $_smarty_tpl->tpl_vars['field']->value->label;?>
</option>
<?php }?>
<?php } ?>
</optgroup>
<?php } ?>
</select>
</td>
</tr>
<tr>
<td class="dvtCellLabel" width="25%" align="right"><?php echo vtranslate('update these fields if duplicate found','Settings:Workflow2');?>
</td>
<td class="dvtCellInfo" align="left" style="padding:5px;">
<select name="task[updateexisting][]" class="select2" multiple="multiple" style="width:100%;">
<option value="all-configured"><?php echo vtranslate('all configured fields','Settings:Workflow2');?>
</option>
<?php $_smarty_tpl->tpl_vars['block'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['block']->_loop = false;
$_smarty_tpl->tpl_vars['label'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['fields']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['block']->key => $_smarty_tpl->tpl_vars['block']->value){
$_smarty_tpl->tpl_vars['block']->_loop = true;
$_smarty_tpl->tpl_vars['label']->value = $_smarty_tpl->tpl_vars['block']->key;
?>
<optgroup label="<?php echo $_smarty_tpl->tpl_vars['label']->value;?>
">
<?php $_smarty_tpl->tpl_vars['field'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['field']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['block']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['field']->key => $_smarty_tpl->tpl_vars['field']->value){
$_smarty_tpl->tpl_vars['field']->_loop = true;
?>
<?php if ($_smarty_tpl->tpl_vars['field']->value->name!="smownerid"){?>
<option value='<?php echo $_smarty_tpl->tpl_vars['field']->value->name;?>
' <?php if (in_array($_smarty_tpl->tpl_vars['field']->value->name,$_smarty_tpl->tpl_vars['task']->value['updateexisting'])){?>selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['field']->value->label;?>
</option>
<?php }else{ ?>
<option value='assigned_user_id'><?php echo $_smarty_tpl->tpl_vars['field']->value->label;?>
</option>
<?php }?>
<?php } ?>
</optgroup>
<?php } ?>
</select>
</td>
</tr>
</table>
<?php }} ?>

View File

@@ -0,0 +1,318 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-16 19:44:39
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/VT7/FrontendManager.tpl" */ ?>
<?php /*%%SmartyHeaderCode:112228366768f120f73878e6-99798407%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'62bc72479f4dbc06469c50f9793b05a9aab67965' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/VT7/FrontendManager.tpl',
1 => 1711810493,
2 => 'file',
),
),
'nocache_hash' => '112228366768f120f73878e6-99798407',
'function' =>
array (
),
'variables' =>
array (
'workflows' => 0,
'moduleName' => 0,
'workflowList' => 0,
'workflow' => 0,
'links' => 0,
'linkArray' => 0,
'link' => 0,
'FrontendTypes' => 0,
'Type' => 0,
'FieldData' => 0,
'Field' => 0,
'FA_ICONS' => 0,
'ICON' => 0,
'frontendConfig' => 0,
'configurations' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68f120f7405aa',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68f120f7405aa')) {function content_68f120f7405aa($_smarty_tpl) {?><div class="container-fluid" id="moduleManagerContents">
<div class="editViewHeader">
<h4>
<div class="pull-right">
<select class="select2" id="addWorkflow" style="width:400px;" data-placeholder="<?php echo vtranslate('choose a Workflow','Settings:Workflow2');?>
">
<option value=""></option>
<?php $_smarty_tpl->tpl_vars['workflowList'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['workflowList']->_loop = false;
$_smarty_tpl->tpl_vars['moduleName'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['workflows']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['workflowList']->key => $_smarty_tpl->tpl_vars['workflowList']->value){
$_smarty_tpl->tpl_vars['workflowList']->_loop = true;
$_smarty_tpl->tpl_vars['moduleName']->value = $_smarty_tpl->tpl_vars['workflowList']->key;
?>
<optgroup label="<?php echo $_smarty_tpl->tpl_vars['moduleName']->value;?>
">
<?php $_smarty_tpl->tpl_vars['workflow'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['workflow']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['workflowList']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['workflow']->key => $_smarty_tpl->tpl_vars['workflow']->value){
$_smarty_tpl->tpl_vars['workflow']->_loop = true;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['workflow']->value['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['workflow']->value['title'];?>
</option>
<?php } ?>
</optgroup>
<?php } ?>
</select>
<button type="submit" id="addWorkflowButton" class="btn btn-primary" style="margin-top:0;vertical-align:top;"><?php echo vtranslate('add Workflow','Settings:Workflow2');?>
</button>
</div>
<a href="index.php?module=Workflow2&view=Index&parent=Settings"><?php echo vtranslate('Workflow Designer','Workflow2');?>
</a> &raquo;
<?php echo vtranslate('Frontend Manager','Settings:Workflow2');?>
</h4>
</div>
<div class="detailViewContainer ">
<?php $_smarty_tpl->tpl_vars['linkArray'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['linkArray']->_loop = false;
$_smarty_tpl->tpl_vars['moduleName'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['links']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['linkArray']->key => $_smarty_tpl->tpl_vars['linkArray']->value){
$_smarty_tpl->tpl_vars['linkArray']->_loop = true;
$_smarty_tpl->tpl_vars['moduleName']->value = $_smarty_tpl->tpl_vars['linkArray']->key;
?>
<div class="block" data-target="<?php echo $_smarty_tpl->tpl_vars['linkArray']->value[0]['module_name'];?>
">
<h5 class="modHead">
<img src="modules/Workflow2/icons/toggle_minus.png" class="toggleImageCollapse toggleImage" style="display: none;" />
<img src="modules/Workflow2/icons/toggle_plus.png" class="toggleImageExpand toggleImage"/>
<strong><?php echo $_smarty_tpl->tpl_vars['moduleName']->value;?>
(<?php echo count($_smarty_tpl->tpl_vars['linkArray']->value);?>
)</strong>
</h5>
</div>
<table class="table frontendManagerTable" cellspacing="0" cellpadding="4" style="border-collapse:collapse;display:none;" data-module="<?php echo $_smarty_tpl->tpl_vars['linkArray']->value[0]['module_name'];?>
" id="workflowList<?php echo $_smarty_tpl->tpl_vars['linkArray']->value[0]['module_name'];?>
" >
<thead>
<tr style="background-color: #eee;">
<th align="left"></th>
<th align="left" style="width:250px;"><?php echo vtranslate('Workflow','Settings:Workflow2');?>
</th>
<th align="left" style="width:250px;"><?php echo vtranslate('Label','Settings:Workflow2');?>
</th>
<th align="left" style="width:250px;"><?php echo vtranslate('Include Type','Settings:Workflow2');?>
</th>
<th align="left">Configuration</th>
<!--<th align="left"><?php echo vtranslate('visible in Listview','Settings:Workflow2');?>
</th>
<th align="left"><?php echo vtranslate('Button Color','Settings:Workflow2');?>
</th>-->
</tr>
</thead>
<tbody>
<?php $_smarty_tpl->tpl_vars['link'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['link']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['linkArray']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['link']->key => $_smarty_tpl->tpl_vars['link']->value){
$_smarty_tpl->tpl_vars['link']->_loop = true;
?>
<tr class="hoverTR" data-index="<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
">
<td>
<img src="modules/Workflow2/icons/delete.png" data-id="<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
" class="removeFrontendManagerOnClick" width="16" />
</td>
<td>
<?php if ($_smarty_tpl->tpl_vars['link']->value['color']!='separator'){?>
<?php echo $_smarty_tpl->tpl_vars['link']->value['title'];?>
<?php }else{ ?>
-- <?php echo vtranslate('Separator','Settings:Workflow2');?>
--
<?php }?>
</td>
<td><input type="text" class="defaultTextfield saveOnBlur" data-field="label" data-id="<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
" value="<?php echo $_smarty_tpl->tpl_vars['link']->value['label'];?>
" style="margin-bottom:0;width:100%;" /></td>
<td>
<select data-field="position" data-id="<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
" class="saveOnBlur select2 FrontendType" style="width:100%;">
<option value="none" <?php if ($_smarty_tpl->tpl_vars['link']->value['position']=='none'){?>selected="selected"<?php }?>>hidden</option>
<optgroup label="<?php echo vtranslate('Workflow Designer',"Settings:Workflow2");?>
">
<option value="sidebar" <?php if ($_smarty_tpl->tpl_vars['link']->value['position']=='sidebar'){?>selected="selected"<?php }?>><?php echo vtranslate('Dedicated Button in popup','Settings:Workflow2');?>
</option>
<option value="headerbtn" <?php if ($_smarty_tpl->tpl_vars['link']->value['position']=='headerbtn'){?>selected="selected"<?php }?>><?php echo vtranslate('Button in Headerrow','Settings:Workflow2');?>
</option>
<option value="listviewbtn" <?php if ($_smarty_tpl->tpl_vars['link']->value['position']=='listviewbtn'){?>selected="selected"<?php }?>><?php echo vtranslate('Listview Top Button','Settings:Workflow2');?>
</option>
<option value="detailbtn" <?php if ($_smarty_tpl->tpl_vars['link']->value['position']=='detailbtn'){?>selected="selected"<?php }?>><?php echo vtranslate('Detailview Top Button','Settings:Workflow2');?>
</option>
<option value="relatedbtn" <?php if ($_smarty_tpl->tpl_vars['link']->value['position']=='relatedbtn'){?>selected="selected"<?php }?>><?php echo vtranslate('Campaign Relations Button','Settings:Workflow2');?>
</option>
<option value="morebtn" <?php if ($_smarty_tpl->tpl_vars['link']->value['position']=='morebtn'){?>selected="selected"<?php }?>><?php echo vtranslate('More Action Button','Settings:Workflow2');?>
</option>
<option value="fieldbtn" <?php if ($_smarty_tpl->tpl_vars['link']->value['position']=='fieldbtn'){?>selected="selected"<?php }?>><?php echo vtranslate('Button in Field','Settings:Workflow2');?>
</option>
</optgroup>
<optgroup label="<?php echo vtranslate('Custom Types','Settings:Workfow2');?>
">
<?php $_smarty_tpl->tpl_vars['Type'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['Type']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['FrontendTypes']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['Type']->key => $_smarty_tpl->tpl_vars['Type']->value){
$_smarty_tpl->tpl_vars['Type']->_loop = true;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['Type']->value['key'];?>
" <?php if ($_smarty_tpl->tpl_vars['link']->value['position']==$_smarty_tpl->tpl_vars['Type']->value['key']){?>selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['Type']->value['title'];?>
</option>
<?php } ?>
</optgroup>
</select>
</td>
<td style="text-align: left;"">
<div class="ConfigContainer" data-types="sidebar">
<label>
<span style="display:inline-block;width:140px;">Show in ListView:</span>
<input type="checkbox" id="config_<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
_listview" name="listview" data-field="listview" value="1" data-id="<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
" class="saveOnBlur" <?php if ($_smarty_tpl->tpl_vars['link']->value['listview']=='1'){?>checked="checked"<?php }?> />
</label>
</div>
<div class="ConfigContainer" data-types="sidebar,listviewbtn,morebtn,detailbtn,relatedbtn,fieldbtn,headerbtn">
<span style="display:inline-block;width:140px;">Button Color:</span>
<input type="text" style="margin-bottom:0;" id="config_<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
_color" class="defaultTextfield saveOnBlur color {hash:true}" data-field="color" data-id="<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
" value="<?php if ($_smarty_tpl->tpl_vars['link']->value['color']==''){?>#3D57FF<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['link']->value['color'];?>
<?php }?>" />
<label>
<input type="checkbox" value="1" class="saveOnBlur" data-field="config-defaultlayout" data-id="<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
" <?php if (!empty($_smarty_tpl->tpl_vars['link']->value['config']['defaultlayout'])){?>checked="checked"<?php }?> />
No Backgroundcolor, but default Button Layout
</label>
</div>
<div class="ConfigContainer" data-types="fieldbtn" data-content="fieldlist">
<span style="display:inline-block;width:140px;">Select Fields:</span>
<div style="display:inline;" class="FieldListing" data-value="{}"></div>
</div>
<div class="ConfigContainer" data-types="fieldbtn">
<label>
<span style="display:inline-block;width:140px;">Use Dropdown:</span>
<input type="checkbox" id="config_<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
_dropdown" name="config-dropdown" data-field="config-dropdown" value="1" data-id="<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
" class="saveOnBlur" <?php if ($_smarty_tpl->tpl_vars['link']->value['config']['dropdown']=='1'){?>checked="checked"<?php }?> />
</label>
</div>
<?php $_smarty_tpl->tpl_vars['Type'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['Type']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['FrontendTypes']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['Type']->key => $_smarty_tpl->tpl_vars['Type']->value){
$_smarty_tpl->tpl_vars['Type']->_loop = true;
?>
<div class="ConfigContainer" data-types="<?php echo $_smarty_tpl->tpl_vars['Type']->value['key'];?>
">
<?php $_smarty_tpl->tpl_vars['FieldData'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['FieldData']->_loop = false;
$_smarty_tpl->tpl_vars['Field'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['Type']->value['options']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['FieldData']->key => $_smarty_tpl->tpl_vars['FieldData']->value){
$_smarty_tpl->tpl_vars['FieldData']->_loop = true;
$_smarty_tpl->tpl_vars['Field']->value = $_smarty_tpl->tpl_vars['FieldData']->key;
?>
<div>
<label>
<span style="display:inline-block;width:140px;"><?php echo vtranslate($_smarty_tpl->tpl_vars['FieldData']->value['label'],$_smarty_tpl->tpl_vars['Type']->value['langmodule']);?>
:</span>
<?php if ($_smarty_tpl->tpl_vars['FieldData']->value['type']==Workflow2_FrontendType_Model::TYPE_COLORPICKER){?>
<?php if ($_smarty_tpl->tpl_vars['Field']->value!='color'){?>
<input type="text" style="margin-bottom:0;" id="config_<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
_<?php echo $_smarty_tpl->tpl_vars['Field']->value;?>
" class="defaultTextfield saveOnBlur color {hash:true}" data-field="config-<?php echo $_smarty_tpl->tpl_vars['Field']->value;?>
" data-id="<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
" value="<?php if (empty($_smarty_tpl->tpl_vars['link']->value['config'][$_smarty_tpl->tpl_vars['Field']->value])){?><?php echo $_smarty_tpl->tpl_vars['FieldData']->value['default'];?>
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['link']->value['config'][$_smarty_tpl->tpl_vars['Field']->value];?>
<?php }?>" />
<?php }else{ ?>
<input type="text" style="margin-bottom:0;" id="config_<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
_<?php echo $_smarty_tpl->tpl_vars['Field']->value;?>
" class="defaultTextfield saveOnBlur color {hash:true}" data-field="<?php echo $_smarty_tpl->tpl_vars['Field']->value;?>
" data-id="<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
" value="<?php if (empty($_smarty_tpl->tpl_vars['link']->value[$_smarty_tpl->tpl_vars['Field']->value])){?><?php echo $_smarty_tpl->tpl_vars['FieldData']->value['default'];?>
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['link']->value[$_smarty_tpl->tpl_vars['Field']->value];?>
<?php }?>" />
<?php }?>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['FieldData']->value['type']==Workflow2_FrontendType_Model::TYPE_CHECKBOX){?>
<input type="checkbox" id="config_<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
_<?php echo $_smarty_tpl->tpl_vars['Field']->value;?>
" name="config-<?php echo $_smarty_tpl->tpl_vars['Field']->value;?>
" data-field="config-<?php echo $_smarty_tpl->tpl_vars['Field']->value;?>
" value="1" data-id="<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
" class="saveOnBlur" <?php if ((isset($_smarty_tpl->tpl_vars['link']->value['config'][$_smarty_tpl->tpl_vars['Field']->value])&&$_smarty_tpl->tpl_vars['link']->value['config'][$_smarty_tpl->tpl_vars['Field']->value]=='1')||(!isset($_smarty_tpl->tpl_vars['link']->value['config'][$_smarty_tpl->tpl_vars['Field']->value])&&!empty($_smarty_tpl->tpl_vars['FieldData']->value['default']))){?>checked="checked"<?php }?> />
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['FieldData']->value['type']==Workflow2_FrontendType_Model::TYPE_FIELDDSELECT){?>
<div style="display:inline;" data-field="<?php echo $_smarty_tpl->tpl_vars['Field']->value;?>
" class="FieldListing" data-value="{}"></div>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['FieldData']->value['type']==Workflow2_FrontendType_Model::TYPE_ICON){?>
<select class="select2 saveOnBlur" data-id="<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
" id="config_<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
_<?php echo $_smarty_tpl->tpl_vars['Field']->value;?>
" style="width:300px;" data-field="config-<?php echo $_smarty_tpl->tpl_vars['Field']->value;?>
">
<?php $_smarty_tpl->tpl_vars['ICON'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['ICON']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['FA_ICONS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['ICON']->key => $_smarty_tpl->tpl_vars['ICON']->value){
$_smarty_tpl->tpl_vars['ICON']->_loop = true;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['ICON']->value;?>
" <?php if ($_smarty_tpl->tpl_vars['link']->value['config'][$_smarty_tpl->tpl_vars['Field']->value]==$_smarty_tpl->tpl_vars['ICON']->value){?>selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['ICON']->value;?>
</option>
<?php } ?>
</select>
<?php }?>
</label>
</div>
<?php } ?>
</div>
<?php } ?>
</td>
<td>
<?php if ($_smarty_tpl->tpl_vars['link']->value['color']!='separator'){?>
<?php }?>
</td>
</tr>
<?php } ?>
</tbody>
<tfoot>
<tr style="background-color: #eee;">
<td></td>
<td colspan="5"">
<?php echo vtranslate('disable complete Workflow List in Sidebar','Settings:Workflow2');?>
:&nbsp;&nbsp;&nbsp;<input type="checkbox" class="SaveConfigOnBlur" data-field="hide_listview" data-module="<?php echo $_smarty_tpl->tpl_vars['linkArray']->value[0]['module_name'];?>
" <?php if (isset($_smarty_tpl->tpl_vars['frontendConfig']->value[$_smarty_tpl->tpl_vars['linkArray']->value[0]['module_name']])&&$_smarty_tpl->tpl_vars['frontendConfig']->value[$_smarty_tpl->tpl_vars['linkArray']->value[0]['module_name']]['hide_listview']=='1'){?>checked="checked"<?php }?> />
&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo vtranslate('add other Object','Settings:Workflow2');?>
:&nbsp;&nbsp;&nbsp;<select class="separatorChooser"><option value="separator">Separator</option></select><button class="btn btn-primary addSpecialObjectButton" type="button" name=""><?php echo vtranslate('add','Settings:Workflow2');?>
</button>
</td>
</tr>
</tfoot>
</table>
<?php } ?>
</div>
</div>
<script type="text/javascript">
var configurations = <?php echo json_encode($_smarty_tpl->tpl_vars['configurations']->value);?>
;
var frontendTypes = <?php echo json_encode($_smarty_tpl->tpl_vars['FrontendTypes']->value);?>
;
</script>
<?php }} ?>

View File

@@ -0,0 +1,61 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-17 16:48:49
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Events/uitypes/Multireference.tpl" */ ?>
<?php /*%%SmartyHeaderCode:175062237368f2494119ad34-23842374%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'63a9df55010868737c8779cae742251007157953' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Events/uitypes/Multireference.tpl',
1 => 1711810495,
2 => 'file',
),
),
'nocache_hash' => '175062237368f2494119ad34-23842374',
'function' =>
array (
),
'variables' =>
array (
'FIELD_MODEL' => 0,
'REFERENCE_LIST' => 0,
'REFERENCE_LIST_COUNT' => 0,
'DISPLAYID' => 0,
'REFERENCED_MODULE_STRUCT' => 0,
'REFERENCED_MODULE_NAME' => 0,
'FIELD_NAME' => 0,
'FIELD_INFO' => 0,
'displayId' => 0,
'MODULE' => 0,
'RELATED_CONTACTS' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68f249411b107',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68f249411b107')) {function content_68f249411b107($_smarty_tpl) {?>
<?php $_smarty_tpl->tpl_vars["FIELD_INFO"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldInfo(), null, 0);?><?php $_smarty_tpl->tpl_vars['FIELD_NAME'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('name'), null, 0);?><?php $_smarty_tpl->tpl_vars["REFERENCE_LIST"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getReferenceList(), null, 0);?><?php $_smarty_tpl->tpl_vars["REFERENCE_LIST_COUNT"] = new Smarty_variable(count($_smarty_tpl->tpl_vars['REFERENCE_LIST']->value), null, 0);?><?php $_smarty_tpl->tpl_vars["SPECIAL_VALIDATOR"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getValidator(), null, 0);?><div class="referencefield-wrapper"><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['REFERENCE_LIST_COUNT']->value;?>
<?php $_tmp1=ob_get_clean();?><?php if ($_tmp1==1){?><input name="popupReferenceModule" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['REFERENCE_LIST']->value[0];?>
" /><?php }?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['REFERENCE_LIST_COUNT']->value;?>
<?php $_tmp2=ob_get_clean();?><?php if ($_tmp2>1){?><?php $_smarty_tpl->tpl_vars["DISPLAYID"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue'), null, 0);?><?php $_smarty_tpl->tpl_vars["REFERENCED_MODULE_STRUCT"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getUITypeModel()->getReferenceModule($_smarty_tpl->tpl_vars['DISPLAYID']->value), null, 0);?><?php if (!empty($_smarty_tpl->tpl_vars['REFERENCED_MODULE_STRUCT']->value)){?><?php $_smarty_tpl->tpl_vars["REFERENCED_MODULE_NAME"] = new Smarty_variable($_smarty_tpl->tpl_vars['REFERENCED_MODULE_STRUCT']->value->get('name'), null, 0);?><?php }?><?php if (in_array($_smarty_tpl->tpl_vars['REFERENCED_MODULE_NAME']->value,$_smarty_tpl->tpl_vars['REFERENCE_LIST']->value)){?><input name="popupReferenceModule" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['REFERENCED_MODULE_NAME']->value;?>
" /><?php }else{ ?><input name="popupReferenceModule" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['REFERENCE_LIST']->value[0];?>
" /><?php }?><?php }?><input name="<?php echo $_smarty_tpl->tpl_vars['FIELD_NAME']->value;?>
" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue');?>
" class="sourceField" data-displayvalue='<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getEditViewDisplayValue($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue'));?>
' data-fieldinfo='<?php echo $_smarty_tpl->tpl_vars['FIELD_INFO']->value;?>
' data-multiple='true'/><div class="input-group"><input id="<?php echo $_smarty_tpl->tpl_vars['FIELD_NAME']->value;?>
_display" name="<?php echo $_smarty_tpl->tpl_vars['FIELD_NAME']->value;?>
_display" data-fieldname="<?php echo $_smarty_tpl->tpl_vars['FIELD_NAME']->value;?>
" data-fieldtype="reference" type="text"class="marginLeftZero autoComplete inputElement"value="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getEditViewDisplayValue($_smarty_tpl->tpl_vars['displayId']->value);?>
"data-fieldinfo='<?php echo $_smarty_tpl->tpl_vars['FIELD_INFO']->value;?>
' data-fieldtype="multireference" placeholder="<?php echo vtranslate('LBL_TYPE_SEARCH',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"<?php if ($_smarty_tpl->tpl_vars['FIELD_INFO']->value["mandatory"]==true){?> data-rule-required="true" <?php }?>/><span class="input-group-addon relatedPopup cursorPointer" title="<?php echo vtranslate('LBL_SELECT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
" style="height:auto;width: 30px;"><i id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
_editView_fieldName_<?php echo $_smarty_tpl->tpl_vars['FIELD_NAME']->value;?>
_select" class="fa fa-search"></i></span><input type="hidden" name="relatedContactInfo" data-value='<?php echo json_encode($_smarty_tpl->tpl_vars['RELATED_CONTACTS']->value,@JSON_HEX_APOS);?>
' /></div><!-- Show the add button only if it is edit view --><?php if ($_REQUEST['view']=='Edit'){?><span class="createReferenceRecord cursorPointer clearfix" title="<?php echo vtranslate('LBL_CREATE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"><i id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
_editView_fieldName_<?php echo $_smarty_tpl->tpl_vars['FIELD_NAME']->value;?>
_create" class="fa fa-plus"></i></span><?php }?></div>
<?php }} ?>

View File

@@ -0,0 +1,54 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-17 16:48:49
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/Reminder.tpl" */ ?>
<?php /*%%SmartyHeaderCode:98658359568f2494114d019-64462211%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'6c844e317fc9385c13844b07caaddb7f5a5d82d5' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/Reminder.tpl',
1 => 1711810494,
2 => 'file',
),
),
'nocache_hash' => '98658359568f2494114d019-64462211',
'function' =>
array (
),
'variables' =>
array (
'REMINDER_VALUES' => 0,
'FIELD_MODEL' => 0,
'DAYS' => 0,
'DAY' => 0,
'MODULE' => 0,
'HOURS' => 0,
'HOUR' => 0,
'MINUTES' => 0,
'MINUTE' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68f2494116213',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68f2494116213')) {function content_68f2494116213($_smarty_tpl) {?>
<?php if (!$_smarty_tpl->tpl_vars['REMINDER_VALUES']->value){?><?php $_smarty_tpl->tpl_vars['REMINDER_VALUES'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getEditViewDisplayValue($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue')), null, 0);?><?php }?><?php if ($_smarty_tpl->tpl_vars['REMINDER_VALUES']->value==''){?><?php $_smarty_tpl->tpl_vars['DAYS'] = new Smarty_variable(0, null, 0);?><?php $_smarty_tpl->tpl_vars['HOURS'] = new Smarty_variable(0, null, 0);?><?php $_smarty_tpl->tpl_vars['MINUTES'] = new Smarty_variable(1, null, 0);?><?php }else{ ?><?php $_smarty_tpl->tpl_vars['DAY'] = new Smarty_variable($_smarty_tpl->tpl_vars['REMINDER_VALUES']->value[0], null, 0);?><?php $_smarty_tpl->tpl_vars['HOUR'] = new Smarty_variable($_smarty_tpl->tpl_vars['REMINDER_VALUES']->value[1], null, 0);?><?php $_smarty_tpl->tpl_vars['MINUTE'] = new Smarty_variable($_smarty_tpl->tpl_vars['REMINDER_VALUES']->value[2], null, 0);?><?php }?><div id="js-reminder-controls"><div style="float:left;margin-top: 1%;"><input type=hidden name=set_reminder value=0 /><input type=checkbox name=set_reminder <?php if ($_smarty_tpl->tpl_vars['REMINDER_VALUES']->value!=''){?>checked<?php }?> value=1 />&nbsp;&nbsp;</div><div id="js-reminder-selections" style="float:left;visibility:<?php if ($_smarty_tpl->tpl_vars['REMINDER_VALUES']->value!=''){?>visible<?php }else{ ?>collapse<?php }?>;"><div style="float:left"><div style="float:left"><select class="select2" name="remdays"><?php $_smarty_tpl->tpl_vars['DAYS'] = new Smarty_Variable;$_smarty_tpl->tpl_vars['DAYS']->step = 1;$_smarty_tpl->tpl_vars['DAYS']->total = (int)ceil(($_smarty_tpl->tpl_vars['DAYS']->step > 0 ? 31+1 - (0) : 0-(31)+1)/abs($_smarty_tpl->tpl_vars['DAYS']->step));
if ($_smarty_tpl->tpl_vars['DAYS']->total > 0){
for ($_smarty_tpl->tpl_vars['DAYS']->value = 0, $_smarty_tpl->tpl_vars['DAYS']->iteration = 1;$_smarty_tpl->tpl_vars['DAYS']->iteration <= $_smarty_tpl->tpl_vars['DAYS']->total;$_smarty_tpl->tpl_vars['DAYS']->value += $_smarty_tpl->tpl_vars['DAYS']->step, $_smarty_tpl->tpl_vars['DAYS']->iteration++){
$_smarty_tpl->tpl_vars['DAYS']->first = $_smarty_tpl->tpl_vars['DAYS']->iteration == 1;$_smarty_tpl->tpl_vars['DAYS']->last = $_smarty_tpl->tpl_vars['DAYS']->iteration == $_smarty_tpl->tpl_vars['DAYS']->total;?><option value="<?php echo $_smarty_tpl->tpl_vars['DAYS']->value;?>
" <?php if ($_smarty_tpl->tpl_vars['DAYS']->value==$_smarty_tpl->tpl_vars['DAY']->value){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['DAYS']->value;?>
</option><?php }} ?></select></div><div style="float:left;margin-top:5px">&nbsp;<?php echo vtranslate('LBL_DAYS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
&nbsp;&nbsp;</div><div class="clearfix"></div></div><div style="float:left"><div style="float:left"><select class="select2" name="remhrs"><?php $_smarty_tpl->tpl_vars['HOURS'] = new Smarty_Variable;$_smarty_tpl->tpl_vars['HOURS']->step = 1;$_smarty_tpl->tpl_vars['HOURS']->total = (int)ceil(($_smarty_tpl->tpl_vars['HOURS']->step > 0 ? 23+1 - (0) : 0-(23)+1)/abs($_smarty_tpl->tpl_vars['HOURS']->step));
if ($_smarty_tpl->tpl_vars['HOURS']->total > 0){
for ($_smarty_tpl->tpl_vars['HOURS']->value = 0, $_smarty_tpl->tpl_vars['HOURS']->iteration = 1;$_smarty_tpl->tpl_vars['HOURS']->iteration <= $_smarty_tpl->tpl_vars['HOURS']->total;$_smarty_tpl->tpl_vars['HOURS']->value += $_smarty_tpl->tpl_vars['HOURS']->step, $_smarty_tpl->tpl_vars['HOURS']->iteration++){
$_smarty_tpl->tpl_vars['HOURS']->first = $_smarty_tpl->tpl_vars['HOURS']->iteration == 1;$_smarty_tpl->tpl_vars['HOURS']->last = $_smarty_tpl->tpl_vars['HOURS']->iteration == $_smarty_tpl->tpl_vars['HOURS']->total;?><option value="<?php echo $_smarty_tpl->tpl_vars['HOURS']->value;?>
" <?php if ($_smarty_tpl->tpl_vars['HOURS']->value==$_smarty_tpl->tpl_vars['HOUR']->value){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['HOURS']->value;?>
</option><?php }} ?></select></div><div style="float:left;margin-top:5px">&nbsp;<?php echo vtranslate('LBL_HOURS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
&nbsp;&nbsp;</div><div class="clearfix"></div></div><div style="float:left"><div style="float:left"><select class="select2" name="remmin"><?php $_smarty_tpl->tpl_vars['MINUTES'] = new Smarty_Variable;$_smarty_tpl->tpl_vars['MINUTES']->step = 1;$_smarty_tpl->tpl_vars['MINUTES']->total = (int)ceil(($_smarty_tpl->tpl_vars['MINUTES']->step > 0 ? 59+1 - (1) : 1-(59)+1)/abs($_smarty_tpl->tpl_vars['MINUTES']->step));
if ($_smarty_tpl->tpl_vars['MINUTES']->total > 0){
for ($_smarty_tpl->tpl_vars['MINUTES']->value = 1, $_smarty_tpl->tpl_vars['MINUTES']->iteration = 1;$_smarty_tpl->tpl_vars['MINUTES']->iteration <= $_smarty_tpl->tpl_vars['MINUTES']->total;$_smarty_tpl->tpl_vars['MINUTES']->value += $_smarty_tpl->tpl_vars['MINUTES']->step, $_smarty_tpl->tpl_vars['MINUTES']->iteration++){
$_smarty_tpl->tpl_vars['MINUTES']->first = $_smarty_tpl->tpl_vars['MINUTES']->iteration == 1;$_smarty_tpl->tpl_vars['MINUTES']->last = $_smarty_tpl->tpl_vars['MINUTES']->iteration == $_smarty_tpl->tpl_vars['MINUTES']->total;?><option value="<?php echo $_smarty_tpl->tpl_vars['MINUTES']->value;?>
" <?php if ($_smarty_tpl->tpl_vars['MINUTES']->value==$_smarty_tpl->tpl_vars['MINUTE']->value){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['MINUTES']->value;?>
</option><?php }} ?></select></div><div style="float:left;margin-top:5px">&nbsp;<?php echo vtranslate('LBL_MINUTES',$_smarty_tpl->tpl_vars['MODULE']->value);?>
&nbsp;&nbsp;</div><div class="clearfix"></div></div></div><div class="clearfix"></div></div><?php }} ?>

View File

@@ -0,0 +1,71 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-17 19:34:52
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Workflow2/ConditionPopup.tpl" */ ?>
<?php /*%%SmartyHeaderCode:100079417868f2702cc4c759-61337598%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'6e8cc5a50af9e6cb0a424a8e87c55ff96b78594d' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Workflow2/ConditionPopup.tpl',
1 => 1711810495,
2 => 'file',
),
),
'nocache_hash' => '100079417868f2702cc4c759-61337598',
'function' =>
array (
),
'variables' =>
array (
'MODULE' => 0,
'HEADER_TITLE' => 0,
'toModule' => 0,
'title' => 0,
'conditionalContent' => 0,
'show_calculation' => 0,
'javascript' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68f2702cc9723',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68f2702cc9723')) {function content_68f2702cc9723($_smarty_tpl) {?><div class="modal-dialog modelContainer" style="width:1200px;">
<?php ob_start();?><?php echo vtranslate("configure Condition","Settings:Workflow2");?>
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['HEADER_TITLE'] = new Smarty_variable($_tmp1, null, 0);?>
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("ModalHeader.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('TITLE'=>$_smarty_tpl->tpl_vars['HEADER_TITLE']->value), 0);?>
<form method="POST" id="PopupConditionForm" action="index.php?module=Workflow2&parent=Settings&action=ConditionPopupStore">
<div class="modal-content">
<input type="hidden" name="task[module]" value="<?php echo $_smarty_tpl->tpl_vars['toModule']->value;?>
" />
<p style="margin:5px 10px;">
<?php echo $_smarty_tpl->tpl_vars['title']->value;?>
</p>
<div style="margin:0 10px;">
<?php echo $_smarty_tpl->tpl_vars['conditionalContent']->value;?>
</div>
<?php if ($_smarty_tpl->tpl_vars['show_calculation']->value){?>
<div style="margin:10px;overflow:hidden;">
<input type="button" class="btn btn-primary calculateRecords pull-left" name="calculator" value="<?php echo vtranslate('calculate number of records','Settings:Workflow2');?>
" />
<p id="recordMatchCounter" class=" pull-left" style="line-height:28px;margin-left:20px;display:none;"><span></span> <?php echo vtranslate('Records found','Settings:Workflow2');?>
</p>
</div>
<?php }?>
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('ModalFooter.tpl',$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('BUTTON_NAME'=>vtranslate('store condition','Settings:Workflow2')), 0);?>
</div>
</form>
</div>
<script type="text/javascript">
<?php echo $_smarty_tpl->tpl_vars['javascript']->value;?>
</script>
<?php }} ?>

View File

@@ -0,0 +1,114 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-17 19:05:05
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/taskforms/WfTaskAdd_related_record.tpl" */ ?>
<?php /*%%SmartyHeaderCode:150127213668f2693145fb76-99945174%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'9b8f5810fd6077bfb870beef75d10c2e647fff73' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/taskforms/WfTaskAdd_related_record.tpl',
1 => 1711810493,
2 => 'file',
),
),
'nocache_hash' => '150127213668f2693145fb76-99945174',
'function' =>
array (
),
'variables' =>
array (
'related_tabid' => 0,
'MOD' => 0,
'EntityModules' => 0,
'task' => 0,
'module' => 0,
'related_modules' => 0,
'related_module' => 0,
'workflow_module_name' => 0,
'conditionalContent' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68f269314a521',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68f269314a521')) {function content_68f269314a521($_smarty_tpl) {?><div>
<table width="100%" cellspacing="0" cellpadding="0" class="newTable">
<tr>
<td class="dvtCellLabel" align="right" width="25%"><?php echo vtranslate('Add record to this module','Settings:Workflow2');?>
</td>
<td width="15"></td>
<td class="dvtCellInfo" align="left">
<select name='task[target_module]' class="select2" style="width:400px;" onchange="jQuery('#save').trigger('click');">
<option <?php if ($_smarty_tpl->tpl_vars['related_tabid']->value==0){?>selected='selected'<?php }?> value="0"><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_CHOOSE'];?>
</option>
<?php $_smarty_tpl->tpl_vars['module'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['module']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['EntityModules']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['module']->key => $_smarty_tpl->tpl_vars['module']->value){
$_smarty_tpl->tpl_vars['module']->_loop = true;
?>
<option <?php if ($_smarty_tpl->tpl_vars['task']->value['target_module']==$_smarty_tpl->tpl_vars['module']->value[0]){?>selected='selected'<?php }?> value="<?php echo $_smarty_tpl->tpl_vars['module']->value[0];?>
"><?php echo $_smarty_tpl->tpl_vars['module']->value[1];?>
</option>
<?php } ?>
</select>
<div class="alert alert-info" style="display:inline-block;margin:0;">
<?php echo vtranslate('The module show the Relation ListView in frontend.','Settings:Workflow2');?>
</div>
</td>
</tr>
<tr>
<td class="dvtCellLabel" align="right" width="25%"><?php echo vtranslate('Add record of this module','Settings:Workflow2');?>
</td>
<td width="15"></td>
<td class="dvtCellInfo" align="left">
<select name='task[related_module]' class="select2" style="width:400px;" onchange="jQuery('#save').trigger('click');">
<option <?php if ($_smarty_tpl->tpl_vars['related_tabid']->value==0){?>selected='selected'<?php }?> value="0"><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_CHOOSE'];?>
</option>
<?php $_smarty_tpl->tpl_vars['module'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['module']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['related_modules']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['module']->key => $_smarty_tpl->tpl_vars['module']->value){
$_smarty_tpl->tpl_vars['module']->_loop = true;
?>
<option <?php if ($_smarty_tpl->tpl_vars['related_module']->value==$_smarty_tpl->tpl_vars['module']->value['module_name']){?>selected='selected'<?php }?> value="<?php echo $_smarty_tpl->tpl_vars['module']->value['module_name'];?>
"><?php echo $_smarty_tpl->tpl_vars['module']->value['label'];?>
</option>
<?php } ?>
</select>
<div class="alert alert-info" style="display:inline-block;margin:0;">
<?php echo vtranslate('This module provide the records, which will be referenced.','Settings:Workflow2');?>
</div>
</td>
</tr>
<tr>
<td class="dvtCellLabel" align="right" width="15%"><?php echo vtranslate('At most add this number of records','Settings:Workflow2');?>
</td>
<td width="15"></td>
<td class="dvtCellInfo" align="left">
<input type='text' name='task[found_rows]' class="defaultTextfield" id='found_rows' value="<?php echo $_smarty_tpl->tpl_vars['task']->value['found_rows'];?>
" style="width:50px;margin:5px 0;">
</td>
</tr>
<tr>
<td class="dvtCellLabel" align="right" width="15%"><?php echo vtranslate('Relate records to this target record','Settings:Workflow2');?>
</td>
<td width="15"></td>
<td class="dvtCellInfo" align="left">
<div class="insertTextfield" data-name="task[target]" data-options='{"refFields":true, "module":"<?php echo $_smarty_tpl->tpl_vars['workflow_module_name']->value;?>
"}' data-id="target" data-placeholder="$crmid"><?php echo $_smarty_tpl->tpl_vars['task']->value['target'];?>
</div>
</td>
</tr>
</table>
</div>
<?php if (!empty($_smarty_tpl->tpl_vars['related_module']->value)){?>
<br/>
<h4><?php echo vtranslate('Search the records you want to add','Settings:Workflow2');?>
</h4>
<hr/>
<?php echo $_smarty_tpl->tpl_vars['conditionalContent']->value;?>
<?php }?>
<?php }} ?>

View File

@@ -0,0 +1,75 @@
<?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 }} ?>

View File

@@ -0,0 +1,25 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-17 16:44:32
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Events/QuickCreate.tpl" */ ?>
<?php /*%%SmartyHeaderCode:157364336468f24840a40491-20900235%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'c22e5c0dbf572704d82661dc3817ac52f9a319d6' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Events/QuickCreate.tpl',
1 => 1711810495,
2 => 'file',
),
),
'nocache_hash' => '157364336468f24840a40491-20900235',
'function' =>
array (
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68f24840a5ac0',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68f24840a5ac0')) {function content_68f24840a5ac0($_smarty_tpl) {?>
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("QuickCreate.tpl","Calendar"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<?php }} ?>

View File

@@ -0,0 +1,47 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-17 16:44:28
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Calendar/uitypes/StatusPickListFieldSearchView.tpl" */ ?>
<?php /*%%SmartyHeaderCode:117293072168f2483cdc6402-54570487%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'c95e8384f0bbfe66870957dfc0e785cb930f3c66' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Calendar/uitypes/StatusPickListFieldSearchView.tpl',
1 => 1711810495,
2 => 'file',
),
),
'nocache_hash' => '117293072168f2483cdc6402-54570487',
'function' =>
array (
),
'variables' =>
array (
'FIELD_MODEL' => 0,
'FIELD_INFO' => 0,
'EVENTS_MODULE_MODEL' => 0,
'EVENT_STATUS_FIELD_MODEL' => 0,
'PICKLIST_VALUES' => 0,
'EVENT_STAUTS_PICKLIST_VALUES' => 0,
'SEARCH_INFO' => 0,
'PICKLIST_KEY' => 0,
'SEARCH_VALUES' => 0,
'PICKLIST_LABEL' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68f2483ce3734',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68f2483ce3734')) {function content_68f2483ce3734($_smarty_tpl) {?>
<?php $_smarty_tpl->tpl_vars['FIELD_INFO'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldInfo(), null, 0);?><?php $_smarty_tpl->tpl_vars['PICKLIST_VALUES'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_INFO']->value['picklistvalues'], null, 0);?><?php $_smarty_tpl->tpl_vars['FIELD_INFO'] = new Smarty_variable(Vtiger_Util_Helper::toSafeHTML(Zend_Json::encode($_smarty_tpl->tpl_vars['FIELD_INFO']->value)), null, 0);?><?php $_smarty_tpl->tpl_vars['EVENTS_MODULE_MODEL'] = new Smarty_variable(Vtiger_Module_Model::getInstance('Events'), null, 0);?><?php $_smarty_tpl->tpl_vars['EVENT_STATUS_FIELD_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['EVENTS_MODULE_MODEL']->value->getField('eventstatus'), null, 0);?><?php $_smarty_tpl->tpl_vars['EVENT_STAUTS_PICKLIST_VALUES'] = new Smarty_variable($_smarty_tpl->tpl_vars['EVENT_STATUS_FIELD_MODEL']->value->getPicklistValues(), null, 0);?><?php $_smarty_tpl->tpl_vars['PICKLIST_VALUES'] = new Smarty_variable(array_merge($_smarty_tpl->tpl_vars['PICKLIST_VALUES']->value,$_smarty_tpl->tpl_vars['EVENT_STAUTS_PICKLIST_VALUES']->value), null, 0);?><?php $_smarty_tpl->tpl_vars['SEARCH_VALUES'] = new Smarty_variable(explode(',',$_smarty_tpl->tpl_vars['SEARCH_INFO']->value['searchValue']), null, 0);?><div class="select2_search_div"><input type="text" class="listSearchContributor inputElement select2_input_element"/><select class="select2 listSearchContributor" name="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('name');?>
" multiple data-fieldinfo='<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['FIELD_INFO']->value, ENT_QUOTES, 'UTF-8', true);?>
' style="display:none"><?php $_smarty_tpl->tpl_vars['PICKLIST_LABEL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['PICKLIST_LABEL']->_loop = false;
$_smarty_tpl->tpl_vars['PICKLIST_KEY'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['PICKLIST_VALUES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['PICKLIST_LABEL']->key => $_smarty_tpl->tpl_vars['PICKLIST_LABEL']->value){
$_smarty_tpl->tpl_vars['PICKLIST_LABEL']->_loop = true;
$_smarty_tpl->tpl_vars['PICKLIST_KEY']->value = $_smarty_tpl->tpl_vars['PICKLIST_LABEL']->key;
?><option value="<?php echo $_smarty_tpl->tpl_vars['PICKLIST_KEY']->value;?>
" <?php if (in_array($_smarty_tpl->tpl_vars['PICKLIST_KEY']->value,$_smarty_tpl->tpl_vars['SEARCH_VALUES']->value)){?> selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['PICKLIST_LABEL']->value;?>
</option><?php } ?></select></div><?php }} ?>

View File

@@ -0,0 +1,23 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-17 16:48:49
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Events/partials/Menubar.tpl" */ ?>
<?php /*%%SmartyHeaderCode:200159572468f24941083015-21926871%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'd2ec7cccfde840182b52c0ddcd5ffd148d71456a' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Events/partials/Menubar.tpl',
1 => 1711810495,
2 => 'file',
),
),
'nocache_hash' => '200159572468f24941083015-21926871',
'function' =>
array (
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68f249410bd32',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68f249410bd32')) {function content_68f249410bd32($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("partials/Menubar.tpl",'Calendar'), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<?php }} ?>

View File

@@ -0,0 +1,55 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-17 16:48:49
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Events/partials/EditViewContents.tpl" */ ?>
<?php /*%%SmartyHeaderCode:50322716868f249410c53d3-20001887%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'f8f14eef45bdc5285a81f77d265e2bcaaf85c2cf' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Events/partials/EditViewContents.tpl',
1 => 1711810495,
2 => 'file',
),
),
'nocache_hash' => '50322716868f249410c53d3-20001887',
'function' =>
array (
),
'variables' =>
array (
'BLOCK_LABEL' => 0,
'MODULE' => 0,
'ACCESSIBLE_USERS' => 0,
'USER_ID' => 0,
'CURRENT_USER' => 0,
'INVITIES_SELECTED' => 0,
'USER_NAME' => 0,
'HEADER_TITLE' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68f249410e474',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68f249410e474')) {function content_68f249410e474($_smarty_tpl) {?>
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("partials/EditViewContents.tpl",'Vtiger'), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<div name='editContent'><div class='fieldBlockContainer' data-block="<?php echo $_smarty_tpl->tpl_vars['BLOCK_LABEL']->value;?>
"><h4 class='fieldBlockHeader'><?php echo vtranslate('LBL_INVITE_USER_BLOCK',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</h4><hr><table class="table table-borderless"><tr><td class="fieldLabel alignMiddle"><?php echo vtranslate('LBL_INVITE_USERS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</td><td class="fieldValue"><select id="selectedUsers" class="select2 inputElement" multiple name="selectedusers[]"><?php $_smarty_tpl->tpl_vars['USER_NAME'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['USER_NAME']->_loop = false;
$_smarty_tpl->tpl_vars['USER_ID'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['ACCESSIBLE_USERS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['USER_NAME']->key => $_smarty_tpl->tpl_vars['USER_NAME']->value){
$_smarty_tpl->tpl_vars['USER_NAME']->_loop = true;
$_smarty_tpl->tpl_vars['USER_ID']->value = $_smarty_tpl->tpl_vars['USER_NAME']->key;
?><?php if ($_smarty_tpl->tpl_vars['USER_ID']->value==$_smarty_tpl->tpl_vars['CURRENT_USER']->value->getId()){?><?php continue 1?><?php }?><option value="<?php echo $_smarty_tpl->tpl_vars['USER_ID']->value;?>
" <?php if (in_array($_smarty_tpl->tpl_vars['USER_ID']->value,$_smarty_tpl->tpl_vars['INVITIES_SELECTED']->value)){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['USER_NAME']->value;?>
</option><?php } ?></select></td><td></td><td></td></tr></table><input type="hidden" name="recurringEditMode" value="" /><!--Confirmation modal for updating Recurring Events--><?php $_smarty_tpl->tpl_vars['MODULE'] = new Smarty_variable("Calendar", null, 0);?><div class="modal-dialog modelContainer recurringEventsUpdation modal-content hide" style='min-width:350px;'><?php ob_start();?><?php echo vtranslate('LBL_EDIT_RECURRING_EVENT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['HEADER_TITLE'] = new Smarty_variable($_tmp1, null, 0);?><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("ModalHeader.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('TITLE'=>$_smarty_tpl->tpl_vars['HEADER_TITLE']->value), 0);?>
<div class="modal-body"><div class="container-fluid"><div class="row" style="padding: 1%;padding-left: 3%;"><?php echo vtranslate('LBL_EDIT_RECURRING_EVENTS_INFO',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</div><div class="row" style="padding: 1%;"><span class="col-sm-12"><span class="col-sm-4"><button class="btn btn-default onlyThisEvent" style="width : 150px"><?php echo vtranslate('LBL_ONLY_THIS_EVENT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</button></span><span class="col-sm-8"><?php echo vtranslate('LBL_ONLY_THIS_EVENT_EDIT_INFO',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</span></span></div><div class="row" style="padding: 1%;"><span class="col-sm-12"><span class="col-sm-4"><button class="btn btn-default futureEvents" style="width : 150px"><?php echo vtranslate('LBL_FUTURE_EVENTS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</button></span><span class="col-sm-8"><?php echo vtranslate('LBL_FUTURE_EVENTS_EDIT_INFO',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</span></span></div><div class="row" style="padding: 1%;"><span class="col-sm-12"><span class="col-sm-4"><button class="btn btn-default allEvents" style="width : 150px"><?php echo vtranslate('LBL_ALL_EVENTS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</button></span><span class="col-sm-8"><?php echo vtranslate('LBL_ALL_EVENTS_EDIT_INFO',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</span></span></div></div></div></div><!--Confirmation modal for updating Recurring Events--></div></div><?php }} ?>