Index: includes/form.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/form.inc,v retrieving revision 1.360 diff -u -p -r1.360 form.inc --- includes/form.inc 22 Aug 2009 14:34:17 -0000 1.360 +++ includes/form.inc 23 Aug 2009 21:50:03 -0000 @@ -2541,10 +2541,10 @@ function theme_form_element($element) { // Add element's #type and #name as class to aid with JS/CSS selectors. $class = array('form-item'); if (!empty($element['#type'])) { - $class[] = 'form-item-' . strtr($element['#type'], array('_' => '-')); + $class[] = 'form-type-' . strtr($element['#type'], '_', '-'); } if (!empty($element['#name'])) { - $class[] = strtr($element['#name'], array(' ' => '-', '_' => '-', '[' => '-', ']' => '')) . '-wrapper'; + $class[] = 'form-item-' . strtr($element['#name'], array(' ' => '-', '_' => '-', '[' => '-', ']' => '')); } $output = '
' . "\n"; Index: modules/book/book.css =================================================================== RCS file: /cvs/drupal/drupal/modules/book/book.css,v retrieving revision 1.11 diff -u -p -r1.11 book.css --- modules/book/book.css 17 Aug 2009 07:12:15 -0000 1.11 +++ modules/book/book.css 23 Aug 2009 20:21:17 -0000 @@ -38,7 +38,7 @@ html.js #edit-book-pick-book { display: none; } -.form-item-book-bid-wrapper .description { +.form-item-book-bid .description { clear: both; } #book-admin-edit select { Index: modules/dblog/dblog-rtl.css =================================================================== RCS file: /cvs/drupal/drupal/modules/dblog/dblog-rtl.css,v retrieving revision 1.4 diff -u -p -r1.4 dblog-rtl.css --- modules/dblog/dblog-rtl.css 4 Jul 2009 14:57:22 -0000 1.4 +++ modules/dblog/dblog-rtl.css 23 Aug 2009 20:21:17 -0000 @@ -1,6 +1,6 @@ /* $Id: dblog-rtl.css,v 1.4 2009/07/04 14:57:22 dries Exp $ */ -.form-item-type-wrapper, .form-item-severity-wrapper { +.form-item-type, .form-item-severity { float: right; padding-right: 0; padding-left: .8em; Index: modules/dblog/dblog.css =================================================================== RCS file: /cvs/drupal/drupal/modules/dblog/dblog.css,v retrieving revision 1.6 diff -u -p -r1.6 dblog.css --- modules/dblog/dblog.css 4 Jul 2009 14:57:22 -0000 1.6 +++ modules/dblog/dblog.css 23 Aug 2009 20:21:17 -0000 @@ -1,6 +1,6 @@ /* $Id: dblog.css,v 1.6 2009/07/04 14:57:22 dries Exp $ */ -.form-item-type-wrapper, .form-item-severity-wrapper { +.form-item-type, .form-item-severity { float: left; /* LTR */ padding-right: .8em; /* LTR */ margin: 0.1em; Index: modules/locale/locale.css =================================================================== RCS file: /cvs/drupal/drupal/modules/locale/locale.css,v retrieving revision 1.3 diff -u -p -r1.3 locale.css --- modules/locale/locale.css 4 Jul 2009 14:57:23 -0000 1.3 +++ modules/locale/locale.css 23 Aug 2009 20:21:17 -0000 @@ -5,7 +5,7 @@ text-decoration: line-through; } -.form-item-language-wrapper, .form-item-translation-wrapper, .form-item-group-wrapper { +.form-item-language, .form-item-translation, .form-item-group { float: left; /* LTR */ padding-right: .8em; /* LTR */ margin: 0.1em; Index: modules/openid/openid.css =================================================================== RCS file: /cvs/drupal/drupal/modules/openid/openid.css,v retrieving revision 1.7 diff -u -p -r1.7 openid.css --- modules/openid/openid.css 4 Jul 2009 14:57:23 -0000 1.7 +++ modules/openid/openid.css 23 Aug 2009 20:21:17 -0000 @@ -6,11 +6,11 @@ background-repeat: no-repeat; padding-left: 20px; } -div.form-item-openid-identifier-wrapper { +div.form-item-openid-identifier { display: block; } -html.js #user-login-form div.form-item-openid-identifier-wrapper, -html.js #user-login div.form-item-openid-identifier-wrapper { +html.js #user-login-form div.form-item-openid-identifier, +html.js #user-login div.form-item-openid-identifier { display: none; } html.js #user-login-form li.openid-link, Index: modules/openid/openid.js =================================================================== RCS file: /cvs/drupal/drupal/modules/openid/openid.js,v retrieving revision 1.11 diff -u -p -r1.11 openid.js --- modules/openid/openid.js 4 Jul 2009 14:57:23 -0000 1.11 +++ modules/openid/openid.js 23 Aug 2009 20:21:18 -0000 @@ -3,8 +3,8 @@ Drupal.behaviors.openid = { attach: function (context) { - var loginElements = $('.form-item-name-wrapper, .form-item-pass-wrapper, li.openid-link'); - var openidElements = $('.form-item-openid-identifier-wrapper, li.user-link'); + var loginElements = $('.form-item-name, .form-item-pass, li.openid-link'); + var openidElements = $('.form-item-openid-identifier, li.user-link'); // This behavior attaches by ID, so is only valid once on a page. if (!$('#edit-openid-identifier.openid-processed').size() && $('#edit-openid-identifier').val()) { Index: modules/system/system-rtl.css =================================================================== RCS file: /cvs/drupal/drupal/modules/system/system-rtl.css,v retrieving revision 1.16 diff -u -p -r1.16 system-rtl.css --- modules/system/system-rtl.css 17 Aug 2009 07:12:16 -0000 1.16 +++ modules/system/system-rtl.css 23 Aug 2009 20:59:34 -0000 @@ -66,11 +66,6 @@ html.js fieldset.collapsed legend a { background-position: 98% 50%; } -div.teaser-button-wrapper { - float: left; - padding-right: 0; - padding-left: 5%; -} .teaser-checkbox div.form-item { float: left; margin: 0 0 0 5%; Index: modules/system/system.css =================================================================== RCS file: /cvs/drupal/drupal/modules/system/system.css,v retrieving revision 1.60 diff -u -p -r1.60 system.css --- modules/system/system.css 17 Aug 2009 07:12:16 -0000 1.60 +++ modules/system/system.css 23 Aug 2009 20:59:41 -0000 @@ -409,11 +409,6 @@ a.tabledrag-handle-hover .handle { .teaser-checkbox { padding-top: 1px; } -div.teaser-button-wrapper { - float: right; /* LTR */ - padding-right: 5%; /* LTR */ - margin: 0; -} .teaser-checkbox div.form-item { float: right; /* LTR */ margin: 0 5% 0 0; /* LTR */ Index: modules/system/system.js =================================================================== RCS file: /cvs/drupal/drupal/modules/system/system.js,v retrieving revision 1.31 diff -u -p -r1.31 system.js --- modules/system/system.js 22 Aug 2009 23:18:29 -0000 1.31 +++ modules/system/system.js 23 Aug 2009 21:14:35 -0000 @@ -196,7 +196,7 @@ Drupal.behaviors.machineReadableValue = // Build selector for the machine readable name. var target = '#edit-' + settings.target; // Build selector for the wrapper element around the target field. - var wrapper = '.' + settings.target + '-wrapper'; + var wrapper = '.form-item-' + settings.target; // Do not process the element if we got an error or the given name and the // machine readable name are identical or the machine readable name is Index: modules/taxonomy/vocabulary.js =================================================================== RCS file: /cvs/drupal/drupal/modules/taxonomy/vocabulary.js,v retrieving revision 1.1 diff -u -p -r1.1 vocabulary.js --- modules/taxonomy/vocabulary.js 12 Jun 2009 19:29:04 -0000 1.1 +++ modules/taxonomy/vocabulary.js 23 Aug 2009 21:18:33 -0000 @@ -4,13 +4,13 @@ Drupal.behaviors.contentTypes = { attach: function () { if ($('#edit-machine-name').val() == $('#edit-name').val().toLowerCase().replace(/[^a-z0-9]+/g, '_').replace(/_+/g, '_') || $('#edit-machine-name').val() == '') { - $('#edit-machine-name-wrapper').hide(); + $('.form-item-machine-name').hide(); $('#edit-name').keyup(function () { var machine = $(this).val().toLowerCase().replace(/[^a-z0-9]+/g, '_').replace(/_+/g, '_'); if (machine != '_' && machine != '') { $('#edit-machine-name').val(machine); $('#vocabulary-name-suffix').empty().append(' Machine name: ' + machine + ' [').append($('' + Drupal.t('Edit') + '').click(function () { - $('#edit-machine-name-wrapper').show(); + $('.form-item-machine-name').show(); $('#vocabulary-name-suffix').hide(); $('#edit-name').unbind('keyup'); return false;