summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-04-28 19:36:01 +0000
committerDries Buytaert <dries@buytaert.net>2010-04-28 19:36:01 +0000
commit2c83cf581e2763ed694e3fb35dbcb15de7477dda (patch)
tree8741f1196b6984d8cb70a9ee1cc8430a9cafb288
parent688037d7e1f11c5c827bce829ca3f09ccb3a0180 (diff)
downloadbrdo-2c83cf581e2763ed694e3fb35dbcb15de7477dda.tar.gz
brdo-2c83cf581e2763ed694e3fb35dbcb15de7477dda.tar.bz2
- Patch #783584 by Pasqualle: fixed invalid HTML.
-rw-r--r--modules/book/book.admin.inc4
-rw-r--r--modules/node/content_types.inc2
-rw-r--r--modules/system/system.admin.inc2
-rw-r--r--modules/taxonomy/taxonomy.admin.inc2
4 files changed, 5 insertions, 5 deletions
diff --git a/modules/book/book.admin.inc b/modules/book/book.admin.inc
index 7a319430a..02a45b24c 100644
--- a/modules/book/book.admin.inc
+++ b/modules/book/book.admin.inc
@@ -246,8 +246,8 @@ function theme_book_admin_table($variables) {
drupal_render($form[$key]['weight']),
drupal_render($form[$key]['plid']) . drupal_render($form[$key]['mlid']),
l(t('view'), $href),
- $access ? l(t('edit'), 'node/' . $nid . '/edit', array('query' => $destination)) : '&nbsp',
- $access ? l(t('delete'), 'node/' . $nid . '/delete', array('query' => $destination) ) : '&nbsp',
+ $access ? l(t('edit'), 'node/' . $nid . '/edit', array('query' => $destination)) : '&nbsp;',
+ $access ? l(t('delete'), 'node/' . $nid . '/delete', array('query' => $destination) ) : '&nbsp;',
);
$row = array('data' => $data);
if (isset($form[$key]['#attributes'])) {
diff --git a/modules/node/content_types.inc b/modules/node/content_types.inc
index be7de61f2..f3f7acfea 100644
--- a/modules/node/content_types.inc
+++ b/modules/node/content_types.inc
@@ -94,7 +94,7 @@ function node_type_form($form, &$form_state, $type = NULL) {
'#description' => t('The human-readable name of this content type. This text will be displayed as part of the list on the <em>Add new content</em> page. It is recommended that this name begin with a capital letter and contain only letters, numbers, and spaces. This name must be unique.'),
'#required' => TRUE,
'#size' => 30,
- '#field_suffix' => ' <small id="edit-name-suffix">' . ($type->locked ? t('Machine name: @name', array('@name' => $type->type)) : '&nbsp') . '</small>',
+ '#field_suffix' => ' <small id="edit-name-suffix">' . ($type->locked ? t('Machine name: @name', array('@name' => $type->type)) : '&nbsp;') . '</small>',
);
if (!$type->locked) {
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index 5f98fa3c2..149b0819c 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -2017,7 +2017,7 @@ function system_add_date_format_type_form($form, &$form_state) {
'#title' => t('Date type'),
'#type' => 'textfield',
'#required' => TRUE,
- '#field_suffix' => ' <small id="edit-date-type-suffix">&nbsp</small>',
+ '#field_suffix' => ' <small id="edit-date-type-suffix">&nbsp;</small>',
);
$js_settings = array(
'type' => 'setting',
diff --git a/modules/taxonomy/taxonomy.admin.inc b/modules/taxonomy/taxonomy.admin.inc
index 5cdc22b51..e1dfdec2f 100644
--- a/modules/taxonomy/taxonomy.admin.inc
+++ b/modules/taxonomy/taxonomy.admin.inc
@@ -121,7 +121,7 @@ function taxonomy_form_vocabulary($form, &$form_state, $edit = array()) {
'#default_value' => $edit['name'],
'#maxlength' => 255,
'#required' => TRUE,
- '#field_suffix' => ' <small id="edit-name-suffix">&nbsp</small>',
+ '#field_suffix' => ' <small id="edit-name-suffix">&nbsp;</small>',
);
$js_settings = array(
'type' => 'setting',