|
@@ 619-621 (lines=3) @@
|
| 616 |
|
|
| 617 |
|
$output = '<span id="wpinv-' . wpinv_sanitize_key( $args['name'] ) . '-wrap">'; |
| 618 |
|
$output .= '<label class="wpinv-label" for="' . wpinv_sanitize_key( $args['id'] ) . '">' . esc_html( $args['label'] ) . '</label>'; |
| 619 |
|
if ( ! empty( $args['desc'] ) ) { |
| 620 |
|
$output .= '<span class="wpinv-description">' . esc_html( $args['desc'] ) . '</span>'; |
| 621 |
|
} |
| 622 |
|
|
| 623 |
|
$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 ) . '/>'; |
| 624 |
|
|
|
@@ 662-664 (lines=3) @@
|
| 659 |
|
$output .= '<label class="wpinv-label" for="' . wpinv_sanitize_key( $args['name'] ) . '">' . esc_html( $args['label'] ) . '</label>'; |
| 660 |
|
$output .= '<textarea name="' . esc_attr( $args['name'] ) . '" id="' . wpinv_sanitize_key( $args['name'] ) . '" class="' . $class . '"' . $disabled . '>' . esc_attr( $args['value'] ) . '</textarea>'; |
| 661 |
|
|
| 662 |
|
if ( ! empty( $args['desc'] ) ) { |
| 663 |
|
$output .= '<span class="wpinv-description">' . esc_html( $args['desc'] ) . '</span>'; |
| 664 |
|
} |
| 665 |
|
$output .= '</span>'; |
| 666 |
|
|
| 667 |
|
return $output; |