mirror of
https://github.com/VTECRM/vtenext.git
synced 2026-02-26 16:18:47 +00:00
79 lines
3.5 KiB
Smarty
79 lines
3.5 KiB
Smarty
{*
|
|
/*************************************
|
|
* SPDX-FileCopyrightText: 2009-2020 Vtenext S.r.l. <info@vtenext.com>
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
************************************/
|
|
*}
|
|
|
|
{* crmv@158543 *}
|
|
|
|
<form action="index.php" method="post" name="form" onsubmit="VteJS_DialogBox.block();">
|
|
<input type="hidden" name="fld_module" value="{$MODULE}">
|
|
<input type="hidden" name="module" value="Settings">
|
|
<input type="hidden" name="parenttab" value="Settings">
|
|
<input type="hidden" name="mode">
|
|
<table class="listTableTopButtons" border="0" cellpadding="5" cellspacing="0" width="100%">
|
|
<tr>
|
|
<td class="small"> </td>
|
|
{if $MODULE eq 'Calendar'}
|
|
<td align="right" width="80%"><input type="radio" name="activitytype" value="E" checked> {$APP.Event}
|
|
<input type="radio" name="activitytype" value="T"> {$APP.Task}
|
|
</td>
|
|
{/if}
|
|
<td class="small" align="right">
|
|
{if $MODULE eq 'Leads'}
|
|
<input input title="{$MOD.CUSTOMFIELDMAPPING}" class="crmButton edit small" onclick="CustomFieldMapping();" type="button" name="ListLeadCustomFieldMapping" value="{$MOD.CUSTOMFIELDMAPPING}">
|
|
{/if}
|
|
{* <td align="right"><input type="button" value=" {$MOD.NewCustomField} " onClick="fnvshobj(this,'createcf');getCreateCustomFieldForm('{$MODULE}','','','')" class="crmButton create small"/></td> *}
|
|
<td align="right"><input type="button" value=" {$MOD.NewCustomField} " onClick="LayoutEditor.showFieldPopup(this)" class="crmButton create small"/></td>
|
|
|
|
</tr>
|
|
</table>
|
|
|
|
<table class="listTable" border="0" cellpadding="5" cellspacing="0" width="100%">
|
|
{if $MODULE eq 'Leads'}
|
|
<tr>
|
|
<td rowspan="2" class="colHeader small" width="5%">#</td>
|
|
<td rowspan="2" class="colHeader small" width="20%">{$MOD.FieldLabel}</td>
|
|
<td rowspan="2" class="colHeader small" width="20%">{$MOD.FieldType}</td>
|
|
<td colspan="3" class="colHeader small" valign="top"><div align="center">{$MOD.LBL_MAPPING_OTHER_MODULES}</div></td>
|
|
<td rowspan="2" class="colHeader small" width="20%">{$MOD.LBL_CURRENCY_TOOL}</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="colHeader small" valign="top" width="18%">{$APP.Accounts}</td>
|
|
<td class="colHeader small" valign="top" width="18%">{$APP.Contacts}</td>
|
|
<td class="colHeader small" valign="top" width="19%">{$APP.Potentials}</td>
|
|
</tr>
|
|
{else}
|
|
<tr>
|
|
<td class="colHeader small" width="5%">#</td>
|
|
<td class="colHeader small" width="20%">{$MOD.FieldLabel}</td>
|
|
<td class="colHeader small" width="20%">{$MOD.FieldType}</td>
|
|
{if $MODULE eq 'Calendar'}
|
|
<td class="colHeader small" width="20%">{$APP.LBL_ACTIVITY_TYPE}</td>
|
|
{/if}
|
|
<td class="colHeader small" width="20%">{$MOD.LBL_CURRENCY_TOOL}</td>
|
|
</tr>
|
|
{/if}
|
|
{foreach item=entries key=id from=$CFENTRIES}
|
|
<tr>
|
|
{foreach item=value from=$entries}
|
|
<td class="listTableRow small" valign="top" nowrap>{$value} </td>
|
|
{/foreach}
|
|
</tr>
|
|
{/foreach}
|
|
</table>
|
|
</form>
|
|
<br>
|
|
{if $MODULE eq 'Leads'}
|
|
<strong>{$APP.LBL_NOTE}: </strong> {$MOD.LBL_CUSTOM_MAPP_INFO}
|
|
{/if}
|
|
|
|
{include file="Settings/LayoutBlockAddFieldPopup.tpl" entries=$NEWFIELDDATA.Events}
|
|
{include file="Settings/LayoutBlockAddFieldPopup.tpl" entries=$NEWFIELDDATA.Calendar}
|
|
|
|
<script type="text/javascript">
|
|
var events_blockid = {$NEWFIELDDATA.Events.blockid};
|
|
var calendar_blockid = {$NEWFIELDDATA.Calendar.blockid};
|
|
</script> |