diff options
author | Jo Michael <me@mynetx.net> | 2012-03-31 18:50:33 +0400 |
---|---|---|
committer | Jo Michael <me@mynetx.net> | 2012-03-31 18:50:33 +0400 |
commit | 20ddd10911d6d3918ea870db3d62558759a1bbeb (patch) | |
tree | 5823b22bf0885d851e2dbe6eea046dfcf245115b /tbl_change.php | |
parent | fc7a1339fc850291c54e7baaabce415b043e5e07 (diff) |
Replaced HTML nowrap attribute with CSS for HTML5 validity
Diffstat (limited to 'tbl_change.php')
-rw-r--r-- | tbl_change.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tbl_change.php b/tbl_change.php index e3e6272fcd..4d17253625 100644 --- a/tbl_change.php +++ b/tbl_change.php @@ -470,12 +470,12 @@ foreach ($rows as $row_id => $vrow) { $table_fields[$i]['first_timestamp'] = true; } $table_fields[$i]['pma_type'] = $table_fields[$i]['Type']; - $table_fields[$i]['wrap'] = ' nowrap="nowrap"'; + $table_fields[$i]['wrap'] = ' nowrap'; break; default: $table_fields[$i]['pma_type'] = $table_fields[$i]['Type']; - $table_fields[$i]['wrap'] = ' nowrap="nowrap"'; + $table_fields[$i]['wrap'] = ' nowrap'; break; } } @@ -513,7 +513,7 @@ foreach ($rows as $row_id => $vrow) { <input type="hidden" name="fields_name<?php echo $field_name_appendix; ?>" value="<?php echo $field['Field_html']; ?>"/> </td> <?php if ($cfg['ShowFieldTypesInDataEditView']) { ?> - <td class="center"<?php echo $field['wrap']; ?>><span class="column_type"><?php echo $field['pma_type']; ?></span> + <td class="center<?php echo $field['wrap']; ?>"><span class="column_type"><?php echo $field['pma_type']; ?></span> </td> <?php } //End if @@ -1049,7 +1049,7 @@ foreach ($rows as $row_id => $vrow) { <fieldset id="actions_panel"> <table cellpadding="5" cellspacing="0"> <tr> - <td valign="middle" nowrap="nowrap"> + <td valign="middle" class="nowrap"> <select name="submit_type" class="control_at_footer" tabindex="<?php echo ($tabindex + $tabindex_for_value + 1); ?>"> <?php if (isset($where_clause)) { @@ -1073,7 +1073,7 @@ if (! isset($after_insert)) { <td valign="middle"> <strong><?php echo __('and then'); ?></strong> </td> - <td valign="middle" nowrap="nowrap"> + <td valign="middle" class="nowrap"> <select name="after_insert"> <option value="back" <?php echo ($after_insert == 'back' ? 'selected="selected"' : ''); ?>><?php echo __('Go back to previous page'); ?></option> <option value="new_insert" <?php echo ($after_insert == 'new_insert' ? 'selected="selected"' : ''); ?>><?php echo __('Insert another new row'); ?></option> |