@@ 184-186 (lines=3) @@ | ||
181 | </select> |
|
182 | <?php elseif ( ! empty( $field['type'] ) && 'checkbox' === $field['type'] ) : ?> |
|
183 | <input type="checkbox" name="<?php echo esc_attr( $key ); ?>" id="<?php echo esc_attr( $key ); ?>" value="1" class="<?php echo esc_attr( $field['class'] ); ?>" <?php checked( (int) get_user_meta( $user->ID, $key, true ), 1, true ); ?> /> |
|
184 | <?php elseif ( ! empty( $field['type'] ) && 'button' === $field['type'] ) : ?> |
|
185 | <button type="button" id="<?php echo esc_attr( $key ); ?>" class="button <?php echo esc_attr( $field['class'] ); ?>"><?php echo esc_html( $field['text'] ); ?></button> |
|
186 | <?php else : ?> |
|
187 | <input type="text" name="<?php echo esc_attr( $key ); ?>" id="<?php echo esc_attr( $key ); ?>" value="<?php echo esc_attr( $this->get_user_meta( $user->ID, $key ) ); ?>" class="<?php echo ( ! empty( $field['class'] ) ? esc_attr( $field['class'] ) : 'regular-text' ); ?>" /> |
|
188 | <?php endif; ?> |
|
189 | <p class="description"><?php echo wp_kses_post( $field['description'] ); ?></p> |
@@ 1675-1679 (lines=5) @@ | ||
1672 | ?> |
|
1673 | <li class="<?php echo esc_attr( $item_class ); ?>"> |
|
1674 | <div class="wc-wizard-service-name"> |
|
1675 | <?php if ( ! empty( $item_info['image'] ) ) : ?> |
|
1676 | <img src="<?php echo esc_attr( $item_info['image'] ); ?>" alt="<?php echo esc_attr( $item_info['name'] ); ?>" /> |
|
1677 | <?php else : ?> |
|
1678 | <p><?php echo esc_html( $item_info['name'] ); ?></p> |
|
1679 | <?php endif; ?> |
|
1680 | </div> |
|
1681 | <div class="wc-wizard-service-enable"> |
|
1682 | <span class="wc-wizard-service-toggle <?php echo esc_attr( $should_enable_toggle ? '' : 'disabled' ); ?>" tabindex="0"> |