html-column-shipping-message.php
1 week ago
html-custom-services.php
1 week ago
html-menu-icon.php
1 week ago
html-shipping-method-scripts.php
1 week ago
html-shipping-method-settings.php
1 week ago
html-shipping-settings-advanced.php
1 week ago
html-shipping-settings-info-description.php
1 week ago
html-custom-services.php
46 lines
| 1 | <tr valign="top"> |
| 2 | <th scope="row" class="titledesc"> |
| 3 | <label for="<?php echo esc_attr( $field_key ); ?>"><?php echo wp_kses_post( $data['title'] ); ?></label> |
| 4 | <?php echo $this->get_tooltip_html( $data ); ?> |
| 5 | </th> |
| 6 | <td class="forminp"> |
| 7 | <legend class="screen-reader-text"><span><?php echo wp_kses_post( $data['title'] ); ?></span></legend> |
| 8 | <span class="<?php echo esc_attr( $data['class'] ); ?>" id="<?php echo esc_attr( $field_key ); ?>" style="<?php echo esc_attr( $data['css'] ); ?>"> |
| 9 | |
| 10 | <table class="flexible_shipping_services wc_shipping widefat wp-list-table" cellspacing="0"> |
| 11 | <thead> |
| 12 | <tr> |
| 13 | <th class="sort"> </th> |
| 14 | <th class="service_code"><?php _e( 'Code', 'flexible-shipping' ); ?></th> |
| 15 | <th class="service_name"><?php _e( 'Name', 'flexible-shipping' ); ?></th> |
| 16 | <th class="select"> |
| 17 | <?php _e( 'Enabled', 'flexible-shipping' ); ?><?php /* <input type="checkbox" class="tips checkbox-select-all-services" value="1" data-tip="<?php _e( 'Enable all', 'flexible-shipping' ); ?>" /> */ ?> |
| 18 | </th> |
| 19 | </tr> |
| 20 | </thead> |
| 21 | <tbody> |
| 22 | <?php foreach ( $services as $service_code => $service ) : ?> |
| 23 | <tr> |
| 24 | <td class="sort"></td> |
| 25 | <td class="service_code"><?php echo $service_code; ?></td> |
| 26 | <td class="service_name"> |
| 27 | <input name="<?php echo esc_attr( $field_key ); ?>[<?php echo $service_code ?>][name]" type="text" value="<?php echo esc_attr( $service['name'] ); ?>" class="woocommerce_flexible_shipping_service_name"/> |
| 28 | </td> |
| 29 | <td width="1%" class="select" nowrap> |
| 30 | <input name="<?php echo esc_attr( $field_key ); ?>[<?php echo $service_code ?>][enabled]" type="checkbox" class="checkbox-select-service" value="<?php echo esc_attr( $service_code ); ?>" <?php echo $service['enabled'] ? 'checked' : ''; ;?> /> |
| 31 | </td> |
| 32 | </tr> |
| 33 | <?php endforeach; ?> |
| 34 | </tbody> |
| 35 | <tfoot> |
| 36 | <tr> |
| 37 | <th colspan="4"><span class="description"><?php _e( 'Drag and drop the services to control their display order. Confirm by clicking Save changes button below.', 'flexible-shipping' ); ?></span></th> |
| 38 | </tr> |
| 39 | </tfoot> |
| 40 | </table> |
| 41 | </span> |
| 42 | <?php echo $this->get_description_html( $data ); ?> |
| 43 | </fieldset> |
| 44 | </td> |
| 45 | </tr> |
| 46 |