| 1 |
<?php |
| 2 |
namespace Hurrytimer; |
| 3 |
global $post_id; |
| 4 |
?> |
| 5 |
<div id="hurrytimer-tabcontent-general" class="hurrytimer-tabcontent active"> |
| 6 |
<table class="form-table"> |
| 7 |
<tr class="form-field"> |
| 8 |
<td><label for="hurrytimer-mode"><?php _e("Mode", "hurrytimer") ?></label></td> |
| 9 |
<td> |
| 10 |
<label class="hurryt-mr-3 hurryt-text-md"> |
| 11 |
<input type="radio" |
| 12 |
name="mode" |
| 13 |
class="hurrytimer-mode" |
| 14 |
id="hurrytModeRegular" |
| 15 |
value="<?php echo C::MODE_REGULAR ?>" |
| 16 |
<?php checked($campaign->mode, C::MODE_REGULAR) ?> |
| 17 |
> |
| 18 |
<?php _e("One-Time", "hurrytimer") ?> |
| 19 |
</label> |
| 20 |
<label class="hurryt-mr-3 hurryt-text-md"> |
| 21 |
<input type="radio" |
| 22 |
name="mode" |
| 23 |
class="hurrytimer-mode" |
| 24 |
id="hurrytModeRecurring" |
| 25 |
value="<?php echo C::MODE_RECURRING ?>" |
| 26 |
<?php checked($campaign->mode, C::MODE_RECURRING) ?> |
| 27 |
> |
| 28 |
<?php _e("Recurring", "hurrytimer") ?> |
| 29 |
</label> |
| 30 |
<label class="hurryt-mr-3 hurryt-text-md"> |
| 31 |
<input |
| 32 |
type="radio" |
| 33 |
name="mode" |
| 34 |
class="hurrytimer-mode" |
| 35 |
id="hurrytModeEvergreen" |
| 36 |
value="<?php echo C::MODE_EVERGREEN ?>" |
| 37 |
<?php checked($campaign->mode, C::MODE_EVERGREEN) ?> |
| 38 |
> |
| 39 |
<?php _e("Evergreen", "hurrytimer") ?> <span |
| 40 |
title="Set a dynamic countdown timer for each visitor." |
| 41 |
class="hurryt-icon" data-icon="help"> |
| 42 |
</span> |
| 43 |
</label> |
| 44 |
</td> |
| 45 |
</tr> |
| 46 |
|
| 47 |
|
| 48 |
</table> |
| 49 |
<?php include(HURRYT_DIR . 'admin/templates/schedule-regular.php') ?> |
| 50 |
<?php include(HURRYT_DIR . 'admin/templates/schedule-evergreen.php') ?> |
| 51 |
<?php include(HURRYT_DIR . 'admin/templates/schedule-recurring.php') ?> |
| 52 |
</div> |