Plugin Directory

Changeset 2979935


Ignore:
Timestamp:
10/17/2023 08:43:54 AM (2 years ago)
Author:
nicdark
Message:

edit files on dev and 7.1v

Location:
nd-shortcodes
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • nd-shortcodes/tags/7.1/inc/settings/admin-style.css

    r2976967 r2979935  
    2626.nd_options_background_color_E7E7E7 { background-color: #E7E7E7; }
    2727.nd_options_background_color_2271b1 { background-color: #2271b1; }
     28.nd_options_background_color_d6363917 { background-color: #d6363917; }
    2829
    2930/*border*/
     
    6061.nd_options_padding_left_2 { padding-left: 2px; }
    6162.nd_options_padding_left_20 { padding-left: 20px; }
     63.nd_options_padding_bottom_40 { padding-bottom: 40px; }
     64
    6265
    6366/*margin*/
  • nd-shortcodes/tags/7.1/inc/settings/import-elementor/index.php

    r2976967 r2979935  
    187187
    188188              $nd_options_step_demo_2 .= '
    189               <div class="nd_options_section">';
     189              <div class="nd_options_section nd_options_padding_bottom_40">';
    190190
    191191                //start foreach
     
    194194                foreach( $nd_options_import_demos->demo as $nd_options_import_demo ) {
    195195
     196                  //elementorpro
     197                  $nd_options_elementorpro = $nd_options_import_demo->elementorpro;
     198                  if ( $nd_options_elementorpro == "" ) { $nd_options_elementorpro = 0; }
    196199
    197200                  if ( $nd_options_import_demo->image == 'bakery' ) {
     
    201204                    <div class="nd_options_box_sizing_border_box nd_options_padding_20 nd_options_float_left nd_options_width_100_percentage">
    202205                      <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>
    204212                      </div>
    205213                    </div>
     
    210218
    211219
    212                     $nd_options_step_demo_2 .= '
     220                    $nd_options_demos_list .= '
    213221
    214222                    <div class="nd_options_width_33_percentage nd_options_box_sizing_border_box nd_options_padding_20 nd_options_float_left">
     
    221229                          <input type="hidden" name="page" value="nicdark-welcome-theme-page">
    222230                          <input type="hidden" name="demo" value="'.$nd_options_i_d.'">
     231                          <input type="hidden" name="elementorpro" value="'.$nd_options_elementorpro.'">
    223232                          <input class="button button-primary" type="submit" value="'.esc_html__('Choose This Demo','nd-shortcodes').'">
    224233                        </form>
     
    244253                //end foreach
    245254
    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.'
    247256              </div>';
    248257
     
    282291          ],
    283292
     293          'u' => [ 
     294            'class' => [],
     295          ],
     296
     297          'strong' => [ 
     298            'class' => [],
     299          ],
     300
    284301          'img' => [
    285302            'class' => [],
     
    375392
    376393            <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
    377427
    378428
     
    451501              <div class="nd_options_box_sizing_border_box nd_options_padding_20 nd_options_float_left nd_options_width_100_percentage">
    452502                <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>
    454504                </div>
    455505              </div>
     
    508558                  <input type="hidden" name="page" value="nicdark-welcome-theme-page">
    509559                  <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').'*">
    511561                </form>
     562
     563                <p>* '.esc_html__('Mandatory step to import some important options of the chosen demo','nd-shortcodes').'</p>
    512564
    513565              </div>
     
    682734            ],
    683735
     736            'strong' => [
     737              'class' => [],
     738            ],
     739
    684740            'span' => [
    685741              'class' => [],
     
    799855
    800856
    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 .= ' 
    813898          </div>
    814899          <!--END 4-->';
  • nd-shortcodes/trunk/inc/settings/admin-style.css

    r2883780 r2979935  
    2626.nd_options_background_color_E7E7E7 { background-color: #E7E7E7; }
    2727.nd_options_background_color_2271b1 { background-color: #2271b1; }
     28.nd_options_background_color_d6363917 { background-color: #d6363917; }
    2829
    2930/*border*/
     
    6061.nd_options_padding_left_2 { padding-left: 2px; }
    6162.nd_options_padding_left_20 { padding-left: 20px; }
     63.nd_options_padding_bottom_40 { padding-bottom: 40px; }
     64
    6265
    6366/*margin*/
  • nd-shortcodes/trunk/inc/settings/import-elementor/index.php

    r2976962 r2979935  
    187187
    188188              $nd_options_step_demo_2 .= '
    189               <div class="nd_options_section">';
     189              <div class="nd_options_section nd_options_padding_bottom_40">';
    190190
    191191                //start foreach
     
    194194                foreach( $nd_options_import_demos->demo as $nd_options_import_demo ) {
    195195
     196                  //elementorpro
     197                  $nd_options_elementorpro = $nd_options_import_demo->elementorpro;
     198                  if ( $nd_options_elementorpro == "" ) { $nd_options_elementorpro = 0; }
    196199
    197200                  if ( $nd_options_import_demo->image == 'bakery' ) {
     
    201204                    <div class="nd_options_box_sizing_border_box nd_options_padding_20 nd_options_float_left nd_options_width_100_percentage">
    202205                      <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>
    204212                      </div>
    205213                    </div>
     
    210218
    211219
    212                     $nd_options_step_demo_2 .= '
     220                    $nd_options_demos_list .= '
    213221
    214222                    <div class="nd_options_width_33_percentage nd_options_box_sizing_border_box nd_options_padding_20 nd_options_float_left">
     
    221229                          <input type="hidden" name="page" value="nicdark-welcome-theme-page">
    222230                          <input type="hidden" name="demo" value="'.$nd_options_i_d.'">
     231                          <input type="hidden" name="elementorpro" value="'.$nd_options_elementorpro.'">
    223232                          <input class="button button-primary" type="submit" value="'.esc_html__('Choose This Demo','nd-shortcodes').'">
    224233                        </form>
     
    244253                //end foreach
    245254
    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.'
    247256              </div>';
    248257
     
    282291          ],
    283292
     293          'u' => [ 
     294            'class' => [],
     295          ],
     296
     297          'strong' => [ 
     298            'class' => [],
     299          ],
     300
    284301          'img' => [
    285302            'class' => [],
     
    375392
    376393            <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
    377427
    378428
     
    451501              <div class="nd_options_box_sizing_border_box nd_options_padding_20 nd_options_float_left nd_options_width_100_percentage">
    452502                <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>
    454504                </div>
    455505              </div>
     
    508558                  <input type="hidden" name="page" value="nicdark-welcome-theme-page">
    509559                  <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').'*">
    511561                </form>
     562
     563                <p>* '.esc_html__('Mandatory step to import some important options of the chosen demo','nd-shortcodes').'</p>
    512564
    513565              </div>
     
    682734            ],
    683735
     736            'strong' => [
     737              'class' => [],
     738            ],
     739
    684740            'span' => [
    685741              'class' => [],
     
    799855
    800856
    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 .= ' 
    813898          </div>
    814899          <!--END 4-->';
Note: See TracChangeset for help on using the changeset viewer.