| 1 |
<?php defined('ABSPATH') || exit; ?> |
| 2 |
<div id="BasalamConnectProductsModal" class="basalam-modal basalam-hidden"> |
| 3 |
<div class="basalam-modal-content basalam-max-width-400"> |
| 4 |
<span class="basalam-modal-close"> |
| 5 |
<img class="basalam-img-20" src="<?php echo esc_url(syncBasalamPlugin()->assetsUrl() . '/icons/close.svg'); ?>"> |
| 6 |
</span> |
| 7 |
|
| 8 |
<h3 class="basalam-h basalam-font-24-important">اتصال اتو� |
| 9 |
اتیک � |
| 10 |
حصولات با باسلا� |
| 11 |
</h3> |
| 12 |
|
| 13 |
<p class="basalam-p basalam-padding-10-0"> |
| 14 |
اتصال � |
| 15 |
حصول تنها در صورتی انجا� |
| 16 |
� |
| 17 |
یشود که عنوان دو � |
| 18 |
حصول در باسلا� |
| 19 |
و ووکا� |
| 20 |
رس دقیقا یکسان باشند. |
| 21 |
</p> |
| 22 |
|
| 23 |
<form method="POST" action="" id="BasalamConnectProductsForm" class="<?php echo esc_html($auto_connect_product_job_exist); ?>"> |
| 24 |
<?php wp_nonce_field('connect_products_with_basalam_nonce', '_wpnonce'); ?> |
| 25 |
<button type="submit" |
| 26 |
class="basalam-primary-button basalam-p basalam-product-action-button basalam-dynamic-cursor" |
| 27 |
<?php echo esc_html($auto_connect_product_job_exist) ? 'disabled' : ''; ?>> |
| 28 |
اتصال خودکار � |
| 29 |
حصولات |
| 30 |
</button> |
| 31 |
</form> |
| 32 |
|
| 33 |
<?php if ($auto_connect_product_job_exist): ?> |
| 34 |
<form method="POST" action="<?php echo esc_url(admin_url('admin-post.php')) ?>"> |
| 35 |
<?php wp_nonce_field('cancel_connect_products_with_basalam_nonce', '_wpnonce'); ?> |
| 36 |
<input type="hidden" name="action" value="cancel_connect_products_with_basalam"> |
| 37 |
<button type="submit" class="basalam-primary-button basalam-p basalam-width-red-bg"> |
| 38 |
<img class="basalam-img-20" src="<?php echo esc_url(syncBasalamPlugin()->assetsUrl() . '/icons/trash.svg'); ?>"> |
| 39 |
� |
| 40 |
توقف کردن فرایند |
| 41 |
</button> |
| 42 |
</form> |
| 43 |
<?php endif; ?> |
| 44 |
</div> |
| 45 |
</div> |