Plugin Directory

Changeset 2921047


Ignore:
Timestamp:
06/03/2023 05:10:14 PM (3 years ago)
Author:
khl32
Message:

class-main.php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • edd-template/trunk/class/class-main.php

    r2921013 r2921047  
    164164        if ( $result == true )
    165165        {           
    166 
    167166        wp_register_style( 'edd-template', EDD_TEMPLATE_ASSETS_CSS_DIR . 'edd-template.css');
    168167        wp_enqueue_style( 'edd-template' );
     
    225224                <div class="select">
    226225                    <select class="has-text-centered" name="edd-template-status" id="edd-template-status">
     226                        <?php
     227                            if (!get_option('edd-template-status')) {
     228                                ?>
     229                               <option value="" selected="selected"> </option>
     230                                <?php
     231                            }
     232                        ?>
    227233                        <option value="enable" <?php selected( get_option('edd-template-status'), 'enable', true ); ?>>
    228234                         <?php esc_html_e('Enable', 'edd-template'); ?>
     
    249255                                   
    250256                                default:
    251                                 echo '<strong class="has-text-warning">' . esc_html( __('Not Set Yet!', 'edd-template') ) . '</strong>';
     257                                echo '<strong class="has-text-info">' . esc_html( __('Not Set Yet', 'edd-template') ) . '</strong>';
    252258                                    break;
    253259                            }
     
    287293                    <div class="field">
    288294                        <p class="control">
    289                             <strong class="ml-2 help is-success is-italic">Ex: /checkout/  </strong>                     
     295                            <strong class="ml-2 help is-success is-italic dir-ltr">Ex: /checkout/  </strong>                     
    290296                        </p>
    291297                    </div>
     
    300306                        </p>
    301307                        <p class="control">
    302                         <strong class="ml-2 help is-success is-italic">Ex: /checkout/receipt/ </strong>                     
     308                        <strong class="ml-2 help is-success is-italic dir-ltr">Ex: /checkout/receipt/ </strong>                     
    303309                        </p>
    304310                    </div>
     
    316322                        </p>
    317323                        <p class="control">
    318                         <strong class="ml-2 help is-success is-italic">Ex: /checkout/confirmation/ </strong>                     
     324                        <strong class="ml-2 help is-success is-italic dir-ltr">Ex: /checkout/confirmation/ </strong>                     
    319325                        </p>
    320326                    </div>
     
    330336                        </p>
    331337                        <p class="control">
    332                         <strong class="ml-2 help is-success is-italic">Ex: /checkout/purchase-confirmation/  </strong>                     
     338                        <strong class="ml-2 help is-success is-italic dir-ltr">Ex: /checkout/purchase-confirmation/  </strong>                     
    333339                        </p>
    334340                    </div>
     
    347353                        </p>
    348354                        <p class="control">
    349                         <strong class="ml-2 help is-success is-italic">Ex: /checkout/download-history/  </strong>                     
     355                        <strong class="ml-2 help is-success is-italic dir-ltr">Ex: /checkout/download-history/  </strong>                     
    350356                        </p>
    351357                    </div>
     
    360366                        </p>
    361367                        <p class="control">
    362                         <strong class="ml-2 help is-success is-italic">Ex: /checkout/purchase-history/ </strong>                     
     368                        <strong class="ml-2 help is-success is-italic dir-ltr">Ex: /checkout/purchase-history/ </strong>                     
    363369                        </p>
    364370                    </div>
Note: See TracChangeset for help on using the changeset viewer.