You are here

function sms_blast_form in SMS Framework 7

Same name and namespace in other branches
  1. 5 modules/sms_blast/sms_blast.module \sms_blast_form()
  2. 6.2 modules/sms_blast/sms_blast.module \sms_blast_form()
  3. 6 modules/sms_blast/sms_blast.module \sms_blast_form()

Displays the sms blast form.

1 string reference to 'sms_blast_form'
sms_blast_menu in modules/sms_blast/sms_blast.module
Implements hook_menu().

File

modules/sms_blast/sms_blast.module, line 37
Allows bulk text messages to be sent to registered users.

Code

function sms_blast_form() {
  $form['message'] = array(
    '#type' => 'textarea',
    '#title' => t('Message'),
    '#cols' => 60,
    '#rows' => 5,
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Send'),
  );
  return $form;
}