|
@@ 609-611 (lines=3) @@
|
| 606 |
|
|
| 607 |
|
$output = '<span id="wpinv-' . wpinv_sanitize_key( $args['name'] ) . '-wrap">'; |
| 608 |
|
$output .= '<label class="wpinv-label" for="' . wpinv_sanitize_key( $args['id'] ) . '">' . esc_html( $args['label'] ) . '</label>'; |
| 609 |
|
if ( ! empty( $args['desc'] ) ) { |
| 610 |
|
$output .= '<span class="wpinv-description">' . esc_html( $args['desc'] ) . '</span>'; |
| 611 |
|
} |
| 612 |
|
|
| 613 |
|
$output .= '<input type="text" name="' . esc_attr( $args['name'] ) . '" id="' . esc_attr( $args['id'] ) . '" autocomplete="' . esc_attr( $args['autocomplete'] ) . '" value="' . esc_attr( $args['value'] ) . '" placeholder="' . esc_attr( $args['placeholder'] ) . '" class="' . $class . '" ' . $data . ' ' . trim( $options ) . '/>'; |
| 614 |
|
|
|
@@ 652-654 (lines=3) @@
|
| 649 |
|
$output .= '<label class="wpinv-label" for="' . wpinv_sanitize_key( $args['name'] ) . '">' . esc_html( $args['label'] ) . '</label>'; |
| 650 |
|
$output .= '<textarea name="' . esc_attr( $args['name'] ) . '" id="' . wpinv_sanitize_key( $args['name'] ) . '" class="' . $class . '"' . $disabled . '>' . esc_attr( $args['value'] ) . '</textarea>'; |
| 651 |
|
|
| 652 |
|
if ( ! empty( $args['desc'] ) ) { |
| 653 |
|
$output .= '<span class="wpinv-description">' . esc_html( $args['desc'] ) . '</span>'; |
| 654 |
|
} |
| 655 |
|
$output .= '</span>'; |
| 656 |
|
|
| 657 |
|
return $output; |