mirror of
https://github.com/VTECRM/vtenext.git
synced 2026-02-27 00:28:47 +00:00
26 lines
1.1 KiB
Smarty
26 lines
1.1 KiB
Smarty
{*
|
|
/*************************************
|
|
* SPDX-FileCopyrightText: 2009-2020 Vtenext S.r.l. <info@vtenext.com>
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
************************************/
|
|
*}
|
|
|
|
<span class="small">{'LBL_USE_SAVED_MAPPING'|@getTranslatedString:$MODULE}</span>
|
|
<select name="saved_maps" id="saved_maps" class="detailedViewTextBox input-inline" onchange="ImportJs.loadSavedMap();">
|
|
<option value="-1" selected>--{'LBL_SELECT'|@getTranslatedString:$MODULE}--</option> {* crmv@136181 *}
|
|
{foreach key=_MAP_ID item=_MAP from=$SAVED_MAPS}
|
|
<option value="{$_MAP_ID}">{$_MAP->getValue('name')}</option> {* crmv@136181 *}
|
|
{/foreach}
|
|
</select>
|
|
<span id="delete_map_container" style="display:none;">
|
|
<img valign="absmiddle" src="{'delete.gif'|resourcever}" style="cursor:pointer;"
|
|
onclick="ImportJs.deleteMap('{$FOR_MODULE}');" alt="{'LBL_DELETE'|@getTranslatedString:$FOR_MODULE}" />
|
|
</span>
|
|
{* crmv@136181 *}
|
|
<script>
|
|
var savedMappings = {ldelim}{rdelim};
|
|
{foreach key=_MAP_ID item=_MAP from=$SAVED_MAPS}
|
|
savedMappings[{$_MAP_ID}] = {$_MAP->getJsData()};
|
|
{/foreach}
|
|
</script>
|
|
{* crmv@136181e *} |