Files
CRM/test/templates_c/v7/83dc58011381d64ac1c551f3cc81f0883ca4b6a1.file.Import_Saved_Maps.tpl.php
BACHIR SOULDI 2794e62571 first commit
2025-09-28 08:49:37 +01:00

65 lines
2.9 KiB
PHP

<?php /* Smarty version Smarty-3.1.7, created on 2019-09-04 09:03:35
compiled from "C:\wamp64\www\sophalcrm\includes\runtime/../../layouts/v7\modules\Import\Import_Saved_Maps.tpl" */ ?>
<?php /*%%SmartyHeaderCode:9852120255d6f7de7053486-86282017%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'83dc58011381d64ac1c551f3cc81f0883ca4b6a1' =>
array (
0 => 'C:\\wamp64\\www\\sophalcrm\\includes\\runtime/../../layouts/v7\\modules\\Import\\Import_Saved_Maps.tpl',
1 => 1567520679,
2 => 'file',
),
),
'nocache_hash' => '9852120255d6f7de7053486-86282017',
'function' =>
array (
),
'variables' =>
array (
'MODULE' => 0,
'SAVED_MAPS' => 0,
'_MAP_ID' => 0,
'_MAP' => 0,
'FOR_MODULE' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_5d6f7de70be1a',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5d6f7de70be1a')) {function content_5d6f7de70be1a($_smarty_tpl) {?>
<div class="row" style = "margin-bottom: 10px">
<div class = "form-group">
<div class = "col-lg-2" style="margin-top:8px">
<label class ="control-label" for="saved_maps"><?php echo vtranslate('LBL_USE_SAVED_MAPS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label>
</div>
<div class="col-lg-4">
<select name="saved_maps" id="saved_maps" class="select2 form-control" onchange="Vtiger_Import_Js.loadSavedMap();">
<option id="-1" value="" selected>--<?php echo vtranslate('LBL_SELECT_SAVED_MAPPING',$_smarty_tpl->tpl_vars['MODULE']->value);?>
--</option>
<?php $_smarty_tpl->tpl_vars['_MAP'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['_MAP']->_loop = false;
$_smarty_tpl->tpl_vars['_MAP_ID'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['SAVED_MAPS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['_MAP']->key => $_smarty_tpl->tpl_vars['_MAP']->value){
$_smarty_tpl->tpl_vars['_MAP']->_loop = true;
$_smarty_tpl->tpl_vars['_MAP_ID']->value = $_smarty_tpl->tpl_vars['_MAP']->key;
?>
<option id="<?php echo $_smarty_tpl->tpl_vars['_MAP_ID']->value;?>
" value="<?php echo $_smarty_tpl->tpl_vars['_MAP']->value->getStringifiedContent();?>
"><?php echo $_smarty_tpl->tpl_vars['_MAP']->value->getValue('name');?>
</option>
<?php } ?>
</select>
</div>
<div id="delete_map_container" class ="col-lg-1" style="display:none; margin-top: 10px">
<a class="glyphicon glyphicon-trash cursorPointer" onclick="Vtiger_Import_Js.deleteMap('<?php echo $_smarty_tpl->tpl_vars['FOR_MODULE']->value;?>
');" alt="<?php echo vtranslate('LBL_DELETE',$_smarty_tpl->tpl_vars['FOR_MODULE']->value);?>
"></a>
</div>
</div>
</div>
<?php }} ?>