- Patch #783584 by Pasqualle: fixed invalid HTML.
parent
688037d7e1
commit
2c83cf581e
|
@ -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'])) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue