| 1 |
<?php |
| 2 |
defined('ABSPATH') || die('Restricted Access'); |
| 3 |
?> |
| 4 |
<form id="acym_form" action="<?php echo esc_url(acym_completeLink('dashboard')); ?>" method="post" name="acyForm" data-abide novalidate> |
| 5 |
<div id="acym__walkthrough"> |
| 6 |
<div class="acym__walkthrough cell grid-x" id="acym__walkthrough__sender_information"> |
| 7 |
<div class="acym__content cell text-center grid-x acym__walkthrough__content align-center"> |
| 8 |
<?php |
| 9 |
$data['stepsType']->display( |
| 10 |
[ |
| 11 |
'currentStep' => 1, |
| 12 |
'totalSteps' => 3, |
| 13 |
] |
| 14 |
); |
| 15 |
?> |
| 16 |
|
| 17 |
<h1 class="cell acym__title text-center"><?php echo esc_html(acym_translation('ACYM_SET_SENDER_INFORMATION')); ?></h1> |
| 18 |
<div class="cell grid-x align-center"> |
| 19 |
<div class="cell xxlarge-6 large-8 margin-top-2"> |
| 20 |
<?php echo esc_html(acym_translation('ACYM_STEP_SENDER_EXPLANATION')); ?> |
| 21 |
</div> |
| 22 |
</div> |
| 23 |
|
| 24 |
<div class="cell grid-x align-center margin-top-3 margin-bottom-3"> |
| 25 |
<div class="cell xxlarge-4 xlarge-5 large-6 medium-8 grid-x margin-y text-left"> |
| 26 |
<div class="cell"> |
| 27 |
<label> |
| 28 |
<?php echo esc_html(acym_translation('ACYM_FROM_NAME')); |
| 29 |
acym_info(['textShownInTooltip' => 'ACYM_FROM_NAME_INFO']); ?> |
| 30 |
<input type="text" name="from_name" value="<?php echo esc_attr($data['siteName']); ?>" required> |
| 31 |
</label> |
| 32 |
</div> |
| 33 |
<div class="cell"> |
| 34 |
<label> |
| 35 |
<?php echo esc_html(acym_translation('ACYM_FROM_MAIL_ADDRESS')); |
| 36 |
acym_info(['textShownInTooltip' => 'ACYM_FROM_ADDRESS_INFO']); ?> |
| 37 |
<input type="email" name="from_email" value="<?php echo esc_attr($data['userEmail']); ?>" required> |
| 38 |
</label> |
| 39 |
</div> |
| 40 |
</div> |
| 41 |
</div> |
| 42 |
|
| 43 |
<div class="cell grid-x align-center"> |
| 44 |
<button id="acym__walkthrough__sender_information__submit" type="button" class="cell shrink button"> |
| 45 |
<?php echo esc_html(acym_translation('ACYM_CONTINUE')); ?> |
| 46 |
</button> |
| 47 |
</div> |
| 48 |
</div> |
| 49 |
</div> |
| 50 |
</div> |
| 51 |
<?php acym_formOptions(true, 'saveStepSenderInformation', '', 'dashboard'); ?> |
| 52 |
</form> |
| 53 |
|