| 3099 | | if ( !empty($field['args']['label_for']) ) |
| 3100 | | echo '<th scope="row"><label for="' . $field['args']['label_for'] . '">' . $field['title'] . '</label></th>'; |
| 3101 | | else |
| 3102 | | echo '<th scope="row">' . $field['title'] . '</th>'; |
| 3103 | | echo '<td>'; |
| 3104 | | call_user_func($field['callback'], $field['args']); |
| 3105 | | echo '</td>'; |
| 3106 | | echo '</tr>'; |
| | 3099 | if ($field['title']!='') |
| | 3100 | { |
| | 3101 | if ( !empty($field['args']['label_for']) ) |
| | 3102 | echo '<th scope="row"><label for="' . $field['args']['label_for'] . '">' . $field['title'] . '</label></th>'; |
| | 3103 | else |
| | 3104 | echo '<th scope="row">' . $field['title'] . '</th>'; |
| | 3105 | echo '<td>'; |
| | 3106 | call_user_func($field['callback'], $field['args']); |
| | 3107 | echo '</td>'; |
| | 3108 | echo '</tr>'; |
| | 3109 | } else { |
| | 3110 | echo '<th scope="row" colspan="2">'; |
| | 3111 | call_user_func($field['callback'], $field['args']); |
| | 3112 | echo '</th>'; |
| | 3113 | echo '</tr>'; |
| | 3114 | } |