| 1 |
<h5 class="cell acym__title acym__title__secondary"><?php echo acym_translation('ACYM_SENDER_INFORMATION'); ?></h5> |
| 2 |
<div class="cell grid-x align-center"> |
| 3 |
<?php |
| 4 |
if (!empty($data['translation_languages'])) { |
| 5 |
echo acym_displayLanguageRadio( |
| 6 |
$data['translation_languages'], |
| 7 |
'senderInformation[translation]', |
| 8 |
$data['currentCampaign']->translation, |
| 9 |
acym_translation('ACYM_LANGUAGE_SENDER_INFORMATION_DESC'), |
| 10 |
$this->config->get('sender_info_translation', ''), |
| 11 |
'campaign' |
| 12 |
); |
| 13 |
} |
| 14 |
?> |
| 15 |
<div class="cell grid-x medium-11 grid-margin-x margin-y"> |
| 16 |
<div class="cell medium-5"> |
| 17 |
<label for="acym__campaign__sendsettings__from-name" class="cell acym__campaign__sendsettings__label-settings"> |
| 18 |
<?php |
| 19 |
echo acym_translation('ACYM_FROM_NAME'); |
| 20 |
if (empty($data['config_values']->from_name)) { |
| 21 |
$placeholder = acym_translation('ACYM_DEFAULT_VALUE'); |
| 22 |
} else { |
| 23 |
$placeholder = acym_translation('ACYM_DEFAULT').' : '.acym_escape($data['config_values']->from_name); |
| 24 |
} |
| 25 |
?> |
| 26 |
</label> |
| 27 |
<input type="text" |
| 28 |
id="acym__campaign__sendsettings__from-name" |
| 29 |
class="cell" |
| 30 |
maxlength="100" |
| 31 |
value="<?php echo acym_escape($data['senderInformations']->from_name); ?>" |
| 32 |
name="senderInformation[from_name]" |
| 33 |
placeholder="<?php echo acym_escape($placeholder); ?>"> |
| 34 |
</div> |
| 35 |
<div class="cell medium-1"></div> |
| 36 |
<div class="cell medium-5"> |
| 37 |
<label for="acym__campaign__sendsettings__from-email" class="cell acym__campaign__sendsettings__label-settings"> |
| 38 |
<?php |
| 39 |
echo acym_translation('ACYM_FROM_EMAIL'); |
| 40 |
if (empty($data['config_values']->from_email)) { |
| 41 |
$placeholder = acym_translation('ACYM_DEFAULT_VALUE'); |
| 42 |
} else { |
| 43 |
$placeholder = acym_translation('ACYM_DEFAULT').' : '.acym_escape($data['config_values']->from_email); |
| 44 |
} |
| 45 |
?> |
| 46 |
</label> |
| 47 |
<input type="email" |
| 48 |
id="acym__campaign__sendsettings__from-email" |
| 49 |
class="cell" |
| 50 |
maxlength="100" |
| 51 |
value="<?php echo acym_escape($data['senderInformations']->from_email); ?>" |
| 52 |
name="senderInformation[from_email]" |
| 53 |
placeholder="<?php echo acym_escape($placeholder); ?>"> |
| 54 |
</div> |
| 55 |
|
| 56 |
<div class="cell medium-5"> |
| 57 |
<label for="acym__campaign__sendsettings__reply-name" class="cell acym__campaign__sendsettings__label-settings"> |
| 58 |
<?php |
| 59 |
echo acym_translation('ACYM_REPLYTO_NAME'); |
| 60 |
if (empty($data['config_values']->reply_to_name)) { |
| 61 |
$placeholder = acym_translation('ACYM_DEFAULT_VALUE'); |
| 62 |
} else { |
| 63 |
$placeholder = acym_translation('ACYM_DEFAULT').' : '.acym_escape($data['config_values']->reply_to_name); |
| 64 |
} |
| 65 |
?> |
| 66 |
</label> |
| 67 |
<input type="text" |
| 68 |
id="acym__campaign__sendsettings__reply-name" |
| 69 |
class="cell" |
| 70 |
maxlength="100" |
| 71 |
value="<?php echo acym_escape($data['senderInformations']->reply_to_name); ?>" |
| 72 |
name="senderInformation[reply_to_name]" |
| 73 |
placeholder="<?php echo acym_escape($placeholder); ?>"> |
| 74 |
</div> |
| 75 |
<div class="cell medium-1"></div> |
| 76 |
<div class="cell medium-5"> |
| 77 |
<label for="acym__campaign__sendsettings__reply-email" class="cell acym__campaign__sendsettings__label-settings"> |
| 78 |
<?php |
| 79 |
echo acym_translation('ACYM_REPLYTO_EMAIL'); |
| 80 |
if (empty($data['config_values']->reply_to_email)) { |
| 81 |
$placeholder = acym_translation('ACYM_DEFAULT_VALUE'); |
| 82 |
} else { |
| 83 |
$placeholder = acym_translation('ACYM_DEFAULT').' : '.acym_escape($data['config_values']->reply_to_email); |
| 84 |
} |
| 85 |
?> |
| 86 |
</label> |
| 87 |
<input type="email" |
| 88 |
id="acym__campaign__sendsettings__reply-email" |
| 89 |
class="cell" |
| 90 |
maxlength="100" |
| 91 |
value="<?php echo acym_escape($data['senderInformations']->reply_to_email); ?>" |
| 92 |
name="senderInformation[reply_to_email]" |
| 93 |
placeholder="<?php echo acym_escape($placeholder); ?>"> |
| 94 |
</div> |
| 95 |
|
| 96 |
<div class="cell medium-5 grid-x acym__campaign__sendsettings__bcc"> |
| 97 |
<label for="acym__campaign__sendsettings__bcc--input" class="cell acym__campaign__sendsettings__label-settings"> |
| 98 |
<?php echo acym_translation('ACYM_BCC').' '.acym_info(['textShownInTooltip' => 'ACYM_BCC_DESC']); ?> |
| 99 |
</label> |
| 100 |
<input type="text" |
| 101 |
class="cell" |
| 102 |
id="acym__campaign__sendsettings__bcc--input" |
| 103 |
name="senderInformation[bcc]" |
| 104 |
placeholder="<?php echo acym_escape(acym_translation('ACYM_TEST_ADDRESS')); ?>" |
| 105 |
value="<?php echo acym_escape($data['currentCampaign']->bcc); ?>"> |
| 106 |
</div> |
| 107 |
<div class="cell medium-1"></div> |
| 108 |
<div class="cell medium-5 grid-x acym__campaign__sendsettings__bounce"> |
| 109 |
<label for="acym__campaign__sendsettings__bounce--input" class="cell acym__campaign__sendsettings__label-settings"> |
| 110 |
<?php |
| 111 |
echo acym_translation('ACYM_BOUNCE_EMAIL').' '.acym_info(['textShownInTooltip' => 'ACYM_BOUNCE_ADDRESS_DESC']); |
| 112 |
if (empty($data['config_values']->bounce_email)) { |
| 113 |
$placeholder = acym_translation('ACYM_DEFAULT_VALUE'); |
| 114 |
} else { |
| 115 |
$placeholder = acym_translation('ACYM_DEFAULT').' : '.acym_escape($data['config_values']->bounce_email); |
| 116 |
} |
| 117 |
?> |
| 118 |
</label> |
| 119 |
<input type="text" |
| 120 |
class="cell" |
| 121 |
id="acym__campaign__sendsettings__bounce--input" |
| 122 |
name="senderInformation[bounce_email]" |
| 123 |
placeholder="<?php echo acym_escape($placeholder); ?>" |
| 124 |
value="<?php echo acym_escape($data['currentCampaign']->bounce_email); ?>"> |
| 125 |
</div> |
| 126 |
</div> |
| 127 |
</div> |
| 128 |
|