1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
|
<?php if(isset($_GET['author'])) $author = true; else $author = false; $author_extend = ''; if($author) $author_extend = '&author'; ?>
<div class="wrap about-wrap bsf-page-wrapper ultimate-smooth-scroll bend"> <div class="wrap-container"> <div class="bend-heading-section ultimate-header"> <h1><?php _e( "Product License", "ultimate_vc" ); ?></h1> <h3><?php _e( "Let's activate your license of Ultimate Addons for WPBakery Page Builder that enable you automatic updates, direct support and many other benefits.", "ultimate_vc" ); ?></h3> <div class="bend-head-logo"> <div class="bend-product-ver"> <?php _e( "Version", "ultimate_vc" ); echo ' '.ULTIMATE_VERSION; ?> </div> </div> </div><!-- bend-heading section -->
<div id="msg"></div> <div id="bsf-message"></div>
<div class="bend-content-wrap"> <div class="smile-settings-wrapper"> <h2 class="nav-tab-wrapper"> <a href="<?php echo admin_url('admin.php?page=about-ultimate'.$author_extend); ?>" data-tab="about-ultimate" class="nav-tab"> <?php echo __('About','ultimate_vc'); ?> </a> <a href="<?php echo admin_url('admin.php?page=ultimate-dashboard'.$author_extend); ?>" data-tab="ultimate-modules" class="nav-tab"> <?php echo __('Elements','ultimate_vc'); ?> </a> <a href="<?php echo admin_url('admin.php?page=ultimate-smoothscroll'.$author_extend); ?>" data-tab="css-settings" class="nav-tab"> <?php echo __('Smooth Scroll','ultimate_vc'); ?> </a> <a href="<?php echo admin_url('admin.php?page=ultimate-scripts-and-styles'.$author_extend); ?>" data-tab="css-settings" class="nav-tab"> <?php echo __('Scripts and Styles','ultimate_vc'); ?> </a> <?php if($author) : ?> <a href="<?php echo admin_url('admin.php?page=ultimate-debug-settings'); ?>" data-tab="ultimate-debug" class="nav-tab"> Debug </a> <?php endif; ?> </h2> </div><!-- smile-settings-wrapper -->
</hr>
<div class="container ultimate-content"> <div class="col-md-12"> <?php
$product_id = bsf_extract_product_id( __ULTIMATE_ROOT__ );
$args = array( 'product_id' => $product_id, 'submit_button_class' => 'uavc_submit_license button-primary button-hero' );
echo bsf_envato_register( $args ); ?> </div> <!--col-md-12 --> </div> <!-- ultimate-content --> </div> <!-- bend-content-wrap --> </div> <!-- .wrap-container --> </div> <!-- .bend -->
<style type="text/css">
.bsf-license-key-registration { max-width: 450px; margin-top: 30px; }
.license-error-heading.bsf-license-not-active-6892199 { display: block; padding: 10px 20px; background: #d54e21; color: #fff; font-size: 13px; font-weight: normal; }
.bsf-license-not-active-6892199 span { color: #ae5842; font-style: italic; }
/* Bad but temorary CSS */ /*.bsf-license-key-registration input.button.uavc_submit_license.button-primary { display: inline-block !important; text-decoration: none !important; font-size: 13px !important; line-height: 26px !important; height: 28px !important; margin: 0 !important; padding: 0 10px 1px !important; cursor: pointer !important; border-width: 1px !important; border-style: solid !important; -webkit-appearance: none !important; -webkit-border-radius: 3px !important; border-radius: 3px !important; white-space: nowrap !important; -webkit-box-sizing: border-box !important; -moz-box-sizing: border-box !important; box-sizing: border-box !important; margin-top: 20px !important; }*/
.bsf-license-key-registration h2, .bsf-license-key-registration h3 { color: #23282d; font-size: 1.3em; }
.bsf-license-active-6892199 span { color: #3cb341; font-style: italic; }
.bsf-license-message { margin-top: 20px; display: inline-block; background: white; padding: 10px; font-size: 14px; }
.license-success { border-left: 5px solid green; }
.license-error { border-left: 5px solid red; }
.bsf-current-license-error-6892199, .bsf-current-license-error-6892199 h2, .bsf-current-license-success-6892199 { text-align: left; margin: 20px 0; display: block; }
.bsf-current-license-error-6892199 { color: #cc0808; }
.bsf-license-key-registration .bsf-license-form-6892199.bsf-license-not-active-6892199 input.button.uavc_submit_license.button-primary { margin-top: 0 !important; }
</style>
|