192,196d191
< $form['#prefix'] = '
';
< $form['#suffix'] = "
";
<
<
< // filter by month
201a197,202
> $options_years[0] = '';
> $options_years = $options_years + drupal_map_assoc(range(1900,2050));
>
> $form['#prefix'] = '';
> $form['#suffix'] = "
";
>
210,221c211,217
< // filter by year
< if (variable_get('birthdays_hide_year', 0) != 1) {
< $options_years[0] = '';
< $options_years = $options_years + drupal_map_assoc(range(1900,2050));
< $form['birthdays_filter_year'] = array(
< '#type' => 'select',
< '#options' => $options_years,
< '#default_value' => $filter_year,
< '#title' => t('Year'),
< '#attributes' => array('onchange' => 'submit()'),
< );
< }
---
> $form['birthdays_filter_year'] = array(
> '#type' => 'select',
> '#options' => $options_years,
> '#default_value' => $filter_year,
> '#title' => t('Year'),
> '#attributes' => array('onchange' => 'submit()'),
> );