summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-03-17 18:37:46 +0000
committerGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-03-17 18:37:46 +0000
commit12d74454f6cf30dd061a5a50cd05a915f0852caa (patch)
treed29f88f85b72df0fb42caee6399044ccc4e63c8e
parent227276ad93f25776e07fa15f24b4658848462af2 (diff)
downloadbrdo-12d74454f6cf30dd061a5a50cd05a915f0852caa.tar.gz
brdo-12d74454f6cf30dd061a5a50cd05a915f0852caa.tar.bz2
#54508, remove extra </div>, patch by introfini
-rw-r--r--modules/poll.module2
-rw-r--r--modules/poll/poll.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/poll.module b/modules/poll.module
index ea0a561a0..1cd9fce8b 100644
--- a/modules/poll.module
+++ b/modules/poll.module
@@ -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.'));
diff --git a/modules/poll/poll.module b/modules/poll/poll.module
index ea0a561a0..1cd9fce8b 100644
--- a/modules/poll/poll.module
+++ b/modules/poll/poll.module
@@ -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.'));