|
@@ 599-601 (lines=3) @@
|
| 596 |
|
|
| 597 |
|
$output = '<span id="wpinv-' . wpinv_sanitize_key( $args['name'] ) . '-wrap">'; |
| 598 |
|
$output .= '<label class="wpinv-label" for="' . wpinv_sanitize_key( $args['id'] ) . '">' . esc_html( $args['label'] ) . '</label>'; |
| 599 |
|
if ( ! empty( $args['desc'] ) ) { |
| 600 |
|
$output .= '<span class="wpinv-description">' . esc_html( $args['desc'] ) . '</span>'; |
| 601 |
|
} |
| 602 |
|
|
| 603 |
|
$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 ) . '/>'; |
| 604 |
|
|
|
@@ 642-644 (lines=3) @@
|
| 639 |
|
$output .= '<label class="wpinv-label" for="' . wpinv_sanitize_key( $args['name'] ) . '">' . esc_html( $args['label'] ) . '</label>'; |
| 640 |
|
$output .= '<textarea name="' . esc_attr( $args['name'] ) . '" id="' . wpinv_sanitize_key( $args['name'] ) . '" class="' . $class . '"' . $disabled . '>' . esc_attr( $args['value'] ) . '</textarea>'; |
| 641 |
|
|
| 642 |
|
if ( ! empty( $args['desc'] ) ) { |
| 643 |
|
$output .= '<span class="wpinv-description">' . esc_html( $args['desc'] ) . '</span>'; |
| 644 |
|
} |
| 645 |
|
$output .= '</span>'; |
| 646 |
|
|
| 647 |
|
return $output; |