Countdown, Coming Soon – Countdown & Clock - Version 2.3.9.3

Version Description

Download this release

Release Info

Developer adamskaat
Plugin Icon 128x128 Countdown, Coming Soon – Countdown & Clock
Version 2.3.9.3
Comparing to
See all releases

Code changes from version 2.3.9.2 to 2.3.9.3

assets/views/admin/comingSoon/comingSoonDesign.php CHANGED
@@ -46,11 +46,11 @@ $proSpan = '';
46
  </div>
47
  <div class="row form-group">
48
  <div class="col-md-6">
49
- <label for="ycd-coming-soon-bg-image" class="ycd-label-of-switch"><?php _e('Background Image', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
50
  </div>
51
- <div class="col-md-6 ycd-circles-width-wrapper ycd-option-wrapper<?php echo $isPro; ?>">
52
  <label class="ycd-switch">
53
- <input type="checkbox" id="ycd-coming-soon-bg-image" name="ycd-coming-soon-bg-image" class="ycd-accordion-checkbox js-ycd-bg-image" <?php echo $this->getOptionValue('ycd-coming-soon-bg-image'); ?>>
54
  <span class="ycd-slider ycd-round"></span>
55
  </label>
56
  </div>
@@ -83,11 +83,11 @@ $proSpan = '';
83
  </div>
84
  <div class="row form-group">
85
  <div class="col-md-6">
86
- <label for="ycd-coming-soon-bg-video" class="ycd-label-of-switch"><?php _e('Background Video', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
87
  </div>
88
- <div class="col-md-6 ycd-circles-width-wrapper ycd-option-wrapper<?php echo $isPro; ?>">
89
  <label class="ycd-switch">
90
- <input type="checkbox" id="ycd-coming-soon-bg-video" name="ycd-coming-soon-bg-video" class="ycd-accordion-checkbox js-ycd-bg-video" <?php echo $this->getOptionValue('ycd-coming-soon-bg-video'); ?>>
91
  <span class="ycd-slider ycd-round"></span>
92
  </label>
93
  </div>
46
  </div>
47
  <div class="row form-group">
48
  <div class="col-md-6">
49
+ <label for="ycd-coming-soon-bg-image" class="ycd-label-of-switch"><?php _e('Background Image', YCD_TEXT_DOMAIN); echo esc_attr($proSpan); ?></label>
50
  </div>
51
+ <div class="col-md-6 ycd-circles-width-wrapper ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
52
  <label class="ycd-switch">
53
+ <input type="checkbox" id="ycd-coming-soon-bg-image" name="ycd-coming-soon-bg-image" class="ycd-accordion-checkbox js-ycd-bg-image" <?php echo esc_attr($this->getOptionValue('ycd-coming-soon-bg-image')); ?>>
54
  <span class="ycd-slider ycd-round"></span>
55
  </label>
56
  </div>
83
  </div>
84
  <div class="row form-group">
85
  <div class="col-md-6">
86
+ <label for="ycd-coming-soon-bg-video" class="ycd-label-of-switch"><?php _e('Background Video', YCD_TEXT_DOMAIN); echo esc_html($proSpan); ?></label>
87
  </div>
88
+ <div class="col-md-6 ycd-circles-width-wrapper ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
89
  <label class="ycd-switch">
90
+ <input type="checkbox" id="ycd-coming-soon-bg-video" name="ycd-coming-soon-bg-video" class="ycd-accordion-checkbox js-ycd-bg-video" <?php echo esc_attr($this->getOptionValue('ycd-coming-soon-bg-video')); ?>>
91
  <span class="ycd-slider ycd-round"></span>
92
  </label>
93
  </div>
assets/views/admin/comingSoon/comingSoonOptions.php CHANGED
@@ -16,11 +16,11 @@ if(YCD_PKG_VERSION == YCD_FREE_VERSION) {
16
  <!-- Start automatically enable countdown -->
17
  <div class="row form-group">
18
  <div class="col-md-6">
19
- <label for="ycd-coming-soon-automat-enable" class="ycd-label-of-switch"><?php _e('Automatically start by date', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
20
  </div>
21
- <div class="col-md-6 ycd-circles-width-wrapper ycd-option-wrapper<?php echo $isPro; ?>">
22
  <label class="ycd-switch">
23
- <input type="checkbox" id="ycd-coming-soon-automat-enable" name="ycd-coming-soon-automat-enable" class="ycd-accordion-checkbox" <?php echo $this->getOptionValue('ycd-coming-soon-automat-enable'); ?>>
24
  <span class="ycd-slider ycd-round"></span>
25
  </label>
26
  </div>
@@ -49,11 +49,11 @@ if(YCD_PKG_VERSION == YCD_FREE_VERSION) {
49
  <!-- Start automatically expiration countdown -->
50
  <div class="row form-group">
51
  <div class="col-md-6">
52
- <label for="ycd-coming-soon-automat-expiration" class="ycd-label-of-switch"><?php _e('Automatically Expire by date', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
53
  </div>
54
- <div class="col-md-6 ycd-circles-width-wrapper ycd-option-wrapper<?php echo $isPro; ?>">
55
  <label class="ycd-switch">
56
- <input type="checkbox" id="ycd-coming-soon-automat-expiration" name="ycd-coming-soon-automat-expiration" class="ycd-accordion-checkbox" <?php echo $this->getOptionValue('ycd-coming-soon-automat-expiration'); ?>>
57
  <span class="ycd-slider ycd-round"></span>
58
  </label>
59
  </div>
@@ -83,11 +83,11 @@ if(YCD_PKG_VERSION == YCD_FREE_VERSION) {
83
  <!-- start User role options -->
84
  <div class="row form-group">
85
  <div class="col-md-6">
86
- <label for="ycd-coming-soon-for-loggdin" class="ycd-label-of-switch"><?php _e('Show on selected user roles', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
87
  </div>
88
- <div class="col-md-6 ycd-circles-width-wrapper ycd-option-wrapper<?php echo $isPro; ?>">
89
  <label class="ycd-switch">
90
- <input type="checkbox" id="ycd-coming-soon-for-loggdin" name="ycd-coming-soon-for-loggdin" class="ycd-accordion-checkbox" <?php echo $this->getOptionValue('ycd-coming-soon-for-loggdin'); ?>>
91
  <span class="ycd-slider ycd-round"></span>
92
  </label>
93
  </div>
@@ -104,11 +104,11 @@ if(YCD_PKG_VERSION == YCD_FREE_VERSION) {
104
  <!-- start white list option -->
105
  <div class="row form-group">
106
  <div class="col-md-6">
107
- <label for="ycd-coming-soon-whitelist-ip" class="ycd-label-of-switch"><?php _e('White list IP address', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
108
  </div>
109
- <div class="col-md-6 ycd-circles-width-wrapper ycd-option-wrapper<?php echo $isPro; ?>">
110
  <label class="ycd-switch">
111
- <input type="checkbox" id="ycd-coming-soon-whitelist-ip" name="ycd-coming-soon-whitelist-ip" class="ycd-accordion-checkbox" <?php echo $this->getOptionValue('ycd-coming-soon-whitelist-ip'); ?>>
112
  <span class="ycd-slider ycd-round"></span>
113
  </label>
114
  </div>
16
  <!-- Start automatically enable countdown -->
17
  <div class="row form-group">
18
  <div class="col-md-6">
19
+ <label for="ycd-coming-soon-automat-enable" class="ycd-label-of-switch"><?php _e('Automatically start by date', YCD_TEXT_DOMAIN); ?></label>
20
  </div>
21
+ <div class="col-md-6 ycd-circles-width-wrapper ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
22
  <label class="ycd-switch">
23
+ <input type="checkbox" id="ycd-coming-soon-automat-enable" name="ycd-coming-soon-automat-enable" class="ycd-accordion-checkbox" <?php echo esc_attr($this->getOptionValue('ycd-coming-soon-automat-enable')); ?>>
24
  <span class="ycd-slider ycd-round"></span>
25
  </label>
26
  </div>
49
  <!-- Start automatically expiration countdown -->
50
  <div class="row form-group">
51
  <div class="col-md-6">
52
+ <label for="ycd-coming-soon-automat-expiration" class="ycd-label-of-switch"><?php _e('Automatically Expire by date', YCD_TEXT_DOMAIN); ?></label>
53
  </div>
54
+ <div class="col-md-6 ycd-circles-width-wrapper ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
55
  <label class="ycd-switch">
56
+ <input type="checkbox" id="ycd-coming-soon-automat-expiration" name="ycd-coming-soon-automat-expiration" class="ycd-accordion-checkbox" <?php echo esc_attr($this->getOptionValue('ycd-coming-soon-automat-expiration')); ?>>
57
  <span class="ycd-slider ycd-round"></span>
58
  </label>
59
  </div>
83
  <!-- start User role options -->
84
  <div class="row form-group">
85
  <div class="col-md-6">
86
+ <label for="ycd-coming-soon-for-loggdin" class="ycd-label-of-switch"><?php _e('Show on selected user roles', YCD_TEXT_DOMAIN); ?></label>
87
  </div>
88
+ <div class="col-md-6 ycd-circles-width-wrapper ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
89
  <label class="ycd-switch">
90
+ <input type="checkbox" id="ycd-coming-soon-for-loggdin" name="ycd-coming-soon-for-loggdin" class="ycd-accordion-checkbox" <?php echo esc_attr($this->getOptionValue('ycd-coming-soon-for-loggdin')); ?>>
91
  <span class="ycd-slider ycd-round"></span>
92
  </label>
93
  </div>
104
  <!-- start white list option -->
105
  <div class="row form-group">
106
  <div class="col-md-6">
107
+ <label for="ycd-coming-soon-whitelist-ip" class="ycd-label-of-switch"><?php _e('White list IP address', YCD_TEXT_DOMAIN); ?></label>
108
  </div>
109
+ <div class="col-md-6 ycd-circles-width-wrapper ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
110
  <label class="ycd-switch">
111
+ <input type="checkbox" id="ycd-coming-soon-whitelist-ip" name="ycd-coming-soon-whitelist-ip" class="ycd-accordion-checkbox" <?php echo esc_attr($this->getOptionValue('ycd-coming-soon-whitelist-ip')); ?>>
112
  <span class="ycd-slider ycd-round"></span>
113
  </label>
114
  </div>
assets/views/admin/comingSoon/comingSoonSettings.php CHANGED
@@ -20,7 +20,7 @@ if(YCD_PKG_VERSION == YCD_FREE_VERSION) {
20
  </div>
21
  <div class="col-md-6">
22
  <label class="ycd-switch">
23
- <input type="checkbox" id="ycd-enable-coming-soon" name="ycd-enable-coming-soon" class="" <?php echo $this->getOptionValue('ycd-enable-coming-soon'); ?>>
24
  <span class="ycd-slider ycd-round"></span>
25
  </label>
26
  </div>
@@ -35,7 +35,6 @@ if(YCD_PKG_VERSION == YCD_FREE_VERSION) {
35
  <div class="ycd-sub-options-wrapper">
36
  <?php
37
  $multipleChoiceButton = new MultipleChoiceButton($defaultData['comingSoonModes'], esc_attr($this->getOptionValue('ycd-coming-soon-mode')));
38
- echo $multipleChoiceButton;
39
  ?>
40
  </div>
41
  <div class="row form-group">
@@ -67,11 +66,11 @@ if(YCD_PKG_VERSION == YCD_FREE_VERSION) {
67
  </div>
68
  <div class="row form-group">
69
  <div class="col-md-6">
70
- <label for="ycd-coming-soon-bg-image" class="ycd-label-of-switch"><?php _e('Add Countdown', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
71
  </div>
72
- <div class="col-md-6 ycd-circles-width-wrapper ycd-option-wrapper<?php echo $isPro; ?>">
73
  <label class="ycd-switch">
74
- <input type="checkbox" id="ycd-coming-soon-add-countdown" name="ycd-coming-soon-add-countdown" class="ycd-accordion-checkbox" <?php echo $this->getOptionValue('ycd-coming-soon-add-countdown'); ?>>
75
  <span class="ycd-slider ycd-round"></span>
76
  </label>
77
  </div>
20
  </div>
21
  <div class="col-md-6">
22
  <label class="ycd-switch">
23
+ <input type="checkbox" id="ycd-enable-coming-soon" name="ycd-enable-coming-soon" class="" <?php echo esc_attr($this->getOptionValue('ycd-enable-coming-soon')); ?>>
24
  <span class="ycd-slider ycd-round"></span>
25
  </label>
26
  </div>
35
  <div class="ycd-sub-options-wrapper">
36
  <?php
37
  $multipleChoiceButton = new MultipleChoiceButton($defaultData['comingSoonModes'], esc_attr($this->getOptionValue('ycd-coming-soon-mode')));
 
38
  ?>
39
  </div>
40
  <div class="row form-group">
66
  </div>
67
  <div class="row form-group">
68
  <div class="col-md-6">
69
+ <label for="ycd-coming-soon-bg-image" class="ycd-label-of-switch"><?php _e('Add Countdown', YCD_TEXT_DOMAIN); ?></label>
70
  </div>
71
+ <div class="col-md-6 ycd-circles-width-wrapper ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
72
  <label class="ycd-switch">
73
+ <input type="checkbox" id="ycd-coming-soon-add-countdown" name="ycd-coming-soon-add-countdown" class="ycd-accordion-checkbox" <?php echo esc_attr($this->getOptionValue('ycd-coming-soon-add-countdown')); ?>>
74
  <span class="ycd-slider ycd-round"></span>
75
  </label>
76
  </div>
assets/views/admin/shortcodeMetabox.php CHANGED
@@ -11,7 +11,7 @@
11
  <p>Please do save the Countdown, to getting the shortcode.</p>
12
  <?php else: ?>
13
  <div class="ycd-tooltip">
14
- <span class="ycd-tooltiptext" id="ycd-tooltip-<?php echo $postId; ?>">Copy to clipboard</span><input type="text" data-id="<?php echo $postId; ?>" onfocus="this.select();" readonly="" id="ycd-shortcode-input-<?php echo $postId; ?>" value="[ycd_countdown id=<?php echo $postId; ?>]" class="large-text code countdown-shortcode"></div>
15
  <?php endif; ?>
16
  <br>
17
  <label>
11
  <p>Please do save the Countdown, to getting the shortcode.</p>
12
  <?php else: ?>
13
  <div class="ycd-tooltip">
14
+ <span class="ycd-tooltiptext" id="ycd-tooltip-<?php echo esc_attr($postId); ?>">Copy to clipboard</span><input type="text" data-id="<?php echo esc_attr($postId); ?>" onfocus="this.select();" readonly="" id="ycd-shortcode-input-<?php echo esc_attr($postId); ?>" value="[ycd_countdown id=<?php echo esc_attr($postId); ?>]" class="large-text code countdown-shortcode"></div>
15
  <?php endif; ?>
16
  <br>
17
  <label>
assets/views/admin/tutorials.php CHANGED
@@ -12,8 +12,8 @@ foreach ($YCD_TYPES['youtubeUrls'] as $videoKey => $url) {
12
  $embedUrl = AdminHelper::getYoutubeEmbedUrl($url);
13
  ?>
14
  <div class="current-video-section">
15
- <h3 style=" margin: 40px 0px 20px;"><?php echo $title; ?></h3>
16
- <iframe class="current-iframe" src="<?php echo $embedUrl;?>" style="width: 80%; height: 300px;"></iframe>
17
  </div>
18
  <?php
19
  }
12
  $embedUrl = AdminHelper::getYoutubeEmbedUrl($url);
13
  ?>
14
  <div class="current-video-section">
15
+ <h3 style=" margin: 40px 0px 20px;"><?php echo esc_attr($title); ?></h3>
16
+ <iframe class="current-iframe" src="<?php echo esc_attr($embedUrl);?>" style="width: 80%; height: 300px;"></iframe>
17
  </div>
18
  <?php
19
  }
assets/views/advancedOptions.php CHANGED
@@ -32,7 +32,7 @@ $defaultData = AdminHelper::defaultData();
32
  </div>
33
  <div class="col-md-6">
34
  <label class="ycd-switch">
35
- <input type="checkbox" id="ycd-countdown-selected-countries" name="ycd-countdown-selected-countries" class="ycd-accordion-checkbox" <?php echo $this->getOptionValue('ycd-countdown-selected-countries'); ?>>
36
  <span class="ycd-slider ycd-round"></span>
37
  </label>
38
  </div>
32
  </div>
33
  <div class="col-md-6">
34
  <label class="ycd-switch">
35
+ <input type="checkbox" id="ycd-countdown-selected-countries" name="ycd-countdown-selected-countries" class="ycd-accordion-checkbox" <?php echo esc_attr($this->getOptionValue('ycd-countdown-selected-countries')); ?>>
36
  <span class="ycd-slider ycd-round"></span>
37
  </label>
38
  </div>
assets/views/afterExpire.php CHANGED
@@ -15,7 +15,6 @@ $defaultData = AdminHelper::defaultData();
15
  <div class="ycd-multichoice-wrapper">
16
  <?php
17
  $multipleChoiceButton = new MultipleChoiceButton($defaultData['countdownExpireTime'], esc_attr($this->getOptionValue('ycd-countdown-expire-behavior')));
18
- echo $multipleChoiceButton;
19
  ?>
20
  </div>
21
  <div id="ycd-countdown-show-text" class="ycd-countdown-show-text ycd-hide">
15
  <div class="ycd-multichoice-wrapper">
16
  <?php
17
  $multipleChoiceButton = new MultipleChoiceButton($defaultData['countdownExpireTime'], esc_attr($this->getOptionValue('ycd-countdown-expire-behavior')));
 
18
  ?>
19
  </div>
20
  <div id="ycd-countdown-show-text" class="ycd-countdown-show-text ycd-hide">
assets/views/countdownButton.php CHANGED
@@ -10,7 +10,7 @@ $defaults = AdminHelper::defaultData();
10
  </div>
11
  <div class="col-md-7">
12
  <label class="ycd-switch">
13
- <input type="checkbox" id="ycd-countdown-enable-button" data-id="0" name="ycd-countdown-enable-button" class="" <?php echo $typeObj->getOptionValue('ycd-countdown-enable-button'); ?>>
14
  <span class="ycd-slider ycd-round"></span>
15
  </label>
16
  </div>
@@ -21,7 +21,7 @@ $defaults = AdminHelper::defaultData();
21
  </div>
22
  <div class="col-md-7">
23
  <label class="ycd-switch">
24
- <input type="checkbox" id="ycd-countdown-show-after-expire" data-id="0" name="ycd-countdown-show-after-expire" class="" <?php echo $typeObj->getOptionValue('ycd-countdown-show-after-expire'); ?>>
25
  <span class="ycd-slider ycd-round"></span>
26
  </label>
27
  </div>
@@ -72,19 +72,19 @@ $defaults = AdminHelper::defaultData();
72
  </div>
73
  <div class="col-xs-2">
74
  <label for="ycd-button-margin-top" class="ycd-label">Top</label>
75
- <input type="text" id="ycd-button-margin-top" data-direction="top" name="ycd-button-margin-top" class="form-control button-padding" value="<?php echo $typeObj->getOptionValue('ycd-button-margin-top')?>">
76
  </div>
77
  <div class="col-xs-2">
78
  <label for="ycd-button-margin-right" class="ycd-label">Right</label>
79
- <input type="text" id="ycd-button-margin-right" data-direction="right" name="ycd-button-margin-right" class="form-control button-padding" value="<?php echo $typeObj->getOptionValue('ycd-button-margin-right')?>">
80
  </div>
81
  <div class="col-xs-2">
82
  <label for="ycd-button-margin-bottom" class="ycd-label">Bottom</label>
83
- <input type="text" id="ycd-button-margin-bottom" data-direction="bottom" name="ycd-button-margin-bottom" class="form-control button-padding" value="<?php echo $typeObj->getOptionValue('ycd-button-margin-bottom')?>">
84
  </div>
85
  <div class="col-xs-2">
86
  <label for="ycd-button-margin-left" class="ycd-label">Left</label>
87
- <input type="text" id="ycd-button-margin-left" data-direction="left" name="ycd-button-margin-left" class="form-control button-padding" value="<?php echo $typeObj->getOptionValue('ycd-button-margin-left')?>">
88
  </div>
89
  </div>
90
  <div class="row form-group">
@@ -147,7 +147,7 @@ $defaults = AdminHelper::defaultData();
147
  </div>
148
  <div class="col-md-7">
149
  <label class="ycd-switch">
150
- <input type="checkbox" id="ycd-button-hover-animation" name="ycd-button-hover-animation" class="ycd-accordion-checkbox" <?php echo $typeObj->getOptionValue('ycd-button-hover-animation'); ?>>
151
  <span class="ycd-slider ycd-round"></span>
152
  </label>
153
  </div>
@@ -183,7 +183,7 @@ $defaults = AdminHelper::defaultData();
183
  </div>
184
  <div class="col-md-7">
185
  <label class="ycd-switch">
186
- <input type="checkbox" id="ycd-button-hover-colors" name="ycd-button-hover-colors" class="ycd-accordion-checkbox" <?php echo $typeObj->getOptionValue('ycd-button-hover-colors'); ?>>
187
  <span class="ycd-slider ycd-round"></span>
188
  </label>
189
  </div>
@@ -224,7 +224,7 @@ $defaults = AdminHelper::defaultData();
224
  </div>
225
  <div class="col-md-7">
226
  <label class="ycd-switch">
227
- <input type="checkbox" id="ycd-button-after-countdown" name="ycd-button-after-countdown" <?php echo $typeObj->getOptionValue('ycd-button-after-countdown'); ?>>
228
  <span class="ycd-slider ycd-round"></span>
229
  </label>
230
  </div>
@@ -240,7 +240,6 @@ $defaults = AdminHelper::defaultData();
240
  <div class="ycd-multichoice-wrapper">
241
  <?php
242
  $multipleChoiceButton = new MultipleChoiceButton($defaults['countdown-behavior'], esc_attr('redirect'));
243
- echo $multipleChoiceButton;
244
  ?>
245
  </div>
246
  <div id="ycd-countdown-button-redirect" class="ycd-sub-option ycd-hide">
@@ -258,7 +257,7 @@ $defaults = AdminHelper::defaultData();
258
  </div>
259
  <div class="col-md-6">
260
  <label class="ycd-switch">
261
- <input type="checkbox" id="ycd-button-action-url-tab" name="ycd-button-action-url-tab" class="ycd-accordion-checkbox" <?php echo $typeObj->getOptionValue('ycd-button-action-url-tab'); ?>>
262
  <span class="ycd-slider ycd-round"></span>
263
  </label>
264
  </div>
@@ -318,7 +317,7 @@ $defaults = AdminHelper::defaultData();
318
  </div>
319
  <div class="col-md-7">
320
  <label class="ycd-switch">
321
- <input type="checkbox" id="ycd-button-copy-alert" name="ycd-button-copy-alert" class="ycd-accordion-checkbox" <?php echo $typeObj->getOptionValue('ycd-button-copy-alert'); ?>>
322
  <span class="ycd-slider ycd-round"></span>
323
  </label>
324
  </div>
10
  </div>
11
  <div class="col-md-7">
12
  <label class="ycd-switch">
13
+ <input type="checkbox" id="ycd-countdown-enable-button" data-id="0" name="ycd-countdown-enable-button" class="" <?php echo esc_attr($typeObj->getOptionValue('ycd-countdown-enable-button')); ?>>
14
  <span class="ycd-slider ycd-round"></span>
15
  </label>
16
  </div>
21
  </div>
22
  <div class="col-md-7">
23
  <label class="ycd-switch">
24
+ <input type="checkbox" id="ycd-countdown-show-after-expire" data-id="0" name="ycd-countdown-show-after-expire" class="" <?php echo esc_attr($typeObj->getOptionValue('ycd-countdown-show-after-expire')); ?>>
25
  <span class="ycd-slider ycd-round"></span>
26
  </label>
27
  </div>
72
  </div>
73
  <div class="col-xs-2">
74
  <label for="ycd-button-margin-top" class="ycd-label">Top</label>
75
+ <input type="text" id="ycd-button-margin-top" data-direction="top" name="ycd-button-margin-top" class="form-control button-padding" value="<?php echo esc_attr($typeObj->getOptionValue('ycd-button-margin-top')); ?>">
76
  </div>
77
  <div class="col-xs-2">
78
  <label for="ycd-button-margin-right" class="ycd-label">Right</label>
79
+ <input type="text" id="ycd-button-margin-right" data-direction="right" name="ycd-button-margin-right" class="form-control button-padding" value="<?php echo esc_attr($typeObj->getOptionValue('ycd-button-margin-right')); ?>">
80
  </div>
81
  <div class="col-xs-2">
82
  <label for="ycd-button-margin-bottom" class="ycd-label">Bottom</label>
83
+ <input type="text" id="ycd-button-margin-bottom" data-direction="bottom" name="ycd-button-margin-bottom" class="form-control button-padding" value="<?php echo esc_attr($typeObj->getOptionValue('ycd-button-margin-bottom')); ?>">
84
  </div>
85
  <div class="col-xs-2">
86
  <label for="ycd-button-margin-left" class="ycd-label">Left</label>
87
+ <input type="text" id="ycd-button-margin-left" data-direction="left" name="ycd-button-margin-left" class="form-control button-padding" value="<?php echo esc_attr($typeObj->getOptionValue('ycd-button-margin-left')); ?>">
88
  </div>
89
  </div>
90
  <div class="row form-group">
147
  </div>
148
  <div class="col-md-7">
149
  <label class="ycd-switch">
150
+ <input type="checkbox" id="ycd-button-hover-animation" name="ycd-button-hover-animation" class="ycd-accordion-checkbox" <?php echo esc_attr($typeObj->getOptionValue('ycd-button-hover-animation')); ?>>
151
  <span class="ycd-slider ycd-round"></span>
152
  </label>
153
  </div>
183
  </div>
184
  <div class="col-md-7">
185
  <label class="ycd-switch">
186
+ <input type="checkbox" id="ycd-button-hover-colors" name="ycd-button-hover-colors" class="ycd-accordion-checkbox" <?php echo esc_attr($typeObj->getOptionValue('ycd-button-hover-colors')); ?>>
187
  <span class="ycd-slider ycd-round"></span>
188
  </label>
189
  </div>
224
  </div>
225
  <div class="col-md-7">
226
  <label class="ycd-switch">
227
+ <input type="checkbox" id="ycd-button-after-countdown" name="ycd-button-after-countdown" <?php echo esc_attr($typeObj->getOptionValue('ycd-button-after-countdown')); ?>>
228
  <span class="ycd-slider ycd-round"></span>
229
  </label>
230
  </div>
240
  <div class="ycd-multichoice-wrapper">
241
  <?php
242
  $multipleChoiceButton = new MultipleChoiceButton($defaults['countdown-behavior'], esc_attr('redirect'));
 
243
  ?>
244
  </div>
245
  <div id="ycd-countdown-button-redirect" class="ycd-sub-option ycd-hide">
257
  </div>
258
  <div class="col-md-6">
259
  <label class="ycd-switch">
260
+ <input type="checkbox" id="ycd-button-action-url-tab" name="ycd-button-action-url-tab" class="ycd-accordion-checkbox" <?php echo esc_attr($typeObj->getOptionValue('ycd-button-action-url-tab')); ?>>
261
  <span class="ycd-slider ycd-round"></span>
262
  </label>
263
  </div>
317
  </div>
318
  <div class="col-md-7">
319
  <label class="ycd-switch">
320
+ <input type="checkbox" id="ycd-button-copy-alert" name="ycd-button-copy-alert" class="ycd-accordion-checkbox" <?php echo esc_attr($typeObj->getOptionValue('ycd-button-copy-alert')); ?>>
321
  <span class="ycd-slider ycd-round"></span>
322
  </label>
323
  </div>
assets/views/cricleMainView.php CHANGED
@@ -101,9 +101,9 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
101
  </div>
102
  <div class="row form-group">
103
  <div class="col-md-5">
104
- <label for="ycd-countdown-text-size" class="ycd-label-of-select"><?php _e('Font Family', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
105
  </div>
106
- <div class="col-md-7 ycd-option-wrapper<?php echo $isPro; ?>">
107
  <?php echo AdminHelper::selectBox($defaultData['font-family'], esc_attr($textFontFamily), array('name' => 'ycd-text-font-family', 'class' => 'js-ycd-select js-countdown-font-family ycd-custom-value-accordion', 'data-custom' => 'customFont')); ?>
108
  </div>
109
  </div>
@@ -158,9 +158,9 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
158
  </div>
159
  <div class="row form-group">
160
  <div class="col-md-5">
161
- <label for="ycd-countdown-number-font" class="ycd-label-of-select"><?php _e('Font Family', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
162
  </div>
163
- <div class="col-md-7 ycd-option-wrapper<?php echo $isPro; ?>">
164
  <?php echo AdminHelper::selectBox($defaultData['font-family'], esc_attr($this->getOptionValue('ycd-countdown-number-font')), array('name' => 'ycd-countdown-number-font', 'class' => 'js-ycd-select js-countdown-number-font ycd-custom-value-accordion', 'data-custom' => 'customFont')); ?>
165
  </div>
166
  </div>
@@ -196,7 +196,7 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
196
  </div>
197
  <div class="col-md-7">
198
  <label class="ycd-switch">
199
- <input type="checkbox" id="ycd-countdown-years" data-time-type="Years" name="ycd-countdown-years" class="ycd-accordion-checkbox js-ycd-time-status" <?php echo $countdownYears; ?>>
200
  <span class="ycd-slider ycd-round"></span>
201
  </label>
202
  </div>
@@ -212,9 +212,9 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
212
  </div>
213
  <div class="row form-group">
214
  <div class="col-md-5">
215
- <label for="ycd-countdown-years-color" class=""><?php _e('circle background color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
216
  </div>
217
- <div class="col-md-7 ycd-option-wrapper<?php echo $isPro; ?>">
218
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
219
  <input type="text" id="ycd-countdown-years-color" data-time-type="Years" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-countdown-years-color" class=" minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($countdownYearsColor); ?>">
220
  </div>
@@ -222,9 +222,9 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
222
  </div>
223
  <div class="row form-group">
224
  <div class="col-md-5">
225
- <label for="ycd-countdown-years-color" class=""><?php _e('text color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
226
  </div>
227
- <div class="col-md-7 ycd-option-wrapper<?php echo $isPro; ?>">
228
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
229
  <input type="text" id="ycd-countdown-years-text-color" data-time-type="Years" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-countdown-years-text-color" class=" minicolors-input form-control js-ycd-time-text-color" value="<?php echo esc_attr($countdownYearsTextColor); ?>">
230
  </div>
@@ -241,7 +241,7 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
241
  </div>
242
  <div class="col-md-7">
243
  <label class="ycd-switch">
244
- <input type="checkbox" id="ycd-countdown-months" data-time-type="Months" name="ycd-countdown-months" class="ycd-accordion-checkbox js-ycd-time-status" <?php echo $countdownMonths; ?>>
245
  <span class="ycd-slider ycd-round"></span>
246
  </label>
247
  </div>
@@ -257,9 +257,9 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
257
  </div>
258
  <div class="row form-group">
259
  <div class="col-md-5">
260
- <label for="ycd-countdown-months-color" class=""><?php _e('circle background color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
261
  </div>
262
- <div class="col-md-7 ycd-option-wrapper<?php echo $isPro; ?>">
263
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
264
  <input type="text" id="ycd-countdown-months-color" data-time-type="Months" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-countdown-months-color" class=" minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($countdownMonthsColor); ?>">
265
  </div>
@@ -267,9 +267,9 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
267
  </div>
268
  <div class="row form-group">
269
  <div class="col-md-5">
270
- <label for="ycd-countdown-months-color" class=""><?php _e('text color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
271
  </div>
272
- <div class="col-md-7 ycd-option-wrapper<?php echo $isPro; ?>">
273
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
274
  <input type="text" id="ycd-countdown-months-text-color" data-time-type="Months" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-countdown-months-text-color" class=" minicolors-input form-control js-ycd-time-text-color" value="<?php echo esc_attr($countdownMonthsTextColor); ?>">
275
  </div>
@@ -287,7 +287,7 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
287
  </div>
288
  <div class="col-md-7">
289
  <label class="ycd-switch">
290
- <input type="checkbox" id="ycd-countdown-days" data-time-type="Days" name="ycd-countdown-days" class="ycd-accordion-checkbox js-ycd-time-status" <?php echo $countdownDays; ?>>
291
  <span class="ycd-slider ycd-round"></span>
292
  </label>
293
  </div>
@@ -303,9 +303,9 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
303
  </div>
304
  <div class="row form-group">
305
  <div class="col-md-5">
306
- <label for="ycd-countdown-days-color" class=""><?php _e('circle background color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
307
  </div>
308
- <div class="col-md-7 ycd-option-wrapper<?php echo $isPro; ?>">
309
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
310
  <input type="text" id="ycd-countdown-days-color" data-format="rgb" data-time-type="Days" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-countdown-days-color" class=" minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($countdownDaysColor); ?>">
311
  </div>
@@ -313,9 +313,9 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
313
  </div>
314
  <div class="row form-group">
315
  <div class="col-md-5">
316
- <label for="ycd-countdown-days-color" class=""><?php _e('text color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
317
  </div>
318
- <div class="col-md-7 ycd-option-wrapper<?php echo $isPro; ?>">
319
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
320
  <input type="text" id="ycd-countdown-days-text-color" data-time-type="Days" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-countdown-days-text-color" class=" minicolors-input form-control js-ycd-time-text-color" value="<?php echo esc_attr($countdownDaysTextColor); ?>">
321
  </div>
@@ -333,7 +333,7 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
333
  </div>
334
  <div class="col-md-7">
335
  <label class="ycd-switch">
336
- <input type="checkbox" data-time-type="Hours" id="ycd-countdown-hours" name="ycd-countdown-hours" class="ycd-accordion-checkbox js-ycd-time-status" <?php echo $countdownHours; ?>>
337
  <span class="ycd-slider ycd-round"></span>
338
  </label>
339
  </div>
@@ -349,9 +349,9 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
349
  </div>
350
  <div class="row form-group">
351
  <div class="col-md-5">
352
- <label for="ycd-countdown-hours-color" class=""><?php _e('circle background color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
353
  </div>
354
- <div class="col-md-7 ycd-option-wrapper<?php echo $isPro; ?>">
355
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
356
  <input type="text" id="ycd-countdown-hours-color" data-time-type="Hours" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-countdown-hours-color" class=" minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($countdownHoursColor); ?>">
357
  </div>
@@ -359,9 +359,9 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
359
  </div>
360
  <div class="row form-group">
361
  <div class="col-md-5">
362
- <label for="ycd-countdown-hours-color" class=""><?php _e('text color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
363
  </div>
364
- <div class="col-md-7 ycd-option-wrapper<?php echo $isPro; ?>">
365
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
366
  <input type="text" id="ycd-countdown-hours-text-color" data-time-type="Hours" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-countdown-hours-text-color" class=" minicolors-input form-control js-ycd-time-text-color" value="<?php echo esc_attr($countdownHoursTextColor); ?>">
367
  </div>
@@ -379,7 +379,7 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
379
  </div>
380
  <div class="col-md-7">
381
  <label class="ycd-switch">
382
- <input type="checkbox" data-time-type="Minutes" id="ycd-countdown-minutes" name="ycd-countdown-minutes" class="ycd-accordion-checkbox js-ycd-time-status" <?php echo $countdownMinutes; ?>>
383
  <span class="ycd-slider ycd-round"></span>
384
  </label>
385
  </div>
@@ -395,9 +395,9 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
395
  </div>
396
  <div class="row form-group">
397
  <div class="col-md-5">
398
- <label for="ycd-countdown-minutes-color" class=""><?php _e('circle background color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
399
  </div>
400
- <div class="col-md-7 ycd-option-wrapper<?php echo $isPro; ?>">
401
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
402
  <input type="text" id="ycd-countdown-minutes-color" data-time-type="Minutes" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-countdown-minutes-color" class=" minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($countdownMinutesColor); ?>">
403
  </div>
@@ -405,9 +405,9 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
405
  </div>
406
  <div class="row form-group">
407
  <div class="col-md-5">
408
- <label for="ycd-countdown-minutes-color" class=""><?php _e('text color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
409
  </div>
410
- <div class="col-md-7 ycd-option-wrapper<?php echo $isPro; ?>">
411
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
412
  <input type="text" id="ycd-countdown-minutes-text-color" data-time-type="Minutes" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-countdown-minutes-text-color" class=" minicolors-input form-control js-ycd-time-text-color" value="<?php echo esc_attr($countdownMinutesTextColor); ?>">
413
  </div>
@@ -425,7 +425,7 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
425
  </div>
426
  <div class="col-md-7">
427
  <label class="ycd-switch">
428
- <input type="checkbox" data-time-type="Seconds" id="ycd-countdown-seconds" name="ycd-countdown-seconds" class="ycd-accordion-checkbox js-ycd-time-status" <?php echo $countdownSeconds; ?>>
429
  <span class="ycd-slider ycd-round"></span>
430
  </label>
431
  </div>
@@ -441,9 +441,9 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
441
  </div>
442
  <div class="row form-group">
443
  <div class="col-md-5">
444
- <label for="ycd-countdown-seconds-color" class=""><?php _e('circle background color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
445
  </div>
446
- <div class="col-md-7 ycd-option-wrapper<?php echo $isPro; ?>">
447
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
448
  <input type="text" id="ycd-countdown-seconds-color" data-time-type="Seconds" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-countdown-seconds-color" class=" minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($countdownSecondsColor); ?>">
449
  </div>
@@ -451,9 +451,9 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
451
  </div>
452
  <div class="row form-group">
453
  <div class="col-md-5">
454
- <label for="ycd-countdown-seconds-color" class="ycd-label-of-color"><?php _e('text color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
455
  </div>
456
- <div class="col-md-7 ycd-option-wrapper<?php echo $isPro; ?>">
457
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
458
  <input type="text" id="ycd-countdown-seconds-text-color" data-time-type="Seconds" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-countdown-seconds-text-color" class="minicolors-input form-control js-ycd-time-text-color" value="<?php echo esc_attr($countdownSecondsTextColor); ?>">
459
  </div>
@@ -487,7 +487,7 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
487
  <label for="ycd-countdown-width" class="ycd-label-of-input"><?php _e('Countdown Width', YCD_TEXT_DOMAIN); ?></label>
488
  </div>
489
  <div class="col-md-4">
490
- <input type="text" class="form-control js-ycd-dimension js-ycd-dimension-number" id="ycd-countdown-width" name="ycd-countdown-width" value="<?php echo $countdownWidth; ?>" style="margin-right: 5px">
491
  </div>
492
  <div class="col-md-3">
493
  <?php echo AdminHelper::selectBox($defaultData['ycd-dimension-measure'], esc_attr($dimensionMeasure), array('name' => 'ycd-dimension-measure', 'class' => 'js-ycd-select js-ycd-dimension js-ycd-dimension-measure')); ?>
@@ -499,7 +499,7 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
499
  </div>
500
  <div class="col-md-7">
501
  <label class="ycd-switch">
502
- <input type="checkbox" id="ycd-countdown-background-circle" name="ycd-countdown-background-circle" class="ycd-accordion-checkbox js-ycd-background-circle" <?php echo $countdownBackgroundCircle; ?>>
503
  <span class="ycd-slider ycd-round"></span>
504
  </label>
505
  </div>
@@ -515,9 +515,9 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
515
  </div>
516
  <div class="row form-group">
517
  <div class="col-md-5">
518
- <label for="ycd-countdown-bg-circle-color" class="ycd-range-slider-wrapper"><?php _e('color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
519
  </div>
520
- <div class="col-md-7 ycd-circles-width-wrapper ycd-option-wrapper<?php echo $isPro; ?>">
521
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
522
  <input type="text" id="ycd-countdown-bg-circle-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-countdown-bg-circle-color" class=" minicolors-input form-control js-countdown-bg-circle-color" value="<?php echo esc_attr($countdownBgCircleColor); ?>">
523
  </div>
@@ -550,11 +550,11 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
550
  </div>
551
  <div class="row form-group">
552
  <div class="col-md-5">
553
- <label for="ycd-countdown-bg-image" class="ycd-label-of-switch"><?php _e('Background Image', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
554
  </div>
555
- <div class="col-md-7 ycd-circles-width-wrapper ycd-option-wrapper<?php echo $isPro; ?>">
556
  <label class="ycd-switch">
557
- <input type="checkbox" id="ycd-countdown-bg-image" name="ycd-countdown-bg-image" class="ycd-accordion-checkbox js-ycd-bg-image" <?php echo $countdownBgImage; ?>>
558
  <span class="ycd-slider ycd-round"></span>
559
  </label>
560
  </div>
@@ -587,11 +587,11 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
587
  </div>
588
  <div class="row form-group">
589
  <div class="col-md-5">
590
- <label for="ycd-countdown-bg-video" class="ycd-label-of-switch"><?php _e('Background Video', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
591
  </div>
592
- <div class="col-md-7 ycd-circles-width-wrapper ycd-option-wrapper<?php echo $isPro; ?>">
593
  <label class="ycd-switch">
594
- <input type="checkbox" id="ycd-countdown-bg-video" name="ycd-countdown-bg-video" class="ycd-accordion-checkbox js-ycd-bg-video" <?php echo $typeObj->getOptionValue('ycd-countdown-bg-video'); ?>>
595
  <span class="ycd-slider ycd-round"></span>
596
  </label>
597
  </div>
@@ -612,7 +612,7 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
612
  </div>
613
  <div class="col-md-7 ycd-circles-width-wrapper ycd-option-wrapper">
614
  <label class="ycd-switch">
615
- <input type="checkbox" id="ycd-countdown-switch-number" name="ycd-countdown-switch-number" class="js-ycd-countdown-switch-number" <?php echo $typeObj->getOptionValue('ycd-countdown-switch-number'); ?>>
616
  <span class="ycd-slider ycd-round"></span>
617
  </label>
618
  </div>
@@ -623,7 +623,7 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
623
  </div>
624
  <div class="col-md-7 ycd-circles-width-wrapper ycd-option-wrapper">
625
  <label class="ycd-switch">
626
- <input type="checkbox" id="ycd-countdown-content-click" name="ycd-countdown-content-click" class="ycd-accordion-checkbox js-ycd-countdown-content-click" <?php echo $typeObj->getOptionValue('ycd-countdown-content-click'); ?>>
627
  <span class="ycd-slider ycd-round"></span>
628
  </label>
629
  </div>
@@ -643,7 +643,7 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
643
  </div>
644
  <div class="col-md-7 ycd-circles-width-wrapper">
645
  <label class="ycd-switch">
646
- <input type="checkbox" id="ycd-countdown-content-click-url-tab" name="ycd-countdown-content-click-url-tab" class="" <?php echo $typeObj->getOptionValue('ycd-countdown-content-click-url-tab'); ?>>
647
  <span class="ycd-slider ycd-round"></span>
648
  </label>
649
  </div>
@@ -655,7 +655,7 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
655
  </div>
656
  <div class="col-md-7 ycd-circles-width-wrapper ycd-option-wrapper">
657
  <label class="ycd-switch">
658
- <input type="checkbox" id="ycd-countdown-showing-limitation" name="ycd-countdown-showing-limitation" class="ycd-accordion-checkbox js-ycd-countdown-content-click" <?php echo $typeObj->getOptionValue('ycd-countdown-showing-limitation'); ?>>
659
  <span class="ycd-slider ycd-round"></span>
660
  </label>
661
  </div>
@@ -676,7 +676,7 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
676
  </div>
677
  <div class="col-md-7 ycd-circles-width-wrapper ycd-option-wrapper">
678
  <label class="ycd-switch">
679
- <input type="checkbox" id="ycd-countdown-showing-animation" name="ycd-countdown-showing-animation" class="ycd-accordion-checkbox js-ycd-countdown-showing-animation" <?php echo $typeObj->getOptionValue('ycd-countdown-showing-animation'); ?>>
680
  <span class="ycd-slider ycd-round"></span>
681
  </label>
682
  </div>
@@ -712,7 +712,7 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
712
  </div>
713
  <div class="col-xs-4">
714
  <label class="ycd-switch">
715
- <input type="checkbox" id="ycd-circle-box-shadow" name="ycd-circle-box-shadow" class="ycd-accordion-checkbox js-ycd-countdown-showing-animation" <?php echo $typeObj->getOptionValue('ycd-circle-box-shadow'); ?>>
716
  <span class="ycd-slider ycd-round"></span>
717
  </label>
718
  </div>
@@ -764,9 +764,9 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
764
  </div>
765
  <div class="row form-group">
766
  <div class="col-xs-5">
767
- <label class="control-label" for="ycd-circle-box-shadow-color"><?php _e('Shadow Color', YCD_TEXT_DOMAIN); echo $proSpan;?>:</label>
768
  </div>
769
- <div class="col-xs-4 ycd-option-wrapper<?php echo $isPro; ?>">
770
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
771
  <input type="text" id="ycd-circle-box-shadow-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-circle-box-shadow-color" class=" minicolors-input form-control" value="<?php echo esc_attr($typeObj->getOptionValue('ycd-circle-box-shadow-color')); ?>">
772
  </div>
@@ -831,7 +831,7 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
831
  </div>
832
  <div class="col-md-7 ycd-circles-width-wrapper ycd-option-wrapper">
833
  <label class="ycd-switch">
834
- <input type="checkbox" id="ycd-countdown-expiration-text-change" name="ycd-countdown-expiration-text-change" class="ycd-accordion-checkbox js-ycd-countdown-content-click" <?php echo $typeObj->getOptionValue('ycd-countdown-expiration-text-change'); ?>>
835
  <span class="ycd-slider ycd-round"></span>
836
  </label>
837
  </div>
101
  </div>
102
  <div class="row form-group">
103
  <div class="col-md-5">
104
+ <label for="ycd-countdown-text-size" class="ycd-label-of-select"><?php _e('Font Family', YCD_TEXT_DOMAIN); ?></label>
105
  </div>
106
+ <div class="col-md-7 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
107
  <?php echo AdminHelper::selectBox($defaultData['font-family'], esc_attr($textFontFamily), array('name' => 'ycd-text-font-family', 'class' => 'js-ycd-select js-countdown-font-family ycd-custom-value-accordion', 'data-custom' => 'customFont')); ?>
108
  </div>
109
  </div>
158
  </div>
159
  <div class="row form-group">
160
  <div class="col-md-5">
161
+ <label for="ycd-countdown-number-font" class="ycd-label-of-select"><?php _e('Font Family', YCD_TEXT_DOMAIN); ?></label>
162
  </div>
163
+ <div class="col-md-7 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
164
  <?php echo AdminHelper::selectBox($defaultData['font-family'], esc_attr($this->getOptionValue('ycd-countdown-number-font')), array('name' => 'ycd-countdown-number-font', 'class' => 'js-ycd-select js-countdown-number-font ycd-custom-value-accordion', 'data-custom' => 'customFont')); ?>
165
  </div>
166
  </div>
196
  </div>
197
  <div class="col-md-7">
198
  <label class="ycd-switch">
199
+ <input type="checkbox" id="ycd-countdown-years" data-time-type="Years" name="ycd-countdown-years" class="ycd-accordion-checkbox js-ycd-time-status" <?php echo esc_attr($countdownYears); ?>>
200
  <span class="ycd-slider ycd-round"></span>
201
  </label>
202
  </div>
212
  </div>
213
  <div class="row form-group">
214
  <div class="col-md-5">
215
+ <label for="ycd-countdown-years-color" class=""><?php _e('circle background color', YCD_TEXT_DOMAIN); ?></label>
216
  </div>
217
+ <div class="col-md-7 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
218
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
219
  <input type="text" id="ycd-countdown-years-color" data-time-type="Years" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-countdown-years-color" class=" minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($countdownYearsColor); ?>">
220
  </div>
222
  </div>
223
  <div class="row form-group">
224
  <div class="col-md-5">
225
+ <label for="ycd-countdown-years-color" class=""><?php _e('text color', YCD_TEXT_DOMAIN); ?></label>
226
  </div>
227
+ <div class="col-md-7 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
228
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
229
  <input type="text" id="ycd-countdown-years-text-color" data-time-type="Years" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-countdown-years-text-color" class=" minicolors-input form-control js-ycd-time-text-color" value="<?php echo esc_attr($countdownYearsTextColor); ?>">
230
  </div>
241
  </div>
242
  <div class="col-md-7">
243
  <label class="ycd-switch">
244
+ <input type="checkbox" id="ycd-countdown-months" data-time-type="Months" name="ycd-countdown-months" class="ycd-accordion-checkbox js-ycd-time-status" <?php echo esc_attr($countdownMonths); ?>>
245
  <span class="ycd-slider ycd-round"></span>
246
  </label>
247
  </div>
257
  </div>
258
  <div class="row form-group">
259
  <div class="col-md-5">
260
+ <label for="ycd-countdown-months-color" class=""><?php _e('circle background color', YCD_TEXT_DOMAIN); ?></label>
261
  </div>
262
+ <div class="col-md-7 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
263
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
264
  <input type="text" id="ycd-countdown-months-color" data-time-type="Months" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-countdown-months-color" class=" minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($countdownMonthsColor); ?>">
265
  </div>
267
  </div>
268
  <div class="row form-group">
269
  <div class="col-md-5">
270
+ <label for="ycd-countdown-months-color" class=""><?php _e('text color', YCD_TEXT_DOMAIN); ?></label>
271
  </div>
272
+ <div class="col-md-7 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
273
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
274
  <input type="text" id="ycd-countdown-months-text-color" data-time-type="Months" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-countdown-months-text-color" class=" minicolors-input form-control js-ycd-time-text-color" value="<?php echo esc_attr($countdownMonthsTextColor); ?>">
275
  </div>
287
  </div>
288
  <div class="col-md-7">
289
  <label class="ycd-switch">
290
+ <input type="checkbox" id="ycd-countdown-days" data-time-type="Days" name="ycd-countdown-days" class="ycd-accordion-checkbox js-ycd-time-status" <?php echo esc_attr($countdownDays); ?>>
291
  <span class="ycd-slider ycd-round"></span>
292
  </label>
293
  </div>
303
  </div>
304
  <div class="row form-group">
305
  <div class="col-md-5">
306
+ <label for="ycd-countdown-days-color" class=""><?php _e('circle background color', YCD_TEXT_DOMAIN); ?></label>
307
  </div>
308
+ <div class="col-md-7 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
309
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
310
  <input type="text" id="ycd-countdown-days-color" data-format="rgb" data-time-type="Days" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-countdown-days-color" class=" minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($countdownDaysColor); ?>">
311
  </div>
313
  </div>
314
  <div class="row form-group">
315
  <div class="col-md-5">
316
+ <label for="ycd-countdown-days-color" class=""><?php _e('text color', YCD_TEXT_DOMAIN); ?></label>
317
  </div>
318
+ <div class="col-md-7 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
319
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
320
  <input type="text" id="ycd-countdown-days-text-color" data-time-type="Days" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-countdown-days-text-color" class=" minicolors-input form-control js-ycd-time-text-color" value="<?php echo esc_attr($countdownDaysTextColor); ?>">
321
  </div>
333
  </div>
334
  <div class="col-md-7">
335
  <label class="ycd-switch">
336
+ <input type="checkbox" data-time-type="Hours" id="ycd-countdown-hours" name="ycd-countdown-hours" class="ycd-accordion-checkbox js-ycd-time-status" <?php echo esc_attr($countdownHours); ?>>
337
  <span class="ycd-slider ycd-round"></span>
338
  </label>
339
  </div>
349
  </div>
350
  <div class="row form-group">
351
  <div class="col-md-5">
352
+ <label for="ycd-countdown-hours-color" class=""><?php _e('circle background color', YCD_TEXT_DOMAIN); ?></label>
353
  </div>
354
+ <div class="col-md-7 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
355
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
356
  <input type="text" id="ycd-countdown-hours-color" data-time-type="Hours" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-countdown-hours-color" class=" minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($countdownHoursColor); ?>">
357
  </div>
359
  </div>
360
  <div class="row form-group">
361
  <div class="col-md-5">
362
+ <label for="ycd-countdown-hours-color" class=""><?php _e('text color', YCD_TEXT_DOMAIN); ?></label>
363
  </div>
364
+ <div class="col-md-7 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
365
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
366
  <input type="text" id="ycd-countdown-hours-text-color" data-time-type="Hours" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-countdown-hours-text-color" class=" minicolors-input form-control js-ycd-time-text-color" value="<?php echo esc_attr($countdownHoursTextColor); ?>">
367
  </div>
379
  </div>
380
  <div class="col-md-7">
381
  <label class="ycd-switch">
382
+ <input type="checkbox" data-time-type="Minutes" id="ycd-countdown-minutes" name="ycd-countdown-minutes" class="ycd-accordion-checkbox js-ycd-time-status" <?php echo esc_attr($countdownMinutes); ?>>
383
  <span class="ycd-slider ycd-round"></span>
384
  </label>
385
  </div>
395
  </div>
396
  <div class="row form-group">
397
  <div class="col-md-5">
398
+ <label for="ycd-countdown-minutes-color" class=""><?php _e('circle background color', YCD_TEXT_DOMAIN); ?></label>
399
  </div>
400
+ <div class="col-md-7 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
401
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
402
  <input type="text" id="ycd-countdown-minutes-color" data-time-type="Minutes" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-countdown-minutes-color" class=" minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($countdownMinutesColor); ?>">
403
  </div>
405
  </div>
406
  <div class="row form-group">
407
  <div class="col-md-5">
408
+ <label for="ycd-countdown-minutes-color" class=""><?php _e('text color', YCD_TEXT_DOMAIN); ?></label>
409
  </div>
410
+ <div class="col-md-7 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
411
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
412
  <input type="text" id="ycd-countdown-minutes-text-color" data-time-type="Minutes" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-countdown-minutes-text-color" class=" minicolors-input form-control js-ycd-time-text-color" value="<?php echo esc_attr($countdownMinutesTextColor); ?>">
413
  </div>
425
  </div>
426
  <div class="col-md-7">
427
  <label class="ycd-switch">
428
+ <input type="checkbox" data-time-type="Seconds" id="ycd-countdown-seconds" name="ycd-countdown-seconds" class="ycd-accordion-checkbox js-ycd-time-status" <?php echo esc_attr($countdownSeconds); ?>>
429
  <span class="ycd-slider ycd-round"></span>
430
  </label>
431
  </div>
441
  </div>
442
  <div class="row form-group">
443
  <div class="col-md-5">
444
+ <label for="ycd-countdown-seconds-color" class=""><?php _e('circle background color', YCD_TEXT_DOMAIN); ?></label>
445
  </div>
446
+ <div class="col-md-7 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
447
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
448
  <input type="text" id="ycd-countdown-seconds-color" data-time-type="Seconds" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-countdown-seconds-color" class=" minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($countdownSecondsColor); ?>">
449
  </div>
451
  </div>
452
  <div class="row form-group">
453
  <div class="col-md-5">
454
+ <label for="ycd-countdown-seconds-color" class="ycd-label-of-color"><?php _e('text color', YCD_TEXT_DOMAIN); ?></label>
455
  </div>
456
+ <div class="col-md-7 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
457
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
458
  <input type="text" id="ycd-countdown-seconds-text-color" data-time-type="Seconds" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-countdown-seconds-text-color" class="minicolors-input form-control js-ycd-time-text-color" value="<?php echo esc_attr($countdownSecondsTextColor); ?>">
459
  </div>
487
  <label for="ycd-countdown-width" class="ycd-label-of-input"><?php _e('Countdown Width', YCD_TEXT_DOMAIN); ?></label>
488
  </div>
489
  <div class="col-md-4">
490
+ <input type="text" class="form-control js-ycd-dimension js-ycd-dimension-number" id="ycd-countdown-width" name="ycd-countdown-width" value="<?php echo esc_attr($countdownWidth); ?>" style="margin-right: 5px">
491
  </div>
492
  <div class="col-md-3">
493
  <?php echo AdminHelper::selectBox($defaultData['ycd-dimension-measure'], esc_attr($dimensionMeasure), array('name' => 'ycd-dimension-measure', 'class' => 'js-ycd-select js-ycd-dimension js-ycd-dimension-measure')); ?>
499
  </div>
500
  <div class="col-md-7">
501
  <label class="ycd-switch">
502
+ <input type="checkbox" id="ycd-countdown-background-circle" name="ycd-countdown-background-circle" class="ycd-accordion-checkbox js-ycd-background-circle" <?php echo esc_attr($countdownBackgroundCircle); ?>>
503
  <span class="ycd-slider ycd-round"></span>
504
  </label>
505
  </div>
515
  </div>
516
  <div class="row form-group">
517
  <div class="col-md-5">
518
+ <label for="ycd-countdown-bg-circle-color" class="ycd-range-slider-wrapper"><?php _e('color', YCD_TEXT_DOMAIN); ?></label>
519
  </div>
520
+ <div class="col-md-7 ycd-circles-width-wrapper ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
521
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
522
  <input type="text" id="ycd-countdown-bg-circle-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-countdown-bg-circle-color" class=" minicolors-input form-control js-countdown-bg-circle-color" value="<?php echo esc_attr($countdownBgCircleColor); ?>">
523
  </div>
550
  </div>
551
  <div class="row form-group">
552
  <div class="col-md-5">
553
+ <label for="ycd-countdown-bg-image" class="ycd-label-of-switch"><?php _e('Background Image', YCD_TEXT_DOMAIN); ?></label>
554
  </div>
555
+ <div class="col-md-7 ycd-circles-width-wrapper ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
556
  <label class="ycd-switch">
557
+ <input type="checkbox" id="ycd-countdown-bg-image" name="ycd-countdown-bg-image" class="ycd-accordion-checkbox js-ycd-bg-image" <?php echo esc_attr($countdownBgImage); ?>>
558
  <span class="ycd-slider ycd-round"></span>
559
  </label>
560
  </div>
587
  </div>
588
  <div class="row form-group">
589
  <div class="col-md-5">
590
+ <label for="ycd-countdown-bg-video" class="ycd-label-of-switch"><?php _e('Background Video', YCD_TEXT_DOMAIN); ?></label>
591
  </div>
592
+ <div class="col-md-7 ycd-circles-width-wrapper ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
593
  <label class="ycd-switch">
594
+ <input type="checkbox" id="ycd-countdown-bg-video" name="ycd-countdown-bg-video" class="ycd-accordion-checkbox js-ycd-bg-video" <?php echo esc_attr($typeObj->getOptionValue('ycd-countdown-bg-video')); ?>>
595
  <span class="ycd-slider ycd-round"></span>
596
  </label>
597
  </div>
612
  </div>
613
  <div class="col-md-7 ycd-circles-width-wrapper ycd-option-wrapper">
614
  <label class="ycd-switch">
615
+ <input type="checkbox" id="ycd-countdown-switch-number" name="ycd-countdown-switch-number" class="js-ycd-countdown-switch-number" <?php echo esc_attr($typeObj->getOptionValue('ycd-countdown-switch-number')); ?>>
616
  <span class="ycd-slider ycd-round"></span>
617
  </label>
618
  </div>
623
  </div>
624
  <div class="col-md-7 ycd-circles-width-wrapper ycd-option-wrapper">
625
  <label class="ycd-switch">
626
+ <input type="checkbox" id="ycd-countdown-content-click" name="ycd-countdown-content-click" class="ycd-accordion-checkbox js-ycd-countdown-content-click" <?php echo esc_attr($typeObj->getOptionValue('ycd-countdown-content-click')); ?>>
627
  <span class="ycd-slider ycd-round"></span>
628
  </label>
629
  </div>
643
  </div>
644
  <div class="col-md-7 ycd-circles-width-wrapper">
645
  <label class="ycd-switch">
646
+ <input type="checkbox" id="ycd-countdown-content-click-url-tab" name="ycd-countdown-content-click-url-tab" class="" <?php echo esc_attr($typeObj->getOptionValue('ycd-countdown-content-click-url-tab')); ?>>
647
  <span class="ycd-slider ycd-round"></span>
648
  </label>
649
  </div>
655
  </div>
656
  <div class="col-md-7 ycd-circles-width-wrapper ycd-option-wrapper">
657
  <label class="ycd-switch">
658
+ <input type="checkbox" id="ycd-countdown-showing-limitation" name="ycd-countdown-showing-limitation" class="ycd-accordion-checkbox js-ycd-countdown-content-click" <?php echo esc_attr($typeObj->getOptionValue('ycd-countdown-showing-limitation')); ?>>
659
  <span class="ycd-slider ycd-round"></span>
660
  </label>
661
  </div>
676
  </div>
677
  <div class="col-md-7 ycd-circles-width-wrapper ycd-option-wrapper">
678
  <label class="ycd-switch">
679
+ <input type="checkbox" id="ycd-countdown-showing-animation" name="ycd-countdown-showing-animation" class="ycd-accordion-checkbox js-ycd-countdown-showing-animation" <?php echo esc_attr($typeObj->getOptionValue('ycd-countdown-showing-animation')); ?>>
680
  <span class="ycd-slider ycd-round"></span>
681
  </label>
682
  </div>
712
  </div>
713
  <div class="col-xs-4">
714
  <label class="ycd-switch">
715
+ <input type="checkbox" id="ycd-circle-box-shadow" name="ycd-circle-box-shadow" class="ycd-accordion-checkbox js-ycd-countdown-showing-animation" <?php echo esc_attr($typeObj->getOptionValue('ycd-circle-box-shadow')); ?>>
716
  <span class="ycd-slider ycd-round"></span>
717
  </label>
718
  </div>
764
  </div>
765
  <div class="row form-group">
766
  <div class="col-xs-5">
767
+ <label class="control-label" for="ycd-circle-box-shadow-color"><?php _e('Shadow Color', YCD_TEXT_DOMAIN); ?>:</label>
768
  </div>
769
+ <div class="col-xs-4 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
770
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
771
  <input type="text" id="ycd-circle-box-shadow-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-circle-box-shadow-color" class=" minicolors-input form-control" value="<?php echo esc_attr($typeObj->getOptionValue('ycd-circle-box-shadow-color')); ?>">
772
  </div>
831
  </div>
832
  <div class="col-md-7 ycd-circles-width-wrapper ycd-option-wrapper">
833
  <label class="ycd-switch">
834
+ <input type="checkbox" id="ycd-countdown-expiration-text-change" name="ycd-countdown-expiration-text-change" class="ycd-accordion-checkbox js-ycd-countdown-content-click" <?php echo esc_attr($typeObj->getOptionValue('ycd-countdown-expiration-text-change')); ?>>
835
  <span class="ycd-slider ycd-round"></span>
836
  </label>
837
  </div>
assets/views/displaySettings.php CHANGED
@@ -16,5 +16,5 @@ $obj->setSavedData($savedData);
16
  <?php echo AdminHelper::selectBox($defaultData['position-countdown'], esc_attr($this->getOptionValue('ycd-position-countdown')), array('name' => 'ycd-position-countdown', 'class' => 'js-ycd-select')); ?>
17
  </div>
18
  </div>
19
- <?php echo $obj->render(); ?>
20
  </div>
16
  <?php echo AdminHelper::selectBox($defaultData['position-countdown'], esc_attr($this->getOptionValue('ycd-position-countdown')), array('name' => 'ycd-position-countdown', 'class' => 'js-ycd-select')); ?>
17
  </div>
18
  </div>
19
+ <?php echo esc_html($obj->render()); ?>
20
  </div>
assets/views/generalOptions.php CHANGED
@@ -21,7 +21,6 @@ if (class_exists('ycd\AdminHelperPro')) {
21
  <div class="ycd-multichoice-wrapper">
22
  <?php
23
  $multipleChoiceButton = new MultipleChoiceButton($defaultData['countdown-date-type'], esc_attr($this->getOptionValue('ycd-countdown-date-type')));
24
- echo $multipleChoiceButton;
25
  ?>
26
  </div>
27
  <div id="ycd-date-wooCoupon" class="ycd-countdown-show-text ycd-hide">
@@ -59,7 +58,7 @@ if (class_exists('ycd\AdminHelperPro')) {
59
  </div>
60
  </div>
61
  </div>
62
- <div id="ycd-countdown-due-date" class="ycd-countdown-show-text ycd-hide">
63
  <div class="row form-group">
64
  <div class="col-md-6">
65
  <label for="ycd-date-time-picker" class="ycd-label-of-input"></label>
@@ -86,7 +85,7 @@ if (class_exists('ycd\AdminHelperPro')) {
86
  </div>
87
  <div class="col-md-6">
88
  <label class="ycd-switch">
89
- <input type="checkbox" id="ycd-countdown-save-duration" class="ycd-accordion-checkbox" name="ycd-countdown-save-duration" <?php echo $this->getOptionValue('ycd-countdown-save-duration'); ?>>
90
  <span class="ycd-slider ycd-round"></span>
91
  </label>
92
  </div>
@@ -94,22 +93,22 @@ if (class_exists('ycd\AdminHelperPro')) {
94
  <div class="ycd-accordion-content ycd-hide-content">
95
  <div class="row">
96
  <div class="col-md-6">
97
- <label for="ycd-countdown-save-duration-each-user" class="ycd-label-of-switch"><?php _e('Save For Each User', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
98
  </div>
99
- <div class="col-md-6 ycd-option-wrapper<?php echo $isPro; ?>">
100
  <label class="ycd-switch">
101
- <input type="checkbox" id="ycd-countdown-save-duration-each-user" class="" name="ycd-countdown-save-duration-each-user" <?php echo $this->getOptionValue('ycd-countdown-save-duration-each-user'); ?>>
102
  <span class="ycd-slider ycd-round"></span>
103
  </label>
104
  </div>
105
  </div>
106
  <div class="row">
107
  <div class="col-md-6">
108
- <label for="ycd-countdown-restart" class="ycd-label-of-switch"><?php _e('Restart', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
109
  </div>
110
- <div class="col-md-6 ycd-option-wrapper<?php echo $isPro; ?>">
111
  <label class="ycd-switch">
112
- <input type="checkbox" id="ycd-countdown-restart" class="ycd-accordion-checkbox" name="ycd-countdown-restart" <?php echo $this->getOptionValue('ycd-countdown-restart'); ?>>
113
  <span class="ycd-slider ycd-round"></span>
114
  </label>
115
  </div>
@@ -120,7 +119,7 @@ if (class_exists('ycd\AdminHelperPro')) {
120
  <label for="ycd-countdown-save-duration-restart" class="ycd-label-of-switch"><?php _e('Every', YCD_TEXT_DOMAIN); ?></label>
121
  </div>
122
  <div class="col-md-2 ycd-option-wrapper">
123
- <input type="number" class="form-control" name="ycd-countdown-restart-hour" value="<?php echo $this->getOptionValue('ycd-countdown-restart-hour'); ?>">
124
  </div>
125
  <div class="col-md-1">
126
  <label><?php _e('Hour(s)', YCD_TEXT_DOMAIN); ?></label>
@@ -320,7 +319,7 @@ if (class_exists('ycd\AdminHelperPro')) {
320
  </div>
321
  <div class="col-md-6">
322
  <label class="ycd-switch">
323
- <input type="checkbox" id="ycd-countdown-enable-start-date" name="ycd-countdown-enable-start-date" class="ycd-accordion-checkbox" <?php echo $this->getOptionValue('ycd-countdown-enable-start-date'); ?>>
324
  <span class="ycd-slider ycd-round"></span>
325
  </label>
326
  </div>
@@ -353,7 +352,7 @@ if (class_exists('ycd\AdminHelperPro')) {
353
  </div>
354
  <div class="col-md-6">
355
  <label class="ycd-switch">
356
- <input type="checkbox" id="ycd-countdown-display-on" name="ycd-countdown-display-on" class="ycd-accordion-checkbox" <?php echo $this->getOptionValue('ycd-countdown-display-on'); ?>>
357
  <span class="ycd-slider ycd-round"></span>
358
  </label>
359
  </div>
@@ -367,7 +366,7 @@ if (class_exists('ycd\AdminHelperPro')) {
367
  </div>
368
  <div class="col-md-6">
369
  <label class="ycd-switch">
370
- <input type="checkbox" id="ycd-countdown-end-sound" name="ycd-countdown-end-sound" class="ycd-accordion-checkbox" <?php echo $this->getOptionValue('ycd-countdown-end-sound'); ?>>
371
  <span class="ycd-slider ycd-round"></span>
372
  </label>
373
  </div>
21
  <div class="ycd-multichoice-wrapper">
22
  <?php
23
  $multipleChoiceButton = new MultipleChoiceButton($defaultData['countdown-date-type'], esc_attr($this->getOptionValue('ycd-countdown-date-type')));
 
24
  ?>
25
  </div>
26
  <div id="ycd-date-wooCoupon" class="ycd-countdown-show-text ycd-hide">
58
  </div>
59
  </div>
60
  </div>
61
+ <div id="ycd-countdown-due-date" class="ycd-countdown-show-text ycd-hide1">
62
  <div class="row form-group">
63
  <div class="col-md-6">
64
  <label for="ycd-date-time-picker" class="ycd-label-of-input"></label>
85
  </div>
86
  <div class="col-md-6">
87
  <label class="ycd-switch">
88
+ <input type="checkbox" id="ycd-countdown-save-duration" class="ycd-accordion-checkbox" name="ycd-countdown-save-duration" <?php echo esc_attr($this->getOptionValue('ycd-countdown-save-duration')); ?>>
89
  <span class="ycd-slider ycd-round"></span>
90
  </label>
91
  </div>
93
  <div class="ycd-accordion-content ycd-hide-content">
94
  <div class="row">
95
  <div class="col-md-6">
96
+ <label for="ycd-countdown-save-duration-each-user" class="ycd-label-of-switch"><?php _e('Save For Each User', YCD_TEXT_DOMAIN); ?></label>
97
  </div>
98
+ <div class="col-md-6 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
99
  <label class="ycd-switch">
100
+ <input type="checkbox" id="ycd-countdown-save-duration-each-user" class="" name="ycd-countdown-save-duration-each-user" <?php echo esc_attr($this->getOptionValue('ycd-countdown-save-duration-each-user')); ?>>
101
  <span class="ycd-slider ycd-round"></span>
102
  </label>
103
  </div>
104
  </div>
105
  <div class="row">
106
  <div class="col-md-6">
107
+ <label for="ycd-countdown-restart" class="ycd-label-of-switch"><?php _e('Restart', YCD_TEXT_DOMAIN); ?></label>
108
  </div>
109
+ <div class="col-md-6 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
110
  <label class="ycd-switch">
111
+ <input type="checkbox" id="ycd-countdown-restart" class="ycd-accordion-checkbox" name="ycd-countdown-restart" <?php echo esc_attr($this->getOptionValue('ycd-countdown-restart')); ?>>
112
  <span class="ycd-slider ycd-round"></span>
113
  </label>
114
  </div>
119
  <label for="ycd-countdown-save-duration-restart" class="ycd-label-of-switch"><?php _e('Every', YCD_TEXT_DOMAIN); ?></label>
120
  </div>
121
  <div class="col-md-2 ycd-option-wrapper">
122
+ <input type="number" class="form-control" name="ycd-countdown-restart-hour" value="<?php echo esc_attr($this->getOptionValue('ycd-countdown-restart-hour')); ?>">
123
  </div>
124
  <div class="col-md-1">
125
  <label><?php _e('Hour(s)', YCD_TEXT_DOMAIN); ?></label>
319
  </div>
320
  <div class="col-md-6">
321
  <label class="ycd-switch">
322
+ <input type="checkbox" id="ycd-countdown-enable-start-date" name="ycd-countdown-enable-start-date" class="ycd-accordion-checkbox" <?php echo esc_attr($this->getOptionValue('ycd-countdown-enable-start-date')); ?>>
323
  <span class="ycd-slider ycd-round"></span>
324
  </label>
325
  </div>
352
  </div>
353
  <div class="col-md-6">
354
  <label class="ycd-switch">
355
+ <input type="checkbox" id="ycd-countdown-display-on" name="ycd-countdown-display-on" class="ycd-accordion-checkbox" <?php echo esc_attr($this->getOptionValue('ycd-countdown-display-on')); ?>>
356
  <span class="ycd-slider ycd-round"></span>
357
  </label>
358
  </div>
366
  </div>
367
  <div class="col-md-6">
368
  <label class="ycd-switch">
369
+ <input type="checkbox" id="ycd-countdown-end-sound" name="ycd-countdown-end-sound" class="ycd-accordion-checkbox" <?php echo esc_attr($this->getOptionValue('ycd-countdown-end-sound')); ?>>
370
  <span class="ycd-slider ycd-round"></span>
371
  </label>
372
  </div>
assets/views/main/clock1View.php CHANGED
@@ -33,9 +33,9 @@ if(YCD_PKG_VERSION == YCD_FREE_VERSION) {
33
 
34
  <div class="row form-group">
35
  <div class="col-md-6">
36
- <label for="ycd-clock1-indicate-color" class=""><?php _e('Indicate color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
37
  </div>
38
- <div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
39
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
40
  <input type="text" id="ycd-clock1-indicate-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock1-indicate-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock1-indicate-color')); ?>">
41
  </div>
@@ -44,9 +44,9 @@ if(YCD_PKG_VERSION == YCD_FREE_VERSION) {
44
 
45
  <div class="row form-group">
46
  <div class="col-md-6">
47
- <label for="ycd-clock1-dial1-color" class=""><?php _e('Detail 1 color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
48
  </div>
49
- <div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
50
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
51
  <input type="text" id="ycd-clock1-dial1-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock1-dial1-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock1-dial1-color')); ?>">
52
  </div>
@@ -55,9 +55,9 @@ if(YCD_PKG_VERSION == YCD_FREE_VERSION) {
55
 
56
  <div class="row form-group">
57
  <div class="col-md-6">
58
- <label for="ycd-clock1-dial2-color" class=""><?php _e('Detail 2 color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
59
  </div>
60
- <div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
61
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
62
  <input type="text" id="ycd-clock1-dial2-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock1-dial2-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock1-dial2-color')); ?>">
63
  </div>
@@ -66,9 +66,9 @@ if(YCD_PKG_VERSION == YCD_FREE_VERSION) {
66
 
67
  <div class="row form-group">
68
  <div class="col-md-6">
69
- <label for="ycd-clock1-dial3-color" class=""><?php _e('Detail 3 color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
70
  </div>
71
- <div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
72
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
73
  <input type="text" id="ycd-clock1-dial3-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock1-dial3-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock1-dial3-color')); ?>">
74
  </div>
@@ -77,9 +77,9 @@ if(YCD_PKG_VERSION == YCD_FREE_VERSION) {
77
 
78
  <div class="row form-group">
79
  <div class="col-md-6">
80
- <label for="ycd-clock1-time-color" class=""><?php _e('Time color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
81
  </div>
82
- <div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
83
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
84
  <input type="text" id="ycd-clock1-time-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock1-time-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock1-time-color')); ?>">
85
  </div>
@@ -88,9 +88,9 @@ if(YCD_PKG_VERSION == YCD_FREE_VERSION) {
88
 
89
  <div class="row form-group">
90
  <div class="col-md-6">
91
- <label for="ycd-clock1-date-color" class=""><?php _e('Date color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
92
  </div>
93
- <div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
94
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
95
  <input type="text" id="ycd-clock1-date-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock1-date-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock1-date-color')); ?>">
96
  </div>
@@ -98,9 +98,9 @@ if(YCD_PKG_VERSION == YCD_FREE_VERSION) {
98
  </div>
99
  <div class="row form-group">
100
  <div class="col-md-6">
101
- <label for="ycd-clock1-time-bg-color" class=""><?php _e('Background color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
102
  </div>
103
- <div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
104
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
105
  <input type="text" id="ycd-clock1-time-bg-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock1-time-bg-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock1-time-bg-color')); ?>">
106
  </div>
33
 
34
  <div class="row form-group">
35
  <div class="col-md-6">
36
+ <label for="ycd-clock1-indicate-color" class=""><?php _e('Indicate color', YCD_TEXT_DOMAIN); ?></label>
37
  </div>
38
+ <div class="col-md-5 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
39
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
40
  <input type="text" id="ycd-clock1-indicate-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock1-indicate-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock1-indicate-color')); ?>">
41
  </div>
44
 
45
  <div class="row form-group">
46
  <div class="col-md-6">
47
+ <label for="ycd-clock1-dial1-color" class=""><?php _e('Detail 1 color', YCD_TEXT_DOMAIN); ?></label>
48
  </div>
49
+ <div class="col-md-5 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
50
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
51
  <input type="text" id="ycd-clock1-dial1-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock1-dial1-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock1-dial1-color')); ?>">
52
  </div>
55
 
56
  <div class="row form-group">
57
  <div class="col-md-6">
58
+ <label for="ycd-clock1-dial2-color" class=""><?php _e('Detail 2 color', YCD_TEXT_DOMAIN); ?></label>
59
  </div>
60
+ <div class="col-md-5 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
61
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
62
  <input type="text" id="ycd-clock1-dial2-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock1-dial2-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock1-dial2-color')); ?>">
63
  </div>
66
 
67
  <div class="row form-group">
68
  <div class="col-md-6">
69
+ <label for="ycd-clock1-dial3-color" class=""><?php _e('Detail 3 color', YCD_TEXT_DOMAIN); ?></label>
70
  </div>
71
+ <div class="col-md-5 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
72
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
73
  <input type="text" id="ycd-clock1-dial3-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock1-dial3-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock1-dial3-color')); ?>">
74
  </div>
77
 
78
  <div class="row form-group">
79
  <div class="col-md-6">
80
+ <label for="ycd-clock1-time-color" class=""><?php _e('Time color', YCD_TEXT_DOMAIN); ?></label>
81
  </div>
82
+ <div class="col-md-5 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
83
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
84
  <input type="text" id="ycd-clock1-time-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock1-time-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock1-time-color')); ?>">
85
  </div>
88
 
89
  <div class="row form-group">
90
  <div class="col-md-6">
91
+ <label for="ycd-clock1-date-color" class=""><?php _e('Date color', YCD_TEXT_DOMAIN); ?></label>
92
  </div>
93
+ <div class="col-md-5 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
94
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
95
  <input type="text" id="ycd-clock1-date-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock1-date-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock1-date-color')); ?>">
96
  </div>
98
  </div>
99
  <div class="row form-group">
100
  <div class="col-md-6">
101
+ <label for="ycd-clock1-time-bg-color" class=""><?php _e('Background color', YCD_TEXT_DOMAIN); ?></label>
102
  </div>
103
+ <div class="col-md-5 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
104
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
105
  <input type="text" id="ycd-clock1-time-bg-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock1-time-bg-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock1-time-bg-color')); ?>">
106
  </div>
assets/views/main/clock2View.php CHANGED
@@ -34,9 +34,9 @@ if(YCD_PKG_VERSION == YCD_FREE_VERSION) {
34
 
35
  <div class="row form-group">
36
  <div class="col-md-6">
37
- <label for="ycd-clock2-dial1-color" class=""><?php _e('Detail 1 color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
38
  </div>
39
- <div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
40
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
41
  <input type="text" id="ycd-clock2-dial1-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock2-dial1-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock2-dial1-color')); ?>">
42
  </div>
@@ -45,9 +45,9 @@ if(YCD_PKG_VERSION == YCD_FREE_VERSION) {
45
 
46
  <div class="row form-group">
47
  <div class="col-md-6">
48
- <label for="ycd-clock2-dial2-color" class=""><?php _e('Detail 2 color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
49
  </div>
50
- <div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
51
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
52
  <input type="text" id="ycd-clock2-dial2-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock2-dial2-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock2-dial2-color')); ?>">
53
  </div>
@@ -56,9 +56,9 @@ if(YCD_PKG_VERSION == YCD_FREE_VERSION) {
56
 
57
  <div class="row form-group">
58
  <div class="col-md-6">
59
- <label for="ycd-clock2-dial3-color" class=""><?php _e('Detail 3 color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
60
  </div>
61
- <div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
62
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
63
  <input type="text" id="ycd-clock2-dial3-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock2-dial3-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock2-dial3-color')); ?>">
64
  </div>
@@ -67,9 +67,9 @@ if(YCD_PKG_VERSION == YCD_FREE_VERSION) {
67
 
68
  <div class="row form-group">
69
  <div class="col-md-6">
70
- <label for="ycd-clock2-time-color" class=""><?php _e('Time color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
71
  </div>
72
- <div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
73
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
74
  <input type="text" id="ycd-clock2-time-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock2-time-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock2-time-color')); ?>">
75
  </div>
@@ -78,9 +78,9 @@ if(YCD_PKG_VERSION == YCD_FREE_VERSION) {
78
 
79
  <div class="row form-group">
80
  <div class="col-md-6">
81
- <label for="ycd-clock2-date-color" class=""><?php _e('Date color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
82
  </div>
83
- <div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
84
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
85
  <input type="text" id="ycd-clock2-date-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock2-date-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock2-date-color')); ?>">
86
  </div>
@@ -88,9 +88,9 @@ if(YCD_PKG_VERSION == YCD_FREE_VERSION) {
88
  </div>
89
  <div class="row form-group">
90
  <div class="col-md-6">
91
- <label for="ycd-clock2-time-bg-color" class=""><?php _e('Background color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
92
  </div>
93
- <div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
94
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
95
  <input type="text" id="ycd-clock2-time-bg-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock2-time-bg-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock2-time-bg-color')); ?>">
96
  </div>
34
 
35
  <div class="row form-group">
36
  <div class="col-md-6">
37
+ <label for="ycd-clock2-dial1-color" class=""><?php _e('Detail 1 color', YCD_TEXT_DOMAIN); ?></label>
38
  </div>
39
+ <div class="col-md-5 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
40
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
41
  <input type="text" id="ycd-clock2-dial1-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock2-dial1-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock2-dial1-color')); ?>">
42
  </div>
45
 
46
  <div class="row form-group">
47
  <div class="col-md-6">
48
+ <label for="ycd-clock2-dial2-color" class=""><?php _e('Detail 2 color', YCD_TEXT_DOMAIN); ?></label>
49
  </div>
50
+ <div class="col-md-5 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
51
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
52
  <input type="text" id="ycd-clock2-dial2-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock2-dial2-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock2-dial2-color')); ?>">
53
  </div>
56
 
57
  <div class="row form-group">
58
  <div class="col-md-6">
59
+ <label for="ycd-clock2-dial3-color" class=""><?php _e('Detail 3 color', YCD_TEXT_DOMAIN); ?></label>
60
  </div>
61
+ <div class="col-md-5 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
62
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
63
  <input type="text" id="ycd-clock2-dial3-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock2-dial3-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock2-dial3-color')); ?>">
64
  </div>
67
 
68
  <div class="row form-group">
69
  <div class="col-md-6">
70
+ <label for="ycd-clock2-time-color" class=""><?php _e('Time color', YCD_TEXT_DOMAIN); ?></label>
71
  </div>
72
+ <div class="col-md-5 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
73
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
74
  <input type="text" id="ycd-clock2-time-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock2-time-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock2-time-color')); ?>">
75
  </div>
78
 
79
  <div class="row form-group">
80
  <div class="col-md-6">
81
+ <label for="ycd-clock2-date-color" class=""><?php _e('Date color', YCD_TEXT_DOMAIN); ?></label>
82
  </div>
83
+ <div class="col-md-5 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
84
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
85
  <input type="text" id="ycd-clock2-date-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock2-date-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock2-date-color')); ?>">
86
  </div>
88
  </div>
89
  <div class="row form-group">
90
  <div class="col-md-6">
91
+ <label for="ycd-clock2-time-bg-color" class=""><?php _e('Background color', YCD_TEXT_DOMAIN); ?></label>
92
  </div>
93
+ <div class="col-md-5 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
94
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
95
  <input type="text" id="ycd-clock2-time-bg-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock2-time-bg-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock2-time-bg-color')); ?>">
96
  </div>
assets/views/main/clock3View.php CHANGED
@@ -35,9 +35,9 @@ if(YCD_PKG_VERSION == YCD_FREE_VERSION) {
35
 
36
  <div class="row form-group">
37
  <div class="col-md-6">
38
- <label for="ycd-clock3-dial1-color" class=""><?php _e('Detail 1 color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
39
  </div>
40
- <div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
41
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
42
  <input type="text" id="ycd-clock3-dial1-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock3-dial1-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock3-dial1-color')); ?>">
43
  </div>
@@ -46,9 +46,9 @@ if(YCD_PKG_VERSION == YCD_FREE_VERSION) {
46
 
47
  <div class="row form-group">
48
  <div class="col-md-6">
49
- <label for="ycd-clock3-date-color" class=""><?php _e('Date color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
50
  </div>
51
- <div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
52
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
53
  <input type="text" id="ycd-clock3-date-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock3-date-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock3-date-color')); ?>">
54
  </div>
@@ -56,9 +56,9 @@ if(YCD_PKG_VERSION == YCD_FREE_VERSION) {
56
  </div>
57
  <div class="row form-group">
58
  <div class="col-md-6">
59
- <label for="ycd-clock3-time-bg-color" class=""><?php _e('Background color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
60
  </div>
61
- <div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
62
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
63
  <input type="text" id="ycd-clock3-time-bg-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock3-time-bg-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock3-time-bg-color')); ?>">
64
  </div>
35
 
36
  <div class="row form-group">
37
  <div class="col-md-6">
38
+ <label for="ycd-clock3-dial1-color" class=""><?php _e('Detail 1 color', YCD_TEXT_DOMAIN); ?></label>
39
  </div>
40
+ <div class="col-md-5 ycd-option-wrapper<?php echo esc_attr($isPro);Pro; ?>">
41
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
42
  <input type="text" id="ycd-clock3-dial1-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock3-dial1-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock3-dial1-color')); ?>">
43
  </div>
46
 
47
  <div class="row form-group">
48
  <div class="col-md-6">
49
+ <label for="ycd-clock3-date-color" class=""><?php _e('Date color', YCD_TEXT_DOMAIN); ?></label>
50
  </div>
51
+ <div class="col-md-5 ycd-option-wrapper<?php echo esc_attr($isPro);Pro; ?>">
52
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
53
  <input type="text" id="ycd-clock3-date-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock3-date-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock3-date-color')); ?>">
54
  </div>
56
  </div>
57
  <div class="row form-group">
58
  <div class="col-md-6">
59
+ <label for="ycd-clock3-time-bg-color" class=""><?php _e('Background color', YCD_TEXT_DOMAIN); ?></label>
60
  </div>
61
+ <div class="col-md-5 ycd-option-wrapper<?php echo esc_attr($isPro);Pro; ?>">
62
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
63
  <input type="text" id="ycd-clock3-time-bg-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock3-time-bg-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock3-time-bg-color')); ?>">
64
  </div>
assets/views/main/clockTimerSettings.php CHANGED
@@ -8,7 +8,7 @@ use ycd\MultipleChoiceButton;
8
  <div class="ycd-multichoice-wrapper">
9
  <?php
10
  $multipleChoiceButton = new MultipleChoiceButton($defaultData['clockMode'], esc_attr($this->getOptionValue('ycd-countdown-clock-mode')));
11
- echo $multipleChoiceButton;
12
  ?>
13
  </div>
14
  <div id="ycd-countdown-clock-mode-clock" class="ycd-countdown-show-text ycd-hide">
8
  <div class="ycd-multichoice-wrapper">
9
  <?php
10
  $multipleChoiceButton = new MultipleChoiceButton($defaultData['clockMode'], esc_attr($this->getOptionValue('ycd-countdown-clock-mode')));
11
+
12
  ?>
13
  </div>
14
  <div id="ycd-countdown-clock-mode-clock" class="ycd-countdown-show-text ycd-hide">
assets/views/main/generalStartDateOption.php CHANGED
@@ -8,7 +8,7 @@
8
  </div>
9
  <div class="col-md-6">
10
  <label class="ycd-switch">
11
- <input type="checkbox" id="ycd-countdown-enable-start-date" name="ycd-countdown-enable-start-date" class="ycd-accordion-checkbox" <?php echo $this->getOptionValue('ycd-countdown-enable-start-date'); ?>>
12
  <span class="ycd-slider ycd-round"></span>
13
  </label>
14
  </div>
8
  </div>
9
  <div class="col-md-6">
10
  <label class="ycd-switch">
11
+ <input type="checkbox" id="ycd-countdown-enable-start-date" name="ycd-countdown-enable-start-date" class="ycd-accordion-checkbox" <?php echo esc_attr($this->getOptionValue('ycd-countdown-enable-start-date')); ?>>
12
  <span class="ycd-slider ycd-round"></span>
13
  </label>
14
  </div>
assets/views/main/simpleMainView.php CHANGED
@@ -27,7 +27,7 @@ $defaultData = AdminHelper::defaultData();
27
  </div>
28
  <div class="col-md-6">
29
  <label class="ycd-switch">
30
- <input type="checkbox" id="ycd-simple-enable-months" data-time-type="months" name="ycd-simple-enable-months" class="ycd-accordion-checkbox js-ycd-time-status" <?php echo $typeObj->getOptionValue('ycd-simple-enable-months'); ?>>
31
  <span class="ycd-slider ycd-round"></span>
32
  </label>
33
  </div>
@@ -50,7 +50,7 @@ $defaultData = AdminHelper::defaultData();
50
  </div>
51
  <div class="col-md-6">
52
  <label class="ycd-switch">
53
- <input type="checkbox" id="ycd-simple-enable-days" data-time-type="days" name="ycd-simple-enable-days" class="ycd-accordion-checkbox js-ycd-time-status" <?php echo $typeObj->getOptionValue('ycd-simple-enable-days'); ?>>
54
  <span class="ycd-slider ycd-round"></span>
55
  </label>
56
  </div>
@@ -75,7 +75,7 @@ $defaultData = AdminHelper::defaultData();
75
  </div>
76
  <div class="col-md-6">
77
  <label class="ycd-switch">
78
- <input type="checkbox" id="ycd-simple-enable-hours" data-time-type="hours" name="ycd-simple-enable-hours" class="ycd-accordion-checkbox js-ycd-time-status" <?php echo $typeObj->getOptionValue('ycd-simple-enable-hours'); ?>>
79
  <span class="ycd-slider ycd-round"></span>
80
  </label>
81
  </div>
@@ -102,7 +102,7 @@ $defaultData = AdminHelper::defaultData();
102
  </div>
103
  <div class="col-md-6">
104
  <label class="ycd-switch">
105
- <input type="checkbox" id="ycd-simple-enable-minutes" data-time-type="minutes" name="ycd-simple-enable-minutes" class="ycd-accordion-checkbox js-ycd-time-status" <?php echo $typeObj->getOptionValue('ycd-simple-enable-minutes'); ?>>
106
  <span class="ycd-slider ycd-round"></span>
107
  </label>
108
  </div>
@@ -127,7 +127,7 @@ $defaultData = AdminHelper::defaultData();
127
  </div>
128
  <div class="col-md-6">
129
  <label class="ycd-switch">
130
- <input type="checkbox" id="ycd-simple-enable-seconds" data-time-type="seconds" name="ycd-simple-enable-seconds" class="ycd-accordion-checkbox js-ycd-time-status" <?php echo $typeObj->getOptionValue('ycd-simple-enable-seconds'); ?>>
131
  <span class="ycd-slider ycd-round"></span>
132
  </label>
133
  </div>
@@ -174,9 +174,9 @@ $defaultData = AdminHelper::defaultData();
174
  </div>
175
  <div class="row form-group">
176
  <div class="col-md-6">
177
- <label for="ycd-simple-numbers-font-family" class="ycd-label-of-select"><?php _e('font family', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
178
  </div>
179
- <div class="col-md-6 ycd-option-wrapper<?php echo $isPro; ?>">
180
  <?php echo AdminHelper::selectBox($defaultData['font-family'], esc_attr($typeObj->getOptionValue('ycd-simple-numbers-font-family')), array('name' => 'ycd-simple-numbers-font-family', 'class' => 'js-ycd-select js-simple-font-family ycd-custom-value-accordion', 'data-field-type' => 'number', 'data-custom' => 'customFont')); ?>
181
  </div>
182
  </div>
@@ -192,9 +192,9 @@ $defaultData = AdminHelper::defaultData();
192
  </div>
193
  <div class="row form-group">
194
  <div class="col-md-6">
195
- <label for="ycd-simple-numbers-color" class=""><?php _e('color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
196
  </div>
197
- <div class="col-md-6 ycd-option-wrapper<?php echo $isPro; ?>">
198
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
199
  <input type="text" id="ycd-simple-numbers-color" data-time-type="number" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-simple-numbers-color" class=" minicolors-input form-control js-ycd-simple-time-color" value="<?php echo esc_attr($typeObj->getOptionValue('ycd-simple-numbers-color')); ?>">
200
  </div>
@@ -202,7 +202,7 @@ $defaultData = AdminHelper::defaultData();
202
  </div>
203
  <div class="row form-group">
204
  <div class="col-md-4">
205
- <label for="ycd-simple-text-margin" class=""><?php _e('margin', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
206
  </div>
207
  <div class="col-md-2 ycd-option-wrapper">
208
  <label for="ycd-simple-numbers-margin-top" class="yrm-label">Top</label>
@@ -242,9 +242,9 @@ $defaultData = AdminHelper::defaultData();
242
  </div>
243
  <div class="row form-group">
244
  <div class="col-md-6">
245
- <label for="ycd-countdown-text-size" class="ycd-label-of-select"><?php _e('font family', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
246
  </div>
247
- <div class="col-md-6 ycd-option-wrapper<?php echo $isPro; ?>">
248
  <?php echo AdminHelper::selectBox($defaultData['font-family'], esc_attr($typeObj->getOptionValue('ycd-simple-text-font-family')), array('name' => 'ycd-simple-text-font-family', 'class' => 'js-ycd-select js-simple-font-family ycd-custom-value-accordion', 'data-field-type' => 'label', 'data-custom' => 'customFont')); ?>
249
  </div>
250
  </div>
@@ -260,9 +260,9 @@ $defaultData = AdminHelper::defaultData();
260
  </div>
261
  <div class="row form-group">
262
  <div class="col-md-6">
263
- <label for="ycd-simple-text-color" class=""><?php _e('color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
264
  </div>
265
- <div class="col-md-6 ycd-option-wrapper<?php echo $isPro; ?>">
266
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
267
  <input type="text" id="ycd-simple-text-color" data-time-type="label" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-simple-text-color" class=" minicolors-input form-control js-ycd-simple-time-color" value="<?php echo esc_attr($typeObj->getOptionValue('ycd-simple-text-color')); ?>">
268
  </div>
@@ -270,7 +270,7 @@ $defaultData = AdminHelper::defaultData();
270
  </div>
271
  <div class="row form-group">
272
  <div class="col-md-4">
273
- <label for="ycd-simple-text-margin" class=""><?php _e('margin', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
274
  </div>
275
  <div class="col-md-2 ycd-option-wrapper">
276
  <label for="ycd-simple-text-margin-top" class="yrm-label">Top</label>
@@ -306,7 +306,7 @@ $defaultData = AdminHelper::defaultData();
306
  </div>
307
  <div class="col-md-6">
308
  <label class="ycd-switch">
309
- <input type="checkbox" id="enable-double-digits" data-time-type="hours" name="ycd-enable-simple-double-digits" class="ycd-accordion-checkbox" <?php echo $typeObj->getOptionValue('ycd-enable-simple-double-digits'); ?>>
310
  <span class="ycd-slider ycd-round"></span>
311
  </label>
312
  </div>
@@ -315,7 +315,7 @@ $defaultData = AdminHelper::defaultData();
315
  </div>
316
  <div class="col-md-6">
317
  <label class="ycd-switch">
318
- <input type="checkbox" id="text-to-top" name="ycd-text-to-top" class="ycd-accordion-checkbox" <?php echo $typeObj->getOptionValue('ycd-text-to-top'); ?>>
319
  <span class="ycd-slider ycd-round"></span>
320
  </label>
321
  </div>
27
  </div>
28
  <div class="col-md-6">
29
  <label class="ycd-switch">
30
+ <input type="checkbox" id="ycd-simple-enable-months" data-time-type="months" name="ycd-simple-enable-months" class="ycd-accordion-checkbox js-ycd-time-status" <?php echo esc_attr($typeObj->getOptionValue('ycd-simple-enable-months')); ?>>
31
  <span class="ycd-slider ycd-round"></span>
32
  </label>
33
  </div>
50
  </div>
51
  <div class="col-md-6">
52
  <label class="ycd-switch">
53
+ <input type="checkbox" id="ycd-simple-enable-days" data-time-type="days" name="ycd-simple-enable-days" class="ycd-accordion-checkbox js-ycd-time-status" <?php echo esc_attr($typeObj->getOptionValue('ycd-simple-enable-days')); ?>>
54
  <span class="ycd-slider ycd-round"></span>
55
  </label>
56
  </div>
75
  </div>
76
  <div class="col-md-6">
77
  <label class="ycd-switch">
78
+ <input type="checkbox" id="ycd-simple-enable-hours" data-time-type="hours" name="ycd-simple-enable-hours" class="ycd-accordion-checkbox js-ycd-time-status" <?php echo esc_attr($typeObj->getOptionValue('ycd-simple-enable-hours')); ?>>
79
  <span class="ycd-slider ycd-round"></span>
80
  </label>
81
  </div>
102
  </div>
103
  <div class="col-md-6">
104
  <label class="ycd-switch">
105
+ <input type="checkbox" id="ycd-simple-enable-minutes" data-time-type="minutes" name="ycd-simple-enable-minutes" class="ycd-accordion-checkbox js-ycd-time-status" <?php echo esc_attr($typeObj->getOptionValue('ycd-simple-enable-minutes')); ?>>
106
  <span class="ycd-slider ycd-round"></span>
107
  </label>
108
  </div>
127
  </div>
128
  <div class="col-md-6">
129
  <label class="ycd-switch">
130
+ <input type="checkbox" id="ycd-simple-enable-seconds" data-time-type="seconds" name="ycd-simple-enable-seconds" class="ycd-accordion-checkbox js-ycd-time-status" <?php echo esc_attr($typeObj->getOptionValue('ycd-simple-enable-seconds')); ?>>
131
  <span class="ycd-slider ycd-round"></span>
132
  </label>
133
  </div>
174
  </div>
175
  <div class="row form-group">
176
  <div class="col-md-6">
177
+ <label for="ycd-simple-numbers-font-family" class="ycd-label-of-select"><?php _e('font family', YCD_TEXT_DOMAIN);?></label>
178
  </div>
179
+ <div class="col-md-6 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
180
  <?php echo AdminHelper::selectBox($defaultData['font-family'], esc_attr($typeObj->getOptionValue('ycd-simple-numbers-font-family')), array('name' => 'ycd-simple-numbers-font-family', 'class' => 'js-ycd-select js-simple-font-family ycd-custom-value-accordion', 'data-field-type' => 'number', 'data-custom' => 'customFont')); ?>
181
  </div>
182
  </div>
192
  </div>
193
  <div class="row form-group">
194
  <div class="col-md-6">
195
+ <label for="ycd-simple-numbers-color" class=""><?php _e('color', YCD_TEXT_DOMAIN); ?></label>
196
  </div>
197
+ <div class="col-md-6 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
198
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
199
  <input type="text" id="ycd-simple-numbers-color" data-time-type="number" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-simple-numbers-color" class=" minicolors-input form-control js-ycd-simple-time-color" value="<?php echo esc_attr($typeObj->getOptionValue('ycd-simple-numbers-color')); ?>">
200
  </div>
202
  </div>
203
  <div class="row form-group">
204
  <div class="col-md-4">
205
+ <label for="ycd-simple-text-margin" class=""><?php _e('margin', YCD_TEXT_DOMAIN); ?></label>
206
  </div>
207
  <div class="col-md-2 ycd-option-wrapper">
208
  <label for="ycd-simple-numbers-margin-top" class="yrm-label">Top</label>
242
  </div>
243
  <div class="row form-group">
244
  <div class="col-md-6">
245
+ <label for="ycd-countdown-text-size" class="ycd-label-of-select"><?php _e('font family', YCD_TEXT_DOMAIN); ?></label>
246
  </div>
247
+ <div class="col-md-6 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
248
  <?php echo AdminHelper::selectBox($defaultData['font-family'], esc_attr($typeObj->getOptionValue('ycd-simple-text-font-family')), array('name' => 'ycd-simple-text-font-family', 'class' => 'js-ycd-select js-simple-font-family ycd-custom-value-accordion', 'data-field-type' => 'label', 'data-custom' => 'customFont')); ?>
249
  </div>
250
  </div>
260
  </div>
261
  <div class="row form-group">
262
  <div class="col-md-6">
263
+ <label for="ycd-simple-text-color" class=""><?php _e('color', YCD_TEXT_DOMAIN); ?></label>
264
  </div>
265
+ <div class="col-md-6 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
266
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
267
  <input type="text" id="ycd-simple-text-color" data-time-type="label" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-simple-text-color" class=" minicolors-input form-control js-ycd-simple-time-color" value="<?php echo esc_attr($typeObj->getOptionValue('ycd-simple-text-color')); ?>">
268
  </div>
270
  </div>
271
  <div class="row form-group">
272
  <div class="col-md-4">
273
+ <label for="ycd-simple-text-margin" class=""><?php _e('margin', YCD_TEXT_DOMAIN); ?></label>
274
  </div>
275
  <div class="col-md-2 ycd-option-wrapper">
276
  <label for="ycd-simple-text-margin-top" class="yrm-label">Top</label>
306
  </div>
307
  <div class="col-md-6">
308
  <label class="ycd-switch">
309
+ <input type="checkbox" id="enable-double-digits" data-time-type="hours" name="ycd-enable-simple-double-digits" class="ycd-accordion-checkbox" <?php echo esc_attr($typeObj->getOptionValue('ycd-enable-simple-double-digits')); ?>>
310
  <span class="ycd-slider ycd-round"></span>
311
  </label>
312
  </div>
315
  </div>
316
  <div class="col-md-6">
317
  <label class="ycd-switch">
318
+ <input type="checkbox" id="text-to-top" name="ycd-text-to-top" class="ycd-accordion-checkbox" <?php echo esc_attr($typeObj->getOptionValue('ycd-text-to-top')); ?>>
319
  <span class="ycd-slider ycd-round"></span>
320
  </label>
321
  </div>
assets/views/main/stickyMainView.php CHANGED
@@ -36,9 +36,9 @@ $stickyExpiration = $defaultData['stickyButtonExpiration'];
36
  </div>
37
  <div class="row form-group">
38
  <div class="col-md-6">
39
- <label class="ycd-label-of-input" for="ycd-sticky-button-bg-color"><?php _e('Background color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
40
  </div>
41
- <div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
42
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
43
  <input type="text" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-sticky-bg-color" class="minicolors-input form-control js-ycd-sticky-bg-color" value="<?php echo esc_attr($this->getOptionValue('ycd-sticky-bg-color')); ?>">
44
  </div>
@@ -46,9 +46,9 @@ $stickyExpiration = $defaultData['stickyButtonExpiration'];
46
  </div>
47
  <div class="row form-group">
48
  <div class="col-md-6">
49
- <label class="ycd-label-of-input" for="ycd-sticky-button-color"><?php _e('Text color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
50
  </div>
51
- <div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
52
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
53
  <input type="text" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-sticky-button-color" class="minicolors-input form-control js-ycd-sticky-color" value="<?php echo esc_attr($this->getOptionValue('ycd-sticky-button-color')); ?>">
54
  </div>
@@ -67,7 +67,6 @@ $stickyExpiration = $defaultData['stickyButtonExpiration'];
67
  <div class="ycd-multichoice-wrapper">
68
  <?php
69
  $multipleChoiceButton = new MultipleChoiceButton($stickyExpiration, esc_attr($this->getOptionValue('ycd-sticky-expire-behavior')));
70
- echo $multipleChoiceButton;
71
  ?>
72
  </div>
73
  </div>
@@ -86,7 +85,7 @@ $stickyExpiration = $defaultData['stickyButtonExpiration'];
86
  </div>
87
  <div class="col-md-6">
88
  <label class="ycd-switch">
89
- <input type="checkbox" id="ycd-sticky-button-redirect-new-tab" class="" name="ycd-sticky-button-redirect-new-tab" <?php echo $this->getOptionValue('ycd-sticky-button-redirect-new-tab'); ?>>
90
  <span class="ycd-slider ycd-round"></span>
91
  </label>
92
  </div>
@@ -107,7 +106,7 @@ $stickyExpiration = $defaultData['stickyButtonExpiration'];
107
  </div>
108
  <div class="col-md-6">
109
  <label class="ycd-switch">
110
- <input type="checkbox" id="ycd-sticky-copy-alert" name="ycd-sticky-copy-alert" class="ycd-accordion-checkbox" <?php echo $typeObj->getOptionValue('ycd-sticky-copy-alert'); ?>>
111
  <span class="ycd-slider ycd-round"></span>
112
  </label>
113
  </div>
@@ -130,7 +129,7 @@ $stickyExpiration = $defaultData['stickyButtonExpiration'];
130
  </div>
131
  <div class="col-md-6">
132
  <label class="ycd-switch">
133
- <input type="checkbox" id="ycd-sticky-button-padding-enable" class="ycd-accordion-checkbox" name="ycd-sticky-button-padding-enable" <?php echo $this->getOptionValue('ycd-sticky-button-padding-enable'); ?>>
134
  <span class="ycd-slider ycd-round"></span>
135
  </label>
136
  </div>
@@ -151,7 +150,7 @@ $stickyExpiration = $defaultData['stickyButtonExpiration'];
151
  </div>
152
  <div class="col-md-6">
153
  <label class="ycd-switch">
154
- <input type="checkbox" id="ycd-sticky-button-border-enable" class="ycd-sticky-button-border-enable ycd-accordion-checkbox" name="ycd-sticky-button-border-enable" <?php echo $this->getOptionValue('ycd-sticky-button-border-enable'); ?>>
155
  <span class="ycd-slider ycd-round"></span>
156
  </label>
157
  </div>
@@ -177,7 +176,7 @@ $stickyExpiration = $defaultData['stickyButtonExpiration'];
177
  <div class="col-md-6">
178
  <label class="ycd-label-of-input" for="ycd-sticky-button-border-color"><?php _e('Background color', YCD_TEXT_DOMAIN); ?></label>
179
  </div>
180
- <div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
181
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
182
  <input type="text" id="ycd-sticky-button-border-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-sticky-button-border-color" class="minicolors-input form-control js-ycd-sticky-color" value="<?php echo esc_attr($this->getOptionValue('ycd-sticky-button-border-color')); ?>">
183
  </div>
@@ -209,9 +208,9 @@ $stickyExpiration = $defaultData['stickyButtonExpiration'];
209
  </div>
210
  <div class="row form-group">
211
  <div class="col-md-6">
212
- <label class="ycd-label-of-input" for="ycd-sticky-text-color"><?php _e('Color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
213
  </div>
214
- <div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
215
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
216
  <input type="text" id="ycd-sticky-text-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-sticky-text-color" class="minicolors-input form-control js-ycd-sticky-color" value="<?php echo esc_attr($this->getOptionValue('ycd-sticky-text-color')); ?>">
217
  </div>
@@ -232,7 +231,7 @@ $stickyExpiration = $defaultData['stickyButtonExpiration'];
232
  <div class="ycd-multichoice-wrapper">
233
  <?php
234
  $multipleChoiceButton = new MultipleChoiceButton($defaultData['stickyCountdownMode'], esc_attr($this->getOptionValue('ycd-sticky-countdown-mode')));
235
- echo $multipleChoiceButton;
236
  ?>
237
  </div>
238
  <div id="ycd-sticky-countdown-custom" class="ycd-sub-option ycd-hide">
@@ -277,9 +276,9 @@ $stickyExpiration = $defaultData['stickyButtonExpiration'];
277
  </div>
278
  <div class="row form-group">
279
  <div class="col-md-6">
280
- <label class="ycd-label-of-input"><?php _e('Color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
281
  </div>
282
- <div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
283
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
284
  <input type="text" id="ycd-sticky-countdown-text-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-sticky-countdown-text-color" class="minicolors-input form-control js-ycd-sticky-color" value="<?php echo esc_attr($this->getOptionValue('ycd-sticky-countdown-text-color')); ?>">
285
  </div>
@@ -320,9 +319,9 @@ $stickyExpiration = $defaultData['stickyButtonExpiration'];
320
  <div class="ycd-sub-options-settings">
321
  <div class="row form-group">
322
  <div class="col-md-6">
323
- <label class="ycd-label-of-input"><?php _e('Background color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
324
  </div>
325
- <div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
326
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
327
  <input type="text" id="ycd-sticky-text-background-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-sticky-text-background-color" class="minicolors-input form-control js-ycd-sticky-color" value="<?php echo esc_attr($this->getOptionValue('ycd-sticky-text-background-color')); ?>">
328
  </div>
@@ -334,7 +333,7 @@ $stickyExpiration = $defaultData['stickyButtonExpiration'];
334
  </div>
335
  <div class="col-md-5">
336
  <label class="ycd-switch">
337
- <input type="checkbox" id="ycd-sticky-enable-close" class="ycd-accordion-checkbox" name="ycd-sticky-enable-close" <?php echo $this->getOptionValue('ycd-sticky-enable-close'); ?>>
338
  <span class="ycd-slider ycd-round"></span>
339
  </label>
340
  </div>
@@ -382,7 +381,7 @@ $stickyExpiration = $defaultData['stickyButtonExpiration'];
382
  </div>
383
  <div class="col-md-5">
384
  <label class="ycd-switch">
385
- <input type="checkbox" id="ycd-sticky-all-pages" name="ycd-sticky-all-pages" class="ycd-accordion-checkbox js-ycd-time-status" <?php echo $this->getOptionValue('ycd-sticky-all-pages'); ?>>
386
  <span class="ycd-slider ycd-round"></span>
387
  </label>
388
  </div>
36
  </div>
37
  <div class="row form-group">
38
  <div class="col-md-6">
39
+ <label class="ycd-label-of-input" for="ycd-sticky-button-bg-color"><?php _e('Background color', YCD_TEXT_DOMAIN); ?></label>
40
  </div>
41
+ <div class="col-md-5 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
42
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
43
  <input type="text" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-sticky-bg-color" class="minicolors-input form-control js-ycd-sticky-bg-color" value="<?php echo esc_attr($this->getOptionValue('ycd-sticky-bg-color')); ?>">
44
  </div>
46
  </div>
47
  <div class="row form-group">
48
  <div class="col-md-6">
49
+ <label class="ycd-label-of-input" for="ycd-sticky-button-color"><?php _e('Text color', YCD_TEXT_DOMAIN); ?></label>
50
  </div>
51
+ <div class="col-md-5 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
52
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
53
  <input type="text" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-sticky-button-color" class="minicolors-input form-control js-ycd-sticky-color" value="<?php echo esc_attr($this->getOptionValue('ycd-sticky-button-color')); ?>">
54
  </div>
67
  <div class="ycd-multichoice-wrapper">
68
  <?php
69
  $multipleChoiceButton = new MultipleChoiceButton($stickyExpiration, esc_attr($this->getOptionValue('ycd-sticky-expire-behavior')));
 
70
  ?>
71
  </div>
72
  </div>
85
  </div>
86
  <div class="col-md-6">
87
  <label class="ycd-switch">
88
+ <input type="checkbox" id="ycd-sticky-button-redirect-new-tab" class="" name="ycd-sticky-button-redirect-new-tab" <?php echo esc_attr($this->getOptionValue('ycd-sticky-button-redirect-new-tab')); ?>>
89
  <span class="ycd-slider ycd-round"></span>
90
  </label>
91
  </div>
106
  </div>
107
  <div class="col-md-6">
108
  <label class="ycd-switch">
109
+ <input type="checkbox" id="ycd-sticky-copy-alert" name="ycd-sticky-copy-alert" class="ycd-accordion-checkbox" <?php echo esc_attr($typeObj->getOptionValue('ycd-sticky-copy-alert')); ?>>
110
  <span class="ycd-slider ycd-round"></span>
111
  </label>
112
  </div>
129
  </div>
130
  <div class="col-md-6">
131
  <label class="ycd-switch">
132
+ <input type="checkbox" id="ycd-sticky-button-padding-enable" class="ycd-accordion-checkbox" name="ycd-sticky-button-padding-enable" <?php echo esc_attr($this->getOptionValue('ycd-sticky-button-padding-enable')); ?>>
133
  <span class="ycd-slider ycd-round"></span>
134
  </label>
135
  </div>
150
  </div>
151
  <div class="col-md-6">
152
  <label class="ycd-switch">
153
+ <input type="checkbox" id="ycd-sticky-button-border-enable" class="ycd-sticky-button-border-enable ycd-accordion-checkbox" name="ycd-sticky-button-border-enable" <?php echo esc_attr($this->getOptionValue('ycd-sticky-button-border-enable')); ?>>
154
  <span class="ycd-slider ycd-round"></span>
155
  </label>
156
  </div>
176
  <div class="col-md-6">
177
  <label class="ycd-label-of-input" for="ycd-sticky-button-border-color"><?php _e('Background color', YCD_TEXT_DOMAIN); ?></label>
178
  </div>
179
+ <div class="col-md-5 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
180
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
181
  <input type="text" id="ycd-sticky-button-border-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-sticky-button-border-color" class="minicolors-input form-control js-ycd-sticky-color" value="<?php echo esc_attr($this->getOptionValue('ycd-sticky-button-border-color')); ?>">
182
  </div>
208
  </div>
209
  <div class="row form-group">
210
  <div class="col-md-6">
211
+ <label class="ycd-label-of-input" for="ycd-sticky-text-color"><?php _e('Color', YCD_TEXT_DOMAIN); ?></label>
212
  </div>
213
+ <div class="col-md-5 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
214
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
215
  <input type="text" id="ycd-sticky-text-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-sticky-text-color" class="minicolors-input form-control js-ycd-sticky-color" value="<?php echo esc_attr($this->getOptionValue('ycd-sticky-text-color')); ?>">
216
  </div>
231
  <div class="ycd-multichoice-wrapper">
232
  <?php
233
  $multipleChoiceButton = new MultipleChoiceButton($defaultData['stickyCountdownMode'], esc_attr($this->getOptionValue('ycd-sticky-countdown-mode')));
234
+
235
  ?>
236
  </div>
237
  <div id="ycd-sticky-countdown-custom" class="ycd-sub-option ycd-hide">
276
  </div>
277
  <div class="row form-group">
278
  <div class="col-md-6">
279
+ <label class="ycd-label-of-input"><?php _e('Color', YCD_TEXT_DOMAIN); ?></label>
280
  </div>
281
+ <div class="col-md-5 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
282
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
283
  <input type="text" id="ycd-sticky-countdown-text-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-sticky-countdown-text-color" class="minicolors-input form-control js-ycd-sticky-color" value="<?php echo esc_attr($this->getOptionValue('ycd-sticky-countdown-text-color')); ?>">
284
  </div>
319
  <div class="ycd-sub-options-settings">
320
  <div class="row form-group">
321
  <div class="col-md-6">
322
+ <label class="ycd-label-of-input"><?php _e('Background color', YCD_TEXT_DOMAIN); ?></label>
323
  </div>
324
+ <div class="col-md-5 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
325
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
326
  <input type="text" id="ycd-sticky-text-background-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-sticky-text-background-color" class="minicolors-input form-control js-ycd-sticky-color" value="<?php echo esc_attr($this->getOptionValue('ycd-sticky-text-background-color')); ?>">
327
  </div>
333
  </div>
334
  <div class="col-md-5">
335
  <label class="ycd-switch">
336
+ <input type="checkbox" id="ycd-sticky-enable-close" class="ycd-accordion-checkbox" name="ycd-sticky-enable-close" <?php echo esc_attr($this->getOptionValue('ycd-sticky-enable-close')); ?>>
337
  <span class="ycd-slider ycd-round"></span>
338
  </label>
339
  </div>
381
  </div>
382
  <div class="col-md-5">
383
  <label class="ycd-switch">
384
+ <input type="checkbox" id="ycd-sticky-all-pages" name="ycd-sticky-all-pages" class="ycd-accordion-checkbox js-ycd-time-status" <?php echo esc_attr($this->getOptionValue('ycd-sticky-all-pages')); ?>>
385
  <span class="ycd-slider ycd-round"></span>
386
  </label>
387
  </div>
assets/views/main/timerMainView.php CHANGED
@@ -36,7 +36,7 @@ $textFontFamily = $this->getOptionValue('ycd-text-font-family');
36
  </div>
37
  <div class="col-md-6">
38
  <label class="ycd-switch">
39
- <input type="checkbox" id="ycd-countdown-timer-labels" name="ycd-countdown-timer-labels" class="ycd-accordion-checkbox" <?php echo $this->getOptionValue('ycd-countdown-timer-labels'); ?>>
40
  <span class="ycd-slider ycd-round"></span>
41
  </label>
42
  </div>
@@ -70,7 +70,7 @@ $textFontFamily = $this->getOptionValue('ycd-text-font-family');
70
  </div>
71
  <div class="col-md-6">
72
  <label class="ycd-switch">
73
- <input type="checkbox" id="ycd-countdown-timer-days" name="ycd-countdown-timer-days" class="ycd-accordion-checkbox" <?php echo $this->getOptionValue('ycd-countdown-timer-days'); ?>>
74
  <span class="ycd-slider ycd-round"></span>
75
  </label>
76
  </div>
@@ -92,7 +92,7 @@ $textFontFamily = $this->getOptionValue('ycd-text-font-family');
92
  </div>
93
  <div class="col-md-6">
94
  <label class="ycd-switch">
95
- <input type="checkbox" id="ycd-countdown-timer-milliseconds" name="ycd-countdown-timer-milliseconds" <?php echo $this->getOptionValue('ycd-countdown-timer-milliseconds'); ?>>
96
  <span class="ycd-slider ycd-round"></span>
97
  </label>
98
  </div>
@@ -103,7 +103,7 @@ $textFontFamily = $this->getOptionValue('ycd-text-font-family');
103
  </div>
104
  <div class="col-md-6">
105
  <label class="ycd-switch">
106
- <input type="checkbox" id="ycd-countdown-timer-button" name="ycd-countdown-timer-button" class="ycd-accordion-checkbox" <?php echo $this->getOptionValue('ycd-countdown-timer-button'); ?>>
107
  <span class="ycd-slider ycd-round"></span>
108
  </label>
109
  </div>
@@ -115,7 +115,7 @@ $textFontFamily = $this->getOptionValue('ycd-text-font-family');
115
  </div>
116
  <div class="col-md-4 ycd-timer-font-size">
117
  <label class="ycd-switch">
118
- <input type="checkbox" id="ycd-timer-auto-counting" name="ycd-timer-auto-counting" class="" <?php echo $this->getOptionValue('ycd-timer-auto-counting'); ?>>
119
  <span class="ycd-slider ycd-round"></span>
120
  </label>
121
  </div>
@@ -146,9 +146,9 @@ $textFontFamily = $this->getOptionValue('ycd-text-font-family');
146
  </div>
147
  <div class="row form-group">
148
  <div class="col-md-6">
149
- <label for="ycd-timer-stop-bg-color" ><?php _e('background color', YCD_TEXT_DOMAIN); echo $proSpan; ?> </label>
150
  </div>
151
- <div class="col-md-4 ycd-timer-font-size ycd-option-wrapper<?php echo $isPro; ?>">
152
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
153
  <input type="text" id="ycd-timer-stop-bg-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-timer-stop-bg-color" class="minicolors-input form-control js-ycd-timer-stop-bg-color" value="<?php echo esc_attr($this->getOptionValue('ycd-timer-stop-bg-color')); ?>">
154
  </div>
@@ -156,9 +156,9 @@ $textFontFamily = $this->getOptionValue('ycd-text-font-family');
156
  </div>
157
  <div class="row form-group">
158
  <div class="col-md-6">
159
- <label for="ycd-timer-stop-color" ><?php _e('color', YCD_TEXT_DOMAIN); echo $proSpan; ?> </label>
160
  </div>
161
- <div class="col-md-4 ycd-timer-font-size ycd-option-wrapper<?php echo $isPro; ?>">
162
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
163
  <input type="text" id="ycd-timer-stop-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-timer-stop-color" class="minicolors-input form-control js-ycd-timer-stop-color" value="<?php echo esc_attr($this->getOptionValue('ycd-timer-stop-color')); ?>">
164
  </div>
@@ -170,7 +170,7 @@ $textFontFamily = $this->getOptionValue('ycd-text-font-family');
170
  </div>
171
  <div class="col-md-4 ycd-timer-font-size">
172
  <label class="ycd-switch">
173
- <input type="checkbox" id="ycd-timer-reset-button" name="ycd-timer-reset-button" class="ycd-accordion-checkbox" <?php echo $this->getOptionValue('ycd-timer-reset-button'); ?>>
174
  <span class="ycd-slider ycd-round"></span>
175
  </label>
176
  </div>
@@ -194,20 +194,20 @@ $textFontFamily = $this->getOptionValue('ycd-text-font-family');
194
  </div>
195
  <div class="row form-group">
196
  <div class="col-md-6">
197
- <label for="ycd-timer-reset-button-run" ><?php _e('AutoPlay after restart', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
198
  </div>
199
- <div class="col-md-4 ycd-timer-font-size ycd-option-wrapper<?php echo $isPro; ?>">
200
  <label class="ycd-switch">
201
- <input type="checkbox" id="ycd-timer-reset-button-run" name="ycd-timer-reset-button-run" <?php echo $this->getOptionValue('ycd-timer-reset-button-run'); ?>>
202
  <span class="ycd-slider ycd-round"></span>
203
  </label>
204
  </div>
205
  </div>
206
  <div class="row form-group">
207
  <div class="col-md-6">
208
- <label for="ycd-timer-reset-bg-color" ><?php _e('background color', YCD_TEXT_DOMAIN); echo $proSpan; ?> </label>
209
  </div>
210
- <div class="col-md-4 ycd-timer-font-size ycd-option-wrapper<?php echo $isPro; ?>">
211
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
212
  <input type="text" id="ycd-timer-reset-bg-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-timer-reset-bg-color" class="minicolors-input form-control js-ycd-timer-reset-bg-color" value="<?php echo esc_attr($this->getOptionValue('ycd-timer-reset-bg-color')); ?>">
213
  </div>
@@ -215,9 +215,9 @@ $textFontFamily = $this->getOptionValue('ycd-text-font-family');
215
  </div>
216
  <div class="row form-group">
217
  <div class="col-md-6">
218
- <label for="ycd-timer-reset-color" ><?php _e('color', YCD_TEXT_DOMAIN); echo $proSpan; ?> </label>
219
  </div>
220
- <div class="col-md-4 ycd-timer-font-size ycd-option-wrapper<?php echo $isPro; ?>">
221
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
222
  <input type="text" id="ycd-timer-reset-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-timer-reset-color" class="minicolors-input form-control js-ycd-timer-reset-color" value="<?php echo esc_attr($this->getOptionValue('ycd-timer-reset-color')); ?>">
223
  </div>
@@ -231,7 +231,7 @@ $textFontFamily = $this->getOptionValue('ycd-text-font-family');
231
  </div>
232
  <div class="col-md-6">
233
  <label class="ycd-switch">
234
- <input type="checkbox" id="ycd-countdown-end-sound" name="ycd-countdown-end-sound" class="ycd-accordion-checkbox" <?php echo $this->getOptionValue('ycd-countdown-end-sound'); ?>>
235
  <span class="ycd-slider ycd-round"></span>
236
  </label>
237
  </div>
@@ -256,9 +256,9 @@ $textFontFamily = $this->getOptionValue('ycd-text-font-family');
256
  <!-- Timer end sound sub options end -->
257
  <div class="row form-group">
258
  <div class="col-md-6">
259
- <label for="ycd-countdown-text-size" class="ycd-label-of-select"><?php _e('Font Family', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
260
  </div>
261
- <div class="col-md-4 ycd-option-wrapper<?php echo $isPro; ?>">
262
  <?php echo AdminHelper::selectBox($defaultData['font-family'], esc_attr($textFontFamily), array('name' => 'ycd-text-font-family', 'class' => 'js-ycd-select js-countdown-font-family')); ?>
263
  </div>
264
  </div>
@@ -302,9 +302,9 @@ $textFontFamily = $this->getOptionValue('ycd-text-font-family');
302
  </div>
303
  <div class="row form-group">
304
  <div class="col-md-6">
305
- <label for="ycd-timer-color" ><?php _e('Numbers Color', YCD_TEXT_DOMAIN); echo $proSpan; ?> </label>
306
  </div>
307
- <div class="col-md-4 ycd-timer-font-size ycd-option-wrapper<?php echo $isPro; ?>">
308
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
309
  <input type="text" id="ycd-timer-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-timer-color" class="minicolors-input form-control js-ycd-timer-color" value="<?php echo esc_attr($this->getOptionValue('ycd-timer-color')); ?>">
310
  </div>
@@ -312,11 +312,11 @@ $textFontFamily = $this->getOptionValue('ycd-text-font-family');
312
  </div>
313
  <div class="row form-group">
314
  <div class="col-md-6">
315
- <label for="ycd-timer-bg-image" class="ycd-label-of-switch"><?php _e('Background Image', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
316
  </div>
317
- <div class="col-md-6 ycd-circles-width-wrapper ycd-option-wrapper<?php echo $isPro; ?>">
318
  <label class="ycd-switch">
319
- <input type="checkbox" id="ycd-timer-bg-image" name="ycd-timer-bg-image" class="ycd-accordion-checkbox js-ycd-bg-image" <?php echo $this->getOptionValue('ycd-timer-bg-image'); ?>>
320
  <span class="ycd-slider ycd-round"></span>
321
  </label>
322
  </div>
36
  </div>
37
  <div class="col-md-6">
38
  <label class="ycd-switch">
39
+ <input type="checkbox" id="ycd-countdown-timer-labels" name="ycd-countdown-timer-labels" class="ycd-accordion-checkbox" <?php echo esc_attr($this->getOptionValue('ycd-countdown-timer-labels')); ?>>
40
  <span class="ycd-slider ycd-round"></span>
41
  </label>
42
  </div>
70
  </div>
71
  <div class="col-md-6">
72
  <label class="ycd-switch">
73
+ <input type="checkbox" id="ycd-countdown-timer-days" name="ycd-countdown-timer-days" class="ycd-accordion-checkbox" <?php echo esc_attr($this->getOptionValue('ycd-countdown-timer-days')); ?>>
74
  <span class="ycd-slider ycd-round"></span>
75
  </label>
76
  </div>
92
  </div>
93
  <div class="col-md-6">
94
  <label class="ycd-switch">
95
+ <input type="checkbox" id="ycd-countdown-timer-milliseconds" name="ycd-countdown-timer-milliseconds" <?php echo esc_attr($this->getOptionValue('ycd-countdown-timer-milliseconds')); ?>>
96
  <span class="ycd-slider ycd-round"></span>
97
  </label>
98
  </div>
103
  </div>
104
  <div class="col-md-6">
105
  <label class="ycd-switch">
106
+ <input type="checkbox" id="ycd-countdown-timer-button" name="ycd-countdown-timer-button" class="ycd-accordion-checkbox" <?php echo esc_attr($this->getOptionValue('ycd-countdown-timer-button')); ?>>
107
  <span class="ycd-slider ycd-round"></span>
108
  </label>
109
  </div>
115
  </div>
116
  <div class="col-md-4 ycd-timer-font-size">
117
  <label class="ycd-switch">
118
+ <input type="checkbox" id="ycd-timer-auto-counting" name="ycd-timer-auto-counting" class="" <?php echo esc_attr($this->getOptionValue('ycd-timer-auto-counting')); ?>>
119
  <span class="ycd-slider ycd-round"></span>
120
  </label>
121
  </div>
146
  </div>
147
  <div class="row form-group">
148
  <div class="col-md-6">
149
+ <label for="ycd-timer-stop-bg-color" ><?php _e('background color', YCD_TEXT_DOMAIN); ?> </label>
150
  </div>
151
+ <div class="col-md-4 ycd-timer-font-size ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
152
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
153
  <input type="text" id="ycd-timer-stop-bg-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-timer-stop-bg-color" class="minicolors-input form-control js-ycd-timer-stop-bg-color" value="<?php echo esc_attr($this->getOptionValue('ycd-timer-stop-bg-color')); ?>">
154
  </div>
156
  </div>
157
  <div class="row form-group">
158
  <div class="col-md-6">
159
+ <label for="ycd-timer-stop-color" ><?php _e('color', YCD_TEXT_DOMAIN); ?> </label>
160
  </div>
161
+ <div class="col-md-4 ycd-timer-font-size ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
162
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
163
  <input type="text" id="ycd-timer-stop-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-timer-stop-color" class="minicolors-input form-control js-ycd-timer-stop-color" value="<?php echo esc_attr($this->getOptionValue('ycd-timer-stop-color')); ?>">
164
  </div>
170
  </div>
171
  <div class="col-md-4 ycd-timer-font-size">
172
  <label class="ycd-switch">
173
+ <input type="checkbox" id="ycd-timer-reset-button" name="ycd-timer-reset-button" class="ycd-accordion-checkbox" <?php echo esc_attr($this->getOptionValue('ycd-timer-reset-button')); ?>>
174
  <span class="ycd-slider ycd-round"></span>
175
  </label>
176
  </div>
194
  </div>
195
  <div class="row form-group">
196
  <div class="col-md-6">
197
+ <label for="ycd-timer-reset-button-run" ><?php _e('AutoPlay after restart', YCD_TEXT_DOMAIN); ?></label>
198
  </div>
199
+ <div class="col-md-4 ycd-timer-font-size ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
200
  <label class="ycd-switch">
201
+ <input type="checkbox" id="ycd-timer-reset-button-run" name="ycd-timer-reset-button-run" <?php echo esc_attr($this->getOptionValue('ycd-timer-reset-button-run')); ?>>
202
  <span class="ycd-slider ycd-round"></span>
203
  </label>
204
  </div>
205
  </div>
206
  <div class="row form-group">
207
  <div class="col-md-6">
208
+ <label for="ycd-timer-reset-bg-color" ><?php _e('background color', YCD_TEXT_DOMAIN); ?> </label>
209
  </div>
210
+ <div class="col-md-4 ycd-timer-font-size ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
211
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
212
  <input type="text" id="ycd-timer-reset-bg-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-timer-reset-bg-color" class="minicolors-input form-control js-ycd-timer-reset-bg-color" value="<?php echo esc_attr($this->getOptionValue('ycd-timer-reset-bg-color')); ?>">
213
  </div>
215
  </div>
216
  <div class="row form-group">
217
  <div class="col-md-6">
218
+ <label for="ycd-timer-reset-color" ><?php _e('color', YCD_TEXT_DOMAIN); ?> </label>
219
  </div>
220
+ <div class="col-md-4 ycd-timer-font-size ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
221
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
222
  <input type="text" id="ycd-timer-reset-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-timer-reset-color" class="minicolors-input form-control js-ycd-timer-reset-color" value="<?php echo esc_attr($this->getOptionValue('ycd-timer-reset-color')); ?>">
223
  </div>
231
  </div>
232
  <div class="col-md-6">
233
  <label class="ycd-switch">
234
+ <input type="checkbox" id="ycd-countdown-end-sound" name="ycd-countdown-end-sound" class="ycd-accordion-checkbox" <?php echo esc_attr($this->getOptionValue('ycd-countdown-end-sound')); ?>>
235
  <span class="ycd-slider ycd-round"></span>
236
  </label>
237
  </div>
256
  <!-- Timer end sound sub options end -->
257
  <div class="row form-group">
258
  <div class="col-md-6">
259
+ <label for="ycd-countdown-text-size" class="ycd-label-of-select"><?php _e('Font Family', YCD_TEXT_DOMAIN); ?></label>
260
  </div>
261
+ <div class="col-md-4 ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
262
  <?php echo AdminHelper::selectBox($defaultData['font-family'], esc_attr($textFontFamily), array('name' => 'ycd-text-font-family', 'class' => 'js-ycd-select js-countdown-font-family')); ?>
263
  </div>
264
  </div>
302
  </div>
303
  <div class="row form-group">
304
  <div class="col-md-6">
305
+ <label for="ycd-timer-color" ><?php _e('Numbers Color', YCD_TEXT_DOMAIN); ?> </label>
306
  </div>
307
+ <div class="col-md-4 ycd-timer-font-size ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
308
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
309
  <input type="text" id="ycd-timer-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-timer-color" class="minicolors-input form-control js-ycd-timer-color" value="<?php echo esc_attr($this->getOptionValue('ycd-timer-color')); ?>">
310
  </div>
312
  </div>
313
  <div class="row form-group">
314
  <div class="col-md-6">
315
+ <label for="ycd-timer-bg-image" class="ycd-label-of-switch"><?php _e('Background Image', YCD_TEXT_DOMAIN); ?></label>
316
  </div>
317
+ <div class="col-md-6 ycd-circles-width-wrapper ycd-option-wrapper<?php echo esc_attr($isPro); ?>">
318
  <label class="ycd-switch">
319
+ <input type="checkbox" id="ycd-timer-bg-image" name="ycd-timer-bg-image" class="ycd-accordion-checkbox js-ycd-bg-image" <?php echo esc_attr($this->getOptionValue('ycd-timer-bg-image')); ?>>
320
  <span class="ycd-slider ycd-round"></span>
321
  </label>
322
  </div>
assets/views/morePlugins.php CHANGED
@@ -15,7 +15,7 @@ $randomNumbers = AdminHelper::getPluginActivationUrl('random-numbers-builder');
15
  <a href="https://wordpress.org/plugins/random-numbers-builder/" target="_blank">Random numbers – WordPress Random numbers builder plugin</a>
16
  <div class="action-links">
17
  <span class="plugin-action-buttons">
18
- <a class="install-now button" data-slug="countdown-builder" href="<?php echo $randomNumbers; ?>">Install Now</a>
19
  </span>
20
  </div>
21
  </h4>
@@ -34,7 +34,7 @@ $randomNumbers = AdminHelper::getPluginActivationUrl('random-numbers-builder');
34
  <a href="https://wordpress.org/plugins/expand-maker/" target="_blank">Read More</a>
35
  <div class="action-links">
36
  <span class="plugin-action-buttons">
37
- <a class="install-now button" data-slug="expand-maker" href="<?php echo $expandMaker; ?>">Install Now</a>
38
  </span>
39
  </div>
40
  </h4>
@@ -53,7 +53,7 @@ $randomNumbers = AdminHelper::getPluginActivationUrl('random-numbers-builder');
53
  <a href="https://wordpress.org/plugins/ydn-download/" target="_blank">Download,Digital Downloads,Download Manager,Download Monitor</a>
54
  <div class="action-links">
55
  <span class="plugin-action-buttons">
56
- <a class="install-now button" data-slug="countdown-builder" href="<?php echo $downloaderURL; ?>">Install Now</a>
57
  </span>
58
  </div>
59
  </h4>
@@ -72,7 +72,7 @@ $randomNumbers = AdminHelper::getPluginActivationUrl('random-numbers-builder');
72
  <a href="https://wordpress.org/plugins/scroll-to-top-builder/" target="_blank">Scroll to Top – WordPress Scroll to Top plugin.</a>
73
  <div class="action-links">
74
  <span class="plugin-action-buttons">
75
- <a class="install-now button" data-slug="countdown-builder" href="<?php echo $scrollToTop; ?>">Install Now</a>
76
  </span>
77
  </div>
78
  </h4>
@@ -91,7 +91,7 @@ $randomNumbers = AdminHelper::getPluginActivationUrl('random-numbers-builder');
91
  <a href="https://wordpress.org/plugins/contact-form-master/" target="_blank">Contact Form</a>
92
  <div class="action-links">
93
  <span class="plugin-action-buttons">
94
- <a class="install-now button" data-slug="contact-form-master" href="<?php echo $contactFormUrl; ?>">Install Now</a>
95
  </span>
96
  </div>
97
  </h4>
15
  <a href="https://wordpress.org/plugins/random-numbers-builder/" target="_blank">Random numbers – WordPress Random numbers builder plugin</a>
16
  <div class="action-links">
17
  <span class="plugin-action-buttons">
18
+ <a class="install-now button" data-slug="countdown-builder" href="<?php echo esc_attr($randomNumbers); ?>">Install Now</a>
19
  </span>
20
  </div>
21
  </h4>
34
  <a href="https://wordpress.org/plugins/expand-maker/" target="_blank">Read More</a>
35
  <div class="action-links">
36
  <span class="plugin-action-buttons">
37
+ <a class="install-now button" data-slug="expand-maker" href="<?php echo esc_attr($expandMaker); ?>">Install Now</a>
38
  </span>
39
  </div>
40
  </h4>
53
  <a href="https://wordpress.org/plugins/ydn-download/" target="_blank">Download,Digital Downloads,Download Manager,Download Monitor</a>
54
  <div class="action-links">
55
  <span class="plugin-action-buttons">
56
+ <a class="install-now button" data-slug="countdown-builder" href="<?php echo esc_attr($downloaderURL); ?>">Install Now</a>
57
  </span>
58
  </div>
59
  </h4>
72
  <a href="https://wordpress.org/plugins/scroll-to-top-builder/" target="_blank">Scroll to Top – WordPress Scroll to Top plugin.</a>
73
  <div class="action-links">
74
  <span class="plugin-action-buttons">
75
+ <a class="install-now button" data-slug="countdown-builder" href="<?php echo esc_attr($scrollToTop); ?>">Install Now</a>
76
  </span>
77
  </div>
78
  </h4>
91
  <a href="https://wordpress.org/plugins/contact-form-master/" target="_blank">Contact Form</a>
92
  <div class="action-links">
93
  <span class="plugin-action-buttons">
94
+ <a class="install-now button" data-slug="contact-form-master" href="<?php echo esc_attr($contactFormUrl); ?>">Install Now</a>
95
  </span>
96
  </div>
97
  </h4>
assets/views/preview/circlePreview.php CHANGED
@@ -1,3 +1,3 @@
1
  <?php
2
- echo $typeObj->getViewContent();
3
  ?>
1
  <?php
2
+ $typeObj->getViewContent();
3
  ?>
assets/views/preview/timerPreview.php CHANGED
@@ -1,2 +1,2 @@
1
  <?php
2
- echo $this->getViewContent();
1
  <?php
2
+ $this->getViewContent();
assets/views/progressBar.php CHANGED
@@ -11,7 +11,7 @@ $isPro = '';
11
  </div>
12
  <div class="col-md-6">
13
  <label class="ycd-switch">
14
- <input type="checkbox" id="ycd-countdown-enable-progress" data-id="<?php echo esc_attr($id);?>" name="ycd-countdown-enable-progress" class="" <?php echo $this->getOptionValue('ycd-countdown-enable-progress'); ?> >
15
  <span class="ycd-slider ycd-round"></span>
16
  </label>
17
  </div>
@@ -28,23 +28,23 @@ $isPro = '';
28
  <div class="col-md-6">
29
  <label for="ycd-progress-width" class=""><?php _e('Width', YCD_TEXT_DOMAIN); ?></label>
30
  </div>
31
- <div class="col-md-6 ycd-option-wrapper<?php echo $isPro; ?>">
32
- <input type="text" name="ycd-progress-width" class="form-control" id="ycd-progress-width" value="<?php echo $this->getOptionValue('ycd-progress-width'); ?>">
33
  </div>
34
  </div>
35
  <div class="row form-group">
36
  <div class="col-md-6">
37
  <label for="ycd-progress-height" class=""><?php _e('Height', YCD_TEXT_DOMAIN); ?></label>
38
  </div>
39
- <div class="col-md-6 ycd-option-wrapper<?php echo $isPro; ?>">
40
- <input type="text" name="ycd-progress-height" class="form-control" id="ycd-progress-height" value="<?php echo $this->getOptionValue('ycd-progress-height'); ?>">
41
  </div>
42
  </div>
43
  <div class="row form-group">
44
  <div class="col-md-6">
45
  <label for="ycd-progress-main-color" class=""><?php _e('Background Color', YCD_TEXT_DOMAIN); ?></label>
46
  </div>
47
- <div class="col-md-6 ycd-option-wrapper<?php echo $isPro; ?>">
48
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
49
  <input type="text" id="ycd-progress-main-color" data-type="bgColor" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-progress-main-color" class="minicolors-input form-control js-ycd-progress-main-color" value="<?php echo esc_attr($this->getOptionValue('ycd-progress-main-color')); ?>">
50
  </div>
@@ -54,7 +54,7 @@ $isPro = '';
54
  <div class="col-md-6">
55
  <label for="ycd-progress-color" class=""><?php _e('Progress Color', YCD_TEXT_DOMAIN); ?></label>
56
  </div>
57
- <div class="col-md-6 ycd-option-wrapper<?php echo $isPro; ?>">
58
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
59
  <input type="text" id="ycd-progress-color" data-type="progressColor" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-progress-color" class="minicolors-input form-control js-ycd-progress-color" value="<?php echo esc_attr($this->getOptionValue('ycd-progress-color')); ?>">
60
  </div>
@@ -64,7 +64,7 @@ $isPro = '';
64
  <div class="col-md-6">
65
  <label for="ycd-progress-text-color" class=""><?php _e('Progress Text Color', YCD_TEXT_DOMAIN); ?></label>
66
  </div>
67
- <div class="col-md-6 ycd-option-wrapper<?php echo $isPro; ?>">
68
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
69
  <input type="text" id="ycd-progress-text-color" data-type="color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-progress-text-color" class="minicolors-input form-control js-ycd-progress-text-color" value="<?php echo esc_attr($this->getOptionValue('ycd-progress-text-color')); ?>">
70
  </div>
11
  </div>
12
  <div class="col-md-6">
13
  <label class="ycd-switch">
14
+ <input type="checkbox" id="ycd-countdown-enable-progress" data-id="<?php echo esc_attr($id);?>" name="ycd-countdown-enable-progress" class="" <?php echo esc_attr($this->getOptionValue('ycd-countdown-enable-progress')); ?> >
15
  <span class="ycd-slider ycd-round"></span>
16
  </label>
17
  </div>
28
  <div class="col-md-6">
29
  <label for="ycd-progress-width" class=""><?php _e('Width', YCD_TEXT_DOMAIN); ?></label>
30
  </div>
31
+ <div class="col-md-6 ycd-option-wrapper<?php echo esc_attr($isPro) ?>">
32
+ <input type="text" name="ycd-progress-width" class="form-control" id="ycd-progress-width" value="<?php echo esc_attr($this->getOptionValue('ycd-progress-width')); ?>">
33
  </div>
34
  </div>
35
  <div class="row form-group">
36
  <div class="col-md-6">
37
  <label for="ycd-progress-height" class=""><?php _e('Height', YCD_TEXT_DOMAIN); ?></label>
38
  </div>
39
+ <div class="col-md-6 ycd-option-wrapper<?php echo esc_attr($isPro) ?>">
40
+ <input type="text" name="ycd-progress-height" class="form-control" id="ycd-progress-height" value="<?php echo esc_attr($this->getOptionValue('ycd-progress-height')); ?>">
41
  </div>
42
  </div>
43
  <div class="row form-group">
44
  <div class="col-md-6">
45
  <label for="ycd-progress-main-color" class=""><?php _e('Background Color', YCD_TEXT_DOMAIN); ?></label>
46
  </div>
47
+ <div class="col-md-6 ycd-option-wrapper<?php echo esc_attr($isPro) ?>">
48
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
49
  <input type="text" id="ycd-progress-main-color" data-type="bgColor" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-progress-main-color" class="minicolors-input form-control js-ycd-progress-main-color" value="<?php echo esc_attr($this->getOptionValue('ycd-progress-main-color')); ?>">
50
  </div>
54
  <div class="col-md-6">
55
  <label for="ycd-progress-color" class=""><?php _e('Progress Color', YCD_TEXT_DOMAIN); ?></label>
56
  </div>
57
+ <div class="col-md-6 ycd-option-wrapper<?php echo esc_attr($isPro) ?>">
58
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
59
  <input type="text" id="ycd-progress-color" data-type="progressColor" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-progress-color" class="minicolors-input form-control js-ycd-progress-color" value="<?php echo esc_attr($this->getOptionValue('ycd-progress-color')); ?>">
60
  </div>
64
  <div class="col-md-6">
65
  <label for="ycd-progress-text-color" class=""><?php _e('Progress Text Color', YCD_TEXT_DOMAIN); ?></label>
66
  </div>
67
+ <div class="col-md-6 ycd-option-wrapper<?php echo esc_attr($isPro) ?>">
68
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
69
  <input type="text" id="ycd-progress-text-color" data-type="color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-progress-text-color" class="minicolors-input form-control js-ycd-progress-text-color" value="<?php echo esc_attr($this->getOptionValue('ycd-progress-text-color')); ?>">
70
  </div>
assets/views/subscriptionSection.php CHANGED
@@ -5,7 +5,7 @@
5
  </div>
6
  <div class="col-md-6">
7
  <label class="ycd-switch">
8
- <input type="checkbox" id="ycd-enable-subscribe-form" name="ycd-enable-subscribe-form" class="ycd-enable-subscribe-form" <?php echo $this->getOptionValue('ycd-enable-subscribe-form'); ?>>
9
  <span class="ycd-slider ycd-round"></span>
10
  </label>
11
  </div>
@@ -15,7 +15,7 @@
15
  <label for="ycd-subscribe-width" class="ycd-label-of-input"><?php _e('Subscribe Form Width', YCD_TEXT_DOMAIN); ?></label>
16
  </div>
17
  <div class="col-md-6">
18
- <input type="text" name="ycd-subscribe-width" class="form-control" id="ycd-subscribe-width" value="<?php echo $this->getOptionValue('ycd-subscribe-width'); ?>">
19
  </div>
20
  </div>
21
  <div class="row form-group">
5
  </div>
6
  <div class="col-md-6">
7
  <label class="ycd-switch">
8
+ <input type="checkbox" id="ycd-enable-subscribe-form" name="ycd-enable-subscribe-form" class="ycd-enable-subscribe-form" <?php echo esc_attr($this->getOptionValue('ycd-enable-subscribe-form')); ?>>
9
  <span class="ycd-slider ycd-round"></span>
10
  </label>
11
  </div>
15
  <label for="ycd-subscribe-width" class="ycd-label-of-input"><?php _e('Subscribe Form Width', YCD_TEXT_DOMAIN); ?></label>
16
  </div>
17
  <div class="col-md-6">
18
+ <input type="text" name="ycd-subscribe-width" class="form-control" id="ycd-subscribe-width" value="<?php echo esc_attr($this->getOptionValue('ycd-subscribe-width')); ?>">
19
  </div>
20
  </div>
21
  <div class="row form-group">
assets/views/types.php CHANGED
@@ -30,7 +30,7 @@ $extensionsResult = AdminHelper::separateToActiveAndNotActive($currentExtensions
30
  <?php
31
  $videoUrl = AdminHelper::getCountdownYoutubeUrl($type);
32
  if(!$type->isAvailable() && !empty($videoUrl)): ?>
33
- <span class="ycd-play-promotion-video" data-href="<?php echo $videoUrl; ?>"></span>
34
  <?php endif; ?>
35
  </div>
36
  </div>
@@ -46,10 +46,10 @@ $extensionsResult = AdminHelper::separateToActiveAndNotActive($currentExtensions
46
  <?php foreach ($extensionsResult['passive'] as $extension): ?>
47
  <a class="create-countdown-link" <?php echo AdminHelper::buildCreateCountdownAttrs($type); ?> href="<?php echo YCD_COUNTDOWN_PRO_URL.'#yrm-analytics'; ?>">
48
  <div class="countdowns-div">
49
- <div class="ycd-type-div <?php echo $extension['shortKey']?>-countdown-pro ycd-pro-version"></div>
50
  <p class="ycd-type-title-pro ycd-type-title-extensions-pro"><?php echo __('PRO EXTENSION', YCD_TEXT_DOMAIN); ?></p>
51
  <div class="ycd-type-view-footer">
52
- <span class="ycd-promotion-video"><?php echo $extension['boxTitle']; ?></span>
53
  <?php if(!empty($extension['videoURL'])): ?>
54
  <span class="ycd-play-promotion-video" data-href="<?php echo esc_attr($extension['videoURL']); ?>"></span>
55
  <?php endif; ?>
30
  <?php
31
  $videoUrl = AdminHelper::getCountdownYoutubeUrl($type);
32
  if(!$type->isAvailable() && !empty($videoUrl)): ?>
33
+ <span class="ycd-play-promotion-video" data-href="<?php echo esc_attr($videoUrl); ?>"></span>
34
  <?php endif; ?>
35
  </div>
36
  </div>
46
  <?php foreach ($extensionsResult['passive'] as $extension): ?>
47
  <a class="create-countdown-link" <?php echo AdminHelper::buildCreateCountdownAttrs($type); ?> href="<?php echo YCD_COUNTDOWN_PRO_URL.'#yrm-analytics'; ?>">
48
  <div class="countdowns-div">
49
+ <div class="ycd-type-div <?php echo esc_attr($extension['shortKey']);?>-countdown-pro ycd-pro-version"></div>
50
  <p class="ycd-type-title-pro ycd-type-title-extensions-pro"><?php echo __('PRO EXTENSION', YCD_TEXT_DOMAIN); ?></p>
51
  <div class="ycd-type-view-footer">
52
+ <span class="ycd-promotion-video"><?php echo esc_attr($extension['boxTitle']); ?></span>
53
  <?php if(!empty($extension['videoURL'])): ?>
54
  <span class="ycd-play-promotion-video" data-href="<?php echo esc_attr($extension['videoURL']); ?>"></span>
55
  <?php endif; ?>
classes/Ajax.php CHANGED
@@ -93,9 +93,7 @@ class Ajax {
93
  $message .= '<b>version</b>: '.YcdCountdownConfig::getVersionString().'<br>';
94
 
95
  $sendStatus = wp_mail('adamskaat1@gmail.com', 'Web site support', $message, $headers);
96
-
97
- echo $sendStatus;
98
- die();
99
  }
100
 
101
  public function switchCountdown() {
@@ -147,7 +145,7 @@ class Ajax {
147
  $childClassName = __NAMESPACE__.'\\'.$childClassName;
148
  $obj = new $childClassName();
149
 
150
- echo $obj->renderConditionRowFromParam($selectedParams, $conditionId);
151
  wp_die();
152
  }
153
  }
93
  $message .= '<b>version</b>: '.YcdCountdownConfig::getVersionString().'<br>';
94
 
95
  $sendStatus = wp_mail('adamskaat1@gmail.com', 'Web site support', $message, $headers);
96
+ die(1);
 
 
97
  }
98
 
99
  public function switchCountdown() {
145
  $childClassName = __NAMESPACE__.'\\'.$childClassName;
146
  $obj = new $childClassName();
147
 
148
+ $obj->renderConditionRowFromParam($selectedParams, $conditionId);
149
  wp_die();
150
  }
151
  }
classes/IncludeManager.php CHANGED
@@ -71,7 +71,7 @@ class IncludeManager {
71
  $content = $countdown->addToContent();
72
 
73
  add_action('wp_head',function() use ($content) {
74
- echo $content;
75
  });
76
  }
77
  }
71
  $content = $countdown->addToContent();
72
 
73
  add_action('wp_head',function() use ($content) {
74
+ return $content;
75
  });
76
  }
77
  }
classes/countdown/CircleCountdown.php CHANGED
@@ -168,7 +168,7 @@ class CircleCountdown extends Countdown {
168
  $styles = ob_get_contents();
169
  ob_get_clean();
170
 
171
- echo $styles;
172
  }
173
 
174
  public function addToContent() {
@@ -196,7 +196,7 @@ class CircleCountdown extends Countdown {
196
  ob_start();
197
  ?>
198
  <div class="ycd-circle-<?php echo esc_attr($id); ?>-wrapper ycd-circle-wrapper">
199
- <div id="ycd-circle-<?php echo esc_attr($id); ?>" class="ycd-time-circle" data-options='<?php echo $prepareOptions; ?>' data-all-options='<?php echo $allDataOptions; ?>' data-timer="<?php echo esc_attr($seconds) ?>" style="<?php echo esc_attr($bgImageStyleStr); ?> width: <?php echo esc_attr($width); ?>; height: 100%; padding: 0; box-sizing: border-box; background-color: inherit"></div>
200
  </div>
201
  <?php
202
  $content .= ob_get_contents();
168
  $styles = ob_get_contents();
169
  ob_get_clean();
170
 
171
+ return $styles;
172
  }
173
 
174
  public function addToContent() {
196
  ob_start();
197
  ?>
198
  <div class="ycd-circle-<?php echo esc_attr($id); ?>-wrapper ycd-circle-wrapper">
199
+ <div id="ycd-circle-<?php echo esc_attr($id); ?>" class="ycd-time-circle" data-options='<?php echo esc_attr($prepareOptions); ?>' data-all-options='<?php echo esc_attr($allDataOptions); ?>' data-timer="<?php echo esc_attr($seconds) ?>" style="<?php echo esc_attr($bgImageStyleStr); ?> width: <?php echo esc_attr($width); ?>; height: 100%; padding: 0; box-sizing: border-box; background-color: inherit"></div>
200
  </div>
201
  <?php
202
  $content .= ob_get_contents();
classes/countdown/SimpleCountdown.php CHANGED
@@ -141,9 +141,9 @@ class SimpleCountdown extends Countdown
141
  ?>
142
  <div class="ycd-simple-current-unite-wrapper ycd-simple-current-unite-<?php echo esc_attr($unite); ?> <?php echo esc_attr($hideUnite)?>">
143
  <div class="ycd-simple-current-unite"><!-- -->
144
- <?php echo ($textToTop ? $this->timeUnitText($unite): ''); ?>
145
- <?php echo $this->timeUnitNumber($unite); ?><!--
146
- --><?php echo (!$textToTop ? $this->timeUnitText($unite): ''); ?>
147
  </div>
148
  <?php if ($unite != 'seconds'): ?>
149
  <div class="ycd-simple-timer-dots <?php echo esc_attr($hideDotsClassName); ?>">:</div>
@@ -209,8 +209,8 @@ class SimpleCountdown extends Countdown
209
  ob_start();
210
  ?>
211
  <div class="ycd-countdown-wrapper ycd-simple-content-wrapper ycd-simple-content-wrapper-<?php echo esc_attr($id); ?>">
212
- <div class="ycd-simple-time ycd-simple-container ycd-simple-wrapper-<?php echo esc_attr($id); ?>" data-options='<?php echo $options; ?>' data-id="<?php echo esc_attr($id); ?>">
213
- <?php echo $this->render(); ?>
214
  </div>
215