| 1 |
<?php |
| 2 |
/** |
| 3 |
* @var array $actions ; |
| 4 |
* @var array $actions_data ; |
| 5 |
* @var string $status ; |
| 6 |
*/ |
| 7 |
?> |
| 8 |
<p class="subscrpt_sub_box"> |
| 9 |
<select id="subscrpt_order_type" name="subscrpt_order_action"> |
| 10 |
<option value="" disabled selected><?php esc_html_e( 'Choose Action', 'sdevs_subscrpt' ); ?></option> |
| 11 |
<?php foreach ( $actions as $action_slug ) : ?> |
| 12 |
<?php |
| 13 |
$action = $actions_data[$action_slug]; |
| 14 |
?> |
| 15 |
<option value="<?php echo esc_html( $action['value'] ); ?>"> |
| 16 |
<?php echo esc_html( $action['label'] ); ?> |
| 17 |
</option> |
| 18 |
<?php endforeach; ?> |
| 19 |
</select> |
| 20 |
</p> |
| 21 |
<div class="submitbox"> |
| 22 |
<input type="submit" class="button save_order button-primary tips" name="save" value="Process"> |
| 23 |
</div> |
| 24 |
|