From 2c83cf581e2763ed694e3fb35dbcb15de7477dda Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Wed, 28 Apr 2010 19:36:01 +0000 Subject: [PATCH] - Patch #783584 by Pasqualle: fixed invalid HTML. --- modules/book/book.admin.inc | 4 ++-- modules/node/content_types.inc | 2 +- modules/system/system.admin.inc | 2 +- modules/taxonomy/taxonomy.admin.inc | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/book/book.admin.inc b/modules/book/book.admin.inc index 7a319430a0b0..02a45b24c8c2 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)) : ' ', - $access ? l(t('delete'), 'node/' . $nid . '/delete', array('query' => $destination) ) : ' ', + $access ? l(t('edit'), 'node/' . $nid . '/edit', array('query' => $destination)) : ' ', + $access ? l(t('delete'), 'node/' . $nid . '/delete', array('query' => $destination) ) : ' ', ); $row = array('data' => $data); if (isset($form[$key]['#attributes'])) { diff --git a/modules/node/content_types.inc b/modules/node/content_types.inc index be7de61f2936..f3f7acfeab71 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)) : ' ') . '</small>', + '#field_suffix' => ' <small id="edit-name-suffix">' . ($type->locked ? t('Machine name: @name', array('@name' => $type->type)) : ' ') . '</small>', ); if (!$type->locked) { diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index 5f98fa3c2c18..149b0819c06a 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"> </small>', + '#field_suffix' => ' <small id="edit-date-type-suffix"> </small>', ); $js_settings = array( 'type' => 'setting', diff --git a/modules/taxonomy/taxonomy.admin.inc b/modules/taxonomy/taxonomy.admin.inc index 5cdc22b51e58..e1dfdec2f362 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"> </small>', + '#field_suffix' => ' <small id="edit-name-suffix"> </small>', ); $js_settings = array( 'type' => 'setting', -- GitLab