Commit 2c83cf58 authored by Dries's avatar Dries

- Patch #783584 by Pasqualle: fixed invalid HTML.

parent 688037d7
......@@ -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)) : ' ',
$access ? l(t('delete'), 'node/' . $nid . '/delete', array('query' => $destination) ) : ' ',
);
$row = array('data' => $data);
if (isset($form[$key]['#attributes'])) {
......
......@@ -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) {
......
......@@ -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',
......
......@@ -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',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment