Changeset 2979935
- Timestamp:
- 10/17/2023 08:43:54 AM (2 years ago)
- Location:
- nd-shortcodes
- Files:
-
- 4 edited
-
tags/7.1/inc/settings/admin-style.css (modified) (2 diffs)
-
tags/7.1/inc/settings/import-elementor/index.php (modified) (12 diffs)
-
trunk/inc/settings/admin-style.css (modified) (2 diffs)
-
trunk/inc/settings/import-elementor/index.php (modified) (12 diffs)
Legend:
- Unmodified
- Added
- Removed
-
nd-shortcodes/tags/7.1/inc/settings/admin-style.css
r2976967 r2979935 26 26 .nd_options_background_color_E7E7E7 { background-color: #E7E7E7; } 27 27 .nd_options_background_color_2271b1 { background-color: #2271b1; } 28 .nd_options_background_color_d6363917 { background-color: #d6363917; } 28 29 29 30 /*border*/ … … 60 61 .nd_options_padding_left_2 { padding-left: 2px; } 61 62 .nd_options_padding_left_20 { padding-left: 20px; } 63 .nd_options_padding_bottom_40 { padding-bottom: 40px; } 64 62 65 63 66 /*margin*/ -
nd-shortcodes/tags/7.1/inc/settings/import-elementor/index.php
r2976967 r2979935 187 187 188 188 $nd_options_step_demo_2 .= ' 189 <div class="nd_options_section ">';189 <div class="nd_options_section nd_options_padding_bottom_40">'; 190 190 191 191 //start foreach … … 194 194 foreach( $nd_options_import_demos->demo as $nd_options_import_demo ) { 195 195 196 //elementorpro 197 $nd_options_elementorpro = $nd_options_import_demo->elementorpro; 198 if ( $nd_options_elementorpro == "" ) { $nd_options_elementorpro = 0; } 196 199 197 200 if ( $nd_options_import_demo->image == 'bakery' ) { … … 201 204 <div class="nd_options_box_sizing_border_box nd_options_padding_20 nd_options_float_left nd_options_width_100_percentage"> 202 205 <div class="notice notice-error nd_options_padding_20 nd_options_margin_top_30 nd_options_margin_0"> 203 <p>'.esc_html__('If you are looking for old demos using WP Bakery Page Builder plugin check','nd-shortcodes').' <a target="_blank" href="'.$nd_options_import_demo->url.'">'.esc_html__('this link','nd-shortcodes').'</a></p> 206 <p><strong>'.esc_html__('WP BAKERY DEMOS','nd-shortcodes').' : </strong> 207 '.esc_html__('If you are looking for demos using ','nd-shortcodes').' 208 <u>'.esc_html__('WP Bakery Page Builder','nd-shortcodes').'</u> 209 '.esc_html__(' plugin check','nd-shortcodes').' 210 <a target="_blank" href="'.$nd_options_import_demo->url.'">'.esc_html__('this link','nd-shortcodes').'</a> 211 </p> 204 212 </div> 205 213 </div> … … 210 218 211 219 212 $nd_options_ step_demo_2.= '220 $nd_options_demos_list .= ' 213 221 214 222 <div class="nd_options_width_33_percentage nd_options_box_sizing_border_box nd_options_padding_20 nd_options_float_left"> … … 221 229 <input type="hidden" name="page" value="nicdark-welcome-theme-page"> 222 230 <input type="hidden" name="demo" value="'.$nd_options_i_d.'"> 231 <input type="hidden" name="elementorpro" value="'.$nd_options_elementorpro.'"> 223 232 <input class="button button-primary" type="submit" value="'.esc_html__('Choose This Demo','nd-shortcodes').'"> 224 233 </form> … … 244 253 //end foreach 245 254 246 $nd_options_step_demo_2 .= ' '.$nd_options_step_demo_2_bakery.' 255 $nd_options_step_demo_2 .= ' '.$nd_options_step_demo_2_bakery.' '.$nd_options_demos_list.' 247 256 </div>'; 248 257 … … 282 291 ], 283 292 293 'u' => [ 294 'class' => [], 295 ], 296 297 'strong' => [ 298 'class' => [], 299 ], 300 284 301 'img' => [ 285 302 'class' => [], … … 375 392 376 393 <div class="nd_options_section nd_options_height_1 nd_options_background_color_E7E7E7 nd_options_margin_top_10 nd_options_margin_bottom_10"></div>'; 394 395 396 397 398 399 400 /*START IF ELEMENTOR PRO IS INSTALLED AND ACTIVATED*/ 401 $nd_options_elementorpro = ''; 402 $nd_options_elementorpro = sanitize_text_field($_GET['elementorpro']); 403 if ( $nd_options_elementorpro == "" ) { $nd_options_elementorpro = 0; } 404 405 if ( $nd_options_elementorpro == 1 ) { 406 407 $nicdark_elementorpro_path = 'elementor-pro/elementor-pro.php'; 408 if ( is_plugin_active($nicdark_elementorpro_path) ) { 409 410 }else{ 411 412 $nd_options_step_demo_3 .= ' 413 <!--plugins notice--> 414 <div class="nd_options_box_sizing_border_box nd_options_padding_20 nd_options_float_left nd_options_width_100_percentage"> 415 <div class="notice notice-error nd_options_padding_20 nd_options_margin_top_30 nd_options_margin_0 nd_options_background_color_d6363917"> 416 <p><strong>'.esc_html__('ELEMENTOR PRO','nd-shortcodes').' : </strong>'.esc_html__('The plugin is not installed and activated. Some components and features will not be imported. You bought this theme with "Elementor PRO" indication needed to use some demos.','nd-shortcodes').'</p> 417 <a target="blank" href="https://www.nicdark.com/demos-with-elementor-pro/">'.esc_html__('Check This Important Article for GET THE PLUGIN','nd-shortcodes').'<p></p></a> 418 </div> 419 </div> 420 <!--plugins notice-->'; 421 422 } 423 424 } 425 /*END IF ELEMENTOR PRO IS INSTALLED AND ACTIVATED*/ 426 377 427 378 428 … … 451 501 <div class="nd_options_box_sizing_border_box nd_options_padding_20 nd_options_float_left nd_options_width_100_percentage"> 452 502 <div class="notice notice-error nd_options_padding_20 nd_options_margin_top_30 nd_options_margin_0"> 453 <p> '.esc_html__('Some of your server settings are not optimized and you may have some problems while importing','nd-shortcodes').' <u>'.esc_html__('check at the end of this page your server settings','nd-shortcodes').'</u></p>503 <p><strong>'.esc_html__('SERVER SETTINGS','nd-shortcodes').' :</strong> '.esc_html__('Some of your server settings are not optimized and you may have some problems while importing','nd-shortcodes').' <u>'.esc_html__('check at the end of this page your server settings','nd-shortcodes').'</u></p> 454 504 </div> 455 505 </div> … … 508 558 <input type="hidden" name="page" value="nicdark-welcome-theme-page"> 509 559 <input type="hidden" name="step" value="4"> 510 <input class="button button-primary" type="submit" value="'.esc_html__('Go to the last Step ','nd-shortcodes').'">560 <input class="button button-primary" type="submit" value="'.esc_html__('Go to the last Step ','nd-shortcodes').'*"> 511 561 </form> 562 563 <p>* '.esc_html__('Mandatory step to import some important options of the chosen demo','nd-shortcodes').'</p> 512 564 513 565 </div> … … 682 734 ], 683 735 736 'strong' => [ 737 'class' => [], 738 ], 739 684 740 'span' => [ 685 741 'class' => [], … … 799 855 800 856 801 <div class="nd_options_section nd_options_height_1 nd_options_background_color_E7E7E7 nd_options_margin_top_10 nd_options_margin_bottom_10"></div> 802 803 804 <div class="nd_options_section"> 805 <div class="nd_options_width_50_percentage nd_options_padding_20 nd_options_box_sizing_border_box nd_options_float_left"> 806 <h1 class="nd_options_section nd_options_margin_0 nd_options_margin_top_10">'.esc_html__('Elementor PRO for FREE','nd-shortcodes').'</h1> 807 <p class="nd_options_color_666666 nd_options_section nd_options_margin_0 nd_options_margin_top_20 nd_options_margin_bottom_20">'.esc_html__('Redeem your Elementor Pro license by filling out the form at the following address for have Elementor PRO connected to your domain. Elementor PRO it is not mandatory for use the theme that you have purchased and you are free to not request it but since it has a lot of extra features, we think your project can benefit from this. * You can use Elementor PRO for free for 12 months, you will get all updates for free.','nd-shortcodes').'<u>'.esc_html__('This is our gift to all our customers.','nd-shortcodes').'</u></p> 808 <a class="button button-primary " target="blank" href="https://www.nicdark.com/free-elementor-pro/">'.esc_html__('Fill The Form','nd-shortcodes').'</a> 809 </div> 810 </div> 811 812 857 <div class="nd_options_section nd_options_height_1 nd_options_background_color_E7E7E7 nd_options_margin_top_10 nd_options_margin_bottom_10"></div>'; 858 859 860 861 862 /*START Elementor PRO message*/ 863 $nicdark_elementor_pro_path = 'elementor-pro/elementor-pro.php'; 864 865 if ( is_plugin_active($nicdark_elementor_pro_path) ) { 866 867 868 $nd_options_step_demo_4 .= ' 869 <div class="nd_options_section"> 870 <div class="nd_options_width_50_percentage nd_options_padding_20 nd_options_box_sizing_border_box nd_options_float_left"> 871 <h1 class="nd_options_section nd_options_margin_0 nd_options_margin_top_10">'.esc_html__('Elementor PRO : License Activation','nd-shortcodes').'</h1> 872 <p class="nd_options_color_666666 nd_options_section nd_options_margin_0 nd_options_margin_top_20 nd_options_margin_bottom_20">'.esc_html__('If you want to activate Elementor PRO with the license and benefit from all the PRO features of the plugin, read this important article.','nd-shortcodes').'</p> 873 <a class="button button-primary " target="blank" href="https://www.nicdark.com/free-elementor-pro/">'.esc_html__('Request The License','nd-shortcodes').'</a> 874 </div> 875 </div>'; 876 877 878 }else{ 879 880 881 $nd_options_step_demo_4 .= ' 882 <div class="nd_options_section"> 883 <div class="nd_options_width_50_percentage nd_options_padding_20 nd_options_box_sizing_border_box nd_options_float_left"> 884 <h1 class="nd_options_section nd_options_margin_0 nd_options_margin_top_10">'.esc_html__('Elementor PRO : Get the plugin','nd-shortcodes').'</h1> 885 <p class="nd_options_color_666666 nd_options_section nd_options_margin_0 nd_options_margin_top_20 nd_options_margin_bottom_20">'.esc_html__('You bought this theme with "Elementor PRO" indication needed to use some demos. Please read this important article for understand how to get Elementor PRO.','nd-shortcodes').'</p> 886 <a class="button button-primary " target="blank" href="https://www.nicdark.com/demos-with-elementor-pro/">'.esc_html__('Get Elementor PRO','nd-shortcodes').'</a> 887 </div> 888 </div>'; 889 890 891 } 892 /*END Elementor PRO message*/ 893 894 895 896 897 $nd_options_step_demo_4 .= ' 813 898 </div> 814 899 <!--END 4-->'; -
nd-shortcodes/trunk/inc/settings/admin-style.css
r2883780 r2979935 26 26 .nd_options_background_color_E7E7E7 { background-color: #E7E7E7; } 27 27 .nd_options_background_color_2271b1 { background-color: #2271b1; } 28 .nd_options_background_color_d6363917 { background-color: #d6363917; } 28 29 29 30 /*border*/ … … 60 61 .nd_options_padding_left_2 { padding-left: 2px; } 61 62 .nd_options_padding_left_20 { padding-left: 20px; } 63 .nd_options_padding_bottom_40 { padding-bottom: 40px; } 64 62 65 63 66 /*margin*/ -
nd-shortcodes/trunk/inc/settings/import-elementor/index.php
r2976962 r2979935 187 187 188 188 $nd_options_step_demo_2 .= ' 189 <div class="nd_options_section ">';189 <div class="nd_options_section nd_options_padding_bottom_40">'; 190 190 191 191 //start foreach … … 194 194 foreach( $nd_options_import_demos->demo as $nd_options_import_demo ) { 195 195 196 //elementorpro 197 $nd_options_elementorpro = $nd_options_import_demo->elementorpro; 198 if ( $nd_options_elementorpro == "" ) { $nd_options_elementorpro = 0; } 196 199 197 200 if ( $nd_options_import_demo->image == 'bakery' ) { … … 201 204 <div class="nd_options_box_sizing_border_box nd_options_padding_20 nd_options_float_left nd_options_width_100_percentage"> 202 205 <div class="notice notice-error nd_options_padding_20 nd_options_margin_top_30 nd_options_margin_0"> 203 <p>'.esc_html__('If you are looking for old demos using WP Bakery Page Builder plugin check','nd-shortcodes').' <a target="_blank" href="'.$nd_options_import_demo->url.'">'.esc_html__('this link','nd-shortcodes').'</a></p> 206 <p><strong>'.esc_html__('WP BAKERY DEMOS','nd-shortcodes').' : </strong> 207 '.esc_html__('If you are looking for demos using ','nd-shortcodes').' 208 <u>'.esc_html__('WP Bakery Page Builder','nd-shortcodes').'</u> 209 '.esc_html__(' plugin check','nd-shortcodes').' 210 <a target="_blank" href="'.$nd_options_import_demo->url.'">'.esc_html__('this link','nd-shortcodes').'</a> 211 </p> 204 212 </div> 205 213 </div> … … 210 218 211 219 212 $nd_options_ step_demo_2.= '220 $nd_options_demos_list .= ' 213 221 214 222 <div class="nd_options_width_33_percentage nd_options_box_sizing_border_box nd_options_padding_20 nd_options_float_left"> … … 221 229 <input type="hidden" name="page" value="nicdark-welcome-theme-page"> 222 230 <input type="hidden" name="demo" value="'.$nd_options_i_d.'"> 231 <input type="hidden" name="elementorpro" value="'.$nd_options_elementorpro.'"> 223 232 <input class="button button-primary" type="submit" value="'.esc_html__('Choose This Demo','nd-shortcodes').'"> 224 233 </form> … … 244 253 //end foreach 245 254 246 $nd_options_step_demo_2 .= ' '.$nd_options_step_demo_2_bakery.' 255 $nd_options_step_demo_2 .= ' '.$nd_options_step_demo_2_bakery.' '.$nd_options_demos_list.' 247 256 </div>'; 248 257 … … 282 291 ], 283 292 293 'u' => [ 294 'class' => [], 295 ], 296 297 'strong' => [ 298 'class' => [], 299 ], 300 284 301 'img' => [ 285 302 'class' => [], … … 375 392 376 393 <div class="nd_options_section nd_options_height_1 nd_options_background_color_E7E7E7 nd_options_margin_top_10 nd_options_margin_bottom_10"></div>'; 394 395 396 397 398 399 400 /*START IF ELEMENTOR PRO IS INSTALLED AND ACTIVATED*/ 401 $nd_options_elementorpro = ''; 402 $nd_options_elementorpro = sanitize_text_field($_GET['elementorpro']); 403 if ( $nd_options_elementorpro == "" ) { $nd_options_elementorpro = 0; } 404 405 if ( $nd_options_elementorpro == 1 ) { 406 407 $nicdark_elementorpro_path = 'elementor-pro/elementor-pro.php'; 408 if ( is_plugin_active($nicdark_elementorpro_path) ) { 409 410 }else{ 411 412 $nd_options_step_demo_3 .= ' 413 <!--plugins notice--> 414 <div class="nd_options_box_sizing_border_box nd_options_padding_20 nd_options_float_left nd_options_width_100_percentage"> 415 <div class="notice notice-error nd_options_padding_20 nd_options_margin_top_30 nd_options_margin_0 nd_options_background_color_d6363917"> 416 <p><strong>'.esc_html__('ELEMENTOR PRO','nd-shortcodes').' : </strong>'.esc_html__('The plugin is not installed and activated. Some components and features will not be imported. You bought this theme with "Elementor PRO" indication needed to use some demos.','nd-shortcodes').'</p> 417 <a target="blank" href="https://www.nicdark.com/demos-with-elementor-pro/">'.esc_html__('Check This Important Article for GET THE PLUGIN','nd-shortcodes').'<p></p></a> 418 </div> 419 </div> 420 <!--plugins notice-->'; 421 422 } 423 424 } 425 /*END IF ELEMENTOR PRO IS INSTALLED AND ACTIVATED*/ 426 377 427 378 428 … … 451 501 <div class="nd_options_box_sizing_border_box nd_options_padding_20 nd_options_float_left nd_options_width_100_percentage"> 452 502 <div class="notice notice-error nd_options_padding_20 nd_options_margin_top_30 nd_options_margin_0"> 453 <p> '.esc_html__('Some of your server settings are not optimized and you may have some problems while importing','nd-shortcodes').' <u>'.esc_html__('check at the end of this page your server settings','nd-shortcodes').'</u></p>503 <p><strong>'.esc_html__('SERVER SETTINGS','nd-shortcodes').' :</strong> '.esc_html__('Some of your server settings are not optimized and you may have some problems while importing','nd-shortcodes').' <u>'.esc_html__('check at the end of this page your server settings','nd-shortcodes').'</u></p> 454 504 </div> 455 505 </div> … … 508 558 <input type="hidden" name="page" value="nicdark-welcome-theme-page"> 509 559 <input type="hidden" name="step" value="4"> 510 <input class="button button-primary" type="submit" value="'.esc_html__('Go to the last Step ','nd-shortcodes').'">560 <input class="button button-primary" type="submit" value="'.esc_html__('Go to the last Step ','nd-shortcodes').'*"> 511 561 </form> 562 563 <p>* '.esc_html__('Mandatory step to import some important options of the chosen demo','nd-shortcodes').'</p> 512 564 513 565 </div> … … 682 734 ], 683 735 736 'strong' => [ 737 'class' => [], 738 ], 739 684 740 'span' => [ 685 741 'class' => [], … … 799 855 800 856 801 <div class="nd_options_section nd_options_height_1 nd_options_background_color_E7E7E7 nd_options_margin_top_10 nd_options_margin_bottom_10"></div> 802 803 804 <div class="nd_options_section"> 805 <div class="nd_options_width_50_percentage nd_options_padding_20 nd_options_box_sizing_border_box nd_options_float_left"> 806 <h1 class="nd_options_section nd_options_margin_0 nd_options_margin_top_10">'.esc_html__('Elementor PRO for FREE','nd-shortcodes').'</h1> 807 <p class="nd_options_color_666666 nd_options_section nd_options_margin_0 nd_options_margin_top_20 nd_options_margin_bottom_20">'.esc_html__('Redeem your Elementor Pro license by filling out the form at the following address for have Elementor PRO connected to your domain. Elementor PRO it is not mandatory for use the theme that you have purchased and you are free to not request it but since it has a lot of extra features, we think your project can benefit from this. * You can use Elementor PRO for free for 12 months, you will get all updates for free.','nd-shortcodes').'<u>'.esc_html__('This is our gift to all our customers.','nd-shortcodes').'</u></p> 808 <a class="button button-primary " target="blank" href="https://www.nicdark.com/free-elementor-pro/">'.esc_html__('Fill The Form','nd-shortcodes').'</a> 809 </div> 810 </div> 811 812 857 <div class="nd_options_section nd_options_height_1 nd_options_background_color_E7E7E7 nd_options_margin_top_10 nd_options_margin_bottom_10"></div>'; 858 859 860 861 862 /*START Elementor PRO message*/ 863 $nicdark_elementor_pro_path = 'elementor-pro/elementor-pro.php'; 864 865 if ( is_plugin_active($nicdark_elementor_pro_path) ) { 866 867 868 $nd_options_step_demo_4 .= ' 869 <div class="nd_options_section"> 870 <div class="nd_options_width_50_percentage nd_options_padding_20 nd_options_box_sizing_border_box nd_options_float_left"> 871 <h1 class="nd_options_section nd_options_margin_0 nd_options_margin_top_10">'.esc_html__('Elementor PRO : License Activation','nd-shortcodes').'</h1> 872 <p class="nd_options_color_666666 nd_options_section nd_options_margin_0 nd_options_margin_top_20 nd_options_margin_bottom_20">'.esc_html__('If you want to activate Elementor PRO with the license and benefit from all the PRO features of the plugin, read this important article.','nd-shortcodes').'</p> 873 <a class="button button-primary " target="blank" href="https://www.nicdark.com/free-elementor-pro/">'.esc_html__('Request The License','nd-shortcodes').'</a> 874 </div> 875 </div>'; 876 877 878 }else{ 879 880 881 $nd_options_step_demo_4 .= ' 882 <div class="nd_options_section"> 883 <div class="nd_options_width_50_percentage nd_options_padding_20 nd_options_box_sizing_border_box nd_options_float_left"> 884 <h1 class="nd_options_section nd_options_margin_0 nd_options_margin_top_10">'.esc_html__('Elementor PRO : Get the plugin','nd-shortcodes').'</h1> 885 <p class="nd_options_color_666666 nd_options_section nd_options_margin_0 nd_options_margin_top_20 nd_options_margin_bottom_20">'.esc_html__('You bought this theme with "Elementor PRO" indication needed to use some demos. Please read this important article for understand how to get Elementor PRO.','nd-shortcodes').'</p> 886 <a class="button button-primary " target="blank" href="https://www.nicdark.com/demos-with-elementor-pro/">'.esc_html__('Get Elementor PRO','nd-shortcodes').'</a> 887 </div> 888 </div>'; 889 890 891 } 892 /*END Elementor PRO message*/ 893 894 895 896 897 $nd_options_step_demo_4 .= ' 813 898 </div> 814 899 <!--END 4-->';
Note: See TracChangeset
for help on using the changeset viewer.