@@ 313-317 (lines=5) @@ | ||
310 | echo '<p>' . __( 'Enter the email address of an existing user on this network to invite them to this site. That person will be sent an email asking them to confirm the invite.' ) . '</p>'; |
|
311 | $label = __('Email'); |
|
312 | $type = 'email'; |
|
313 | } else { |
|
314 | echo '<p>' . __( 'Enter the email address or username of an existing user on this network to invite them to this site. That person will be sent an email asking them to confirm the invite.' ) . '</p>'; |
|
315 | $label = __('Email or Username'); |
|
316 | $type = 'text'; |
|
317 | } |
|
318 | ?> |
|
319 | <form method="post" name="adduser" id="adduser" class="validate" novalidate="novalidate"<?php |
|
320 | /** |
@@ 1744-1748 (lines=5) @@ | ||
1741 | if ( !empty( $form_fields['_final'] ) ) |
|
1742 | $item .= "\t\t<tr class='final'><td colspan='2'>{$form_fields['_final']}</td></tr>\n"; |
|
1743 | ||
1744 | if ( $item ) { |
|
1745 | $item = '<p class="media-types media-types-required-info">' . |
|
1746 | sprintf( __( 'Required fields are marked %s' ), '<span class="required">*</span>' ) . '</p> |
|
1747 | <table class="compat-attachment-fields">' . $item . '</table>'; |
|
1748 | } |
|
1749 | ||
1750 | foreach ( $hidden_fields as $hidden_field => $value ) { |
|
1751 | $item .= '<input type="hidden" name="' . esc_attr( $hidden_field ) . '" value="' . esc_attr( $value ) . '" />' . "\n"; |