Blok içeriği içerisine form elemanı yerleştirmek

Events happening in the community are now at Drupal community events on www.drupal.org.
kartagis's picture

Merhaba,

Ben bir blok yarattım modülle, şimdi de o blok içerisine form elemanı yerleştirmek istiyorum. Ancak 'Array' döndürüyor. Nasıl yapabilirim? Kodum şöyle:

function tcmb_get_curcode() {
  $header = array(t('Currency'), t('Buying'), t('Selling'));
  $rows = tcmb_get_cached_curcode();
  $output = theme('table', $header, $rows);
  $output .= array(
    '#type' => 'select',
    '#options' => getdates(),
  );
  $output .= t('Exchange rates are updated at 4 PM (GMT +3) on weekdays.');
  return $output;
}

function getdates() {
  return array(
    ('1' => 'Bir'),
    ('2' => 'İki'),
  );
}

Teşekkürler