66 lines
5.0 KiB
PHP
66 lines
5.0 KiB
PHP
<?php /* Smarty version Smarty-3.1.7, created on 2020-05-13 07:55:53
|
|
compiled from "/home/sophalnexs/www/sophalcrm/includes/runtime/../../layouts/v7/modules/Settings/Groups/DeleteTransferForm.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:328372915ebba809280748-60497423%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_valid = $_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'0cf1d536b55530db315632819f4c31210f6b5147' =>
|
|
array (
|
|
0 => '/home/sophalnexs/www/sophalcrm/includes/runtime/../../layouts/v7/modules/Settings/Groups/DeleteTransferForm.tpl',
|
|
1 => 1583050822,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'nocache_hash' => '328372915ebba809280748-60497423',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'variables' =>
|
|
array (
|
|
'QUALIFIED_MODULE' => 0,
|
|
'MODULE' => 0,
|
|
'RECORD_MODEL' => 0,
|
|
'HEADER_TITLE' => 0,
|
|
'ALL_USERS' => 0,
|
|
'USER_ID' => 0,
|
|
'USER_MODEL' => 0,
|
|
'ALL_GROUPS' => 0,
|
|
'GROUP_ID' => 0,
|
|
'GROUP_MODEL' => 0,
|
|
),
|
|
'has_nocache_code' => false,
|
|
'version' => 'Smarty-3.1.7',
|
|
'unifunc' => 'content_5ebba8093b32a',
|
|
),false); /*/%%SmartyHeaderCode%%*/?>
|
|
<?php if ($_valid && !is_callable('content_5ebba8093b32a')) {function content_5ebba8093b32a($_smarty_tpl) {?>
|
|
|
|
|
|
<div class="modal-dialog modelContainer"><?php ob_start();?><?php echo vtranslate('LBL_DELETE_RECORD',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
|
<?php $_tmp1=ob_get_clean();?><?php ob_start();?><?php echo vtranslate(('SINGLE_').($_smarty_tpl->tpl_vars['MODULE']->value),$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
|
<?php $_tmp2=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['RECORD_MODEL']->value->getName();?>
|
|
<?php $_tmp3=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['HEADER_TITLE'] = new Smarty_variable((((($_tmp1).(" ")).($_tmp2)).(" - ")).($_tmp3), 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-content"><form class="form-horizontal" id="DeleteModal" name="AddComment" method="post" action="index.php"><input type="hidden" name="module" value="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
|
" /><input type="hidden" name="parent" value="Settings" /><input type="hidden" name="action" value="DeleteAjax" /><input type="hidden" name="record" id="record" value="<?php echo $_smarty_tpl->tpl_vars['RECORD_MODEL']->value->getId();?>
|
|
" /><div class="modal-body"><div class="row-fluid"><div class="form-group"><span class="control-label fieldLabel col-sm-5"><strong><?php echo vtranslate('LBL_TRANSFORM_OWNERSHIP',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
|
<?php echo vtranslate('LBL_TO',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
|
<span class="redColor">*</span></strong></span><div class="controls fieldValue col-xs-6"><select id="transfer_record" name="transfer_record" class="select2"><optgroup label="<?php echo vtranslate('LBL_USERS',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
|
"><?php $_smarty_tpl->tpl_vars['USER_MODEL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['USER_MODEL']->_loop = false;
|
|
$_smarty_tpl->tpl_vars['USER_ID'] = new Smarty_Variable;
|
|
$_from = $_smarty_tpl->tpl_vars['ALL_USERS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
foreach ($_from as $_smarty_tpl->tpl_vars['USER_MODEL']->key => $_smarty_tpl->tpl_vars['USER_MODEL']->value){
|
|
$_smarty_tpl->tpl_vars['USER_MODEL']->_loop = true;
|
|
$_smarty_tpl->tpl_vars['USER_ID']->value = $_smarty_tpl->tpl_vars['USER_MODEL']->key;
|
|
?><option value="<?php echo $_smarty_tpl->tpl_vars['USER_ID']->value;?>
|
|
"><?php echo $_smarty_tpl->tpl_vars['USER_MODEL']->value->getName();?>
|
|
</option><?php } ?></optgroup><optgroup label="<?php echo vtranslate('LBL_GROUPS',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
|
"><?php $_smarty_tpl->tpl_vars['GROUP_MODEL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['GROUP_MODEL']->_loop = false;
|
|
$_smarty_tpl->tpl_vars['GROUP_ID'] = new Smarty_Variable;
|
|
$_from = $_smarty_tpl->tpl_vars['ALL_GROUPS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
foreach ($_from as $_smarty_tpl->tpl_vars['GROUP_MODEL']->key => $_smarty_tpl->tpl_vars['GROUP_MODEL']->value){
|
|
$_smarty_tpl->tpl_vars['GROUP_MODEL']->_loop = true;
|
|
$_smarty_tpl->tpl_vars['GROUP_ID']->value = $_smarty_tpl->tpl_vars['GROUP_MODEL']->key;
|
|
?><?php if ($_smarty_tpl->tpl_vars['RECORD_MODEL']->value->getId()!=$_smarty_tpl->tpl_vars['GROUP_ID']->value){?><option value="<?php echo $_smarty_tpl->tpl_vars['GROUP_ID']->value;?>
|
|
"><?php echo $_smarty_tpl->tpl_vars['GROUP_MODEL']->value->getName();?>
|
|
</option><?php }?><?php } ?></optgroup></select></div></div></div></div><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('ModalFooter.tpl','Vtiger'), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
|
</form></div></div>
|
|
<?php }} ?>
|