| @@ -101,8 +101,12 @@ | ||
| 101 | 101 | // Check for MetForm type first (starts with 'metform_form_' or equals METFORM constant) |
| 102 | 102 | if (strpos($type, 'metform_form_') === 0 || $type === EmailLists::METFORM) { |
| 103 | 103 | echo esc_html__('Confirmation Mail To User', 'emailkit'); |
| 104 | 104 | } |
| 105 | + // Check for PopupKit type | |
| 106 | + elseif (strpos($type, 'popupkit_popup_') === 0 || $type === EmailLists::POPUPKIT) { | |
| 107 | + echo esc_html__('Popup Submission Mail', 'emailkit'); | |
| 108 | + } | |
| 105 | 109 | // Then check WooCommerce |
| 106 | 110 | elseif (isset(EmailLists::woocommerce_email()[$type])) { |
| 107 | 111 | echo esc_html(EmailLists::woocommerce_email()[$type]); |
| 108 | 112 | } |
| @@ -123,9 +127,9 @@ | ||
| 123 | 127 | |
| 124 | 128 | if (!empty($status)) { |
| 125 | 129 | ?> |
| 126 | 130 | <div class="emailkit-admin-template-switch"> |
| 127 | - <div class="emailkit-admin-template-switch-inactive">Active</div> | |
| 131 | + <div class="emailkit-admin-template-switch-inactive"><?php esc_html_e( 'Active', 'emailkit' ); ?></div> | |
| 128 | 132 | <div class="emailkit-admin-template-switch-main"> |
| 129 | 133 | <div class="switch-container"> |
| 130 | 134 | <label class="switch" for="emailkit-template-status-switch-<?php echo esc_attr($post_id) ?>"> |
| 131 | 135 | <input type="checkbox" id="emailkit-template-status-switch-<?php echo esc_attr($post_id)?>" class="change-status-btn <?php echo esc_html($temple_type)?>" data-template-id="<?php echo esc_attr($post_id)?>" <?php echo esc_attr($status === 'active') ? 'checked' : '';?> /> |