#54508, remove extra </div>, patch by introfini
parent
227276ad93
commit
12d74454f6
|
@ -158,7 +158,7 @@ function poll_form(&$node) {
|
|||
$_active = array(0 => t('Closed'), 1 => t('Active'));
|
||||
|
||||
if ($admin) {
|
||||
$form['settings'] = array('#type' => 'fieldset', '#title' => t('Settings'), '#suffix' => '</div>');
|
||||
$form['settings'] = array('#type' => 'fieldset', '#title' => t('Settings'));
|
||||
$form['settings']['active'] = array('#type' => 'radios', '#title' => t('Poll status'), '#default_value' => isset($node->active) ? $node->active : 1, '#options' => $_active, '#description' => t('When a poll is closed, visitors can no longer vote for it.'));
|
||||
}
|
||||
$form['settings']['runtime'] = array('#type' => 'select', '#title' => t('Poll duration'), '#default_value' => $node->runtime ? $node->runtime : 0, '#options' => $_duration, '#description' => t('After this period, the poll will be closed automatically.'));
|
||||
|
|
|
@ -158,7 +158,7 @@ function poll_form(&$node) {
|
|||
$_active = array(0 => t('Closed'), 1 => t('Active'));
|
||||
|
||||
if ($admin) {
|
||||
$form['settings'] = array('#type' => 'fieldset', '#title' => t('Settings'), '#suffix' => '</div>');
|
||||
$form['settings'] = array('#type' => 'fieldset', '#title' => t('Settings'));
|
||||
$form['settings']['active'] = array('#type' => 'radios', '#title' => t('Poll status'), '#default_value' => isset($node->active) ? $node->active : 1, '#options' => $_active, '#description' => t('When a poll is closed, visitors can no longer vote for it.'));
|
||||
}
|
||||
$form['settings']['runtime'] = array('#type' => 'select', '#title' => t('Poll duration'), '#default_value' => $node->runtime ? $node->runtime : 0, '#options' => $_duration, '#description' => t('After this period, the poll will be closed automatically.'));
|
||||
|
|
Loading…
Reference in New Issue