{* /************************************* * SPDX-FileCopyrightText: 2009-2020 Vtenext S.r.l. * SPDX-License-Identifier: AGPL-3.0-only ************************************/ *} {* crmv@126696 *} {include file='CachedValues.tpl'} {* crmv@26316 *} {include file='modules/SDK/src/Reference/Autocomplete.tpl'} {literal} {/literal} {capture assign="SDK_CUSTOM_FUNCTIONS_CONTENT"} {if !empty($SDK_CUSTOM_FUNCTIONS)} {foreach key=SDK_CUSTOM_FUNCTIONS_BLOCK_LABEL item=SDK_CUSTOM_FUNCTIONS_BLOCK from=$SDK_CUSTOM_FUNCTIONS} {foreach key=k item=i from=$SDK_CUSTOM_FUNCTIONS_BLOCK} {/foreach} {/foreach} {/if} {/capture}
{include file="FieldHeader.tpl" mandatory=true label='SINGLE_Campaigns'|getTranslatedString}
{* TODO: select campaign *}
{include file="EditViewUI.tpl" DIVCLASS="dvtCellInfo" MODULE="Newsletter" NOLABEL=true editViewType="actionform" uitype=$CAMPAIGN_FIELD[0][0] fldlabel=$CAMPAIGN_FIELD[1][0] fldlabel_sel=$CAMPAIGN_FIELD[1][1] fldlabel_combo=$CAMPAIGN_FIELD[1][2] fldname=$CAMPAIGN_FIELD[2][0] fldvalue=$CAMPAIGN_FIELD[3][0] secondvalue=$CAMPAIGN_FIELD[3][1] thirdvalue=$CAMPAIGN_FIELD[3][2] readonly=$CAMPAIGN_FIELD[4] typeofdata=$CAMPAIGN_FIELD[5] isadmin=$CAMPAIGN_FIELD[6] keyfldid=$CAMPAIGN_FIELD[7] keymandatory=false extra_popup_params="&override_fn=(parent.ActionNewsletterScript || window.ActionNewsletterScript).setReturnCampaign" } {* ehehe... visto che astuzia qui sopra? *}
{include file="FieldHeader.tpl" mandatory=true label='From Name'|@getTranslatedString:'Newsletter'}
{'LBL_LOADING'|getTranslatedString:'com_workflow'}{include file="LoadingIndicator.tpl"}
{* crmv@106857 *} {assign var="target_mode" value="overwrite_input"} {assign var="target" value="jQuery(jQuery('#save_sendername').get())"} {assign var="dropdownid" value="task-emailfields_sendername"} {assign var="fldname" value="sendername"} {* crmv@106857e *}
{include file="FieldHeader.tpl" mandatory=true label='From Address'|@getTranslatedString:'Newsletter'}
{'LBL_LOADING'|getTranslatedString:'com_workflow'}{include file="LoadingIndicator.tpl"}
{* crmv@106857 *} {assign var="target_mode" value="append_input_comma"} {assign var="target" value="jQuery(jQuery('#save_sender').get())"} {assign var="dropdownid" value="task-emailfields"} {assign var="fldname" value="sender"} {* crmv@106857e *}
{include file="FieldHeader.tpl" mandatory=true label='Recipients'|@getTranslatedString:'Messages'}
{if $METADATA.recipients_boxes} {/if}
{'LBL_LOADING'|getTranslatedString:'com_workflow'}{include file="LoadingIndicator.tpl"}
{include file="FieldHeader.tpl" mandatory=true label='Subject'|@getTranslatedString:'Messages'}
{'LBL_LOADING'|getTranslatedString:'com_workflow'}{include file="LoadingIndicator.tpl"}
{* crmv@106857 *} {assign var="target_mode" value="append_input_space"} {assign var="target" value="jQuery(jQuery('#save_subject').get())"} {assign var="dropdownid" value="task-subjectfields"} {assign var="fldname" value="subject"} {* crmv@106857e *}
{include file="FieldHeader.tpl" mandatory=true label='LBL_EMAIL_TEMPLATE'|@getTranslatedString:'Settings'}
view_list
{'Body'|@getTranslatedString:'Messages'}
{'LBL_LOADING'|getTranslatedString:'com_workflow'}{include file="LoadingIndicator.tpl"}
{* crmv@106857 *} {assign var="target_mode" value="append_textarea"} {assign var="target" value="CKEDITOR.instances.save_content"} {assign var="dropdownid" value="task-fieldnames"} {assign var="fldname" value="content"} {* crmv@106857e *}
{* crmv@140599 *}
{* crmv@140599e *}