function makemeeting_sendfw_form in Make Meeting Scheduler 6
Same name and namespace in other branches
- 7 makemeeting.module \makemeeting_sendfw_form()
1 string reference to 'makemeeting_sendfw_form'
- makemeeting_sendfw in ./
makemeeting.pages.inc - The send link forward page.
File
- ./
makemeeting.module, line 992 - Make Meeting module
Code
function makemeeting_sendfw_form(&$form_state, $node) {
$form['sendfw'] = array(
'#type' => 'fieldset',
'#title' => t('Add your friends e-mail addresses'),
'#tree' => TRUE,
);
for ($i = 0; $i < 5; $i++) {
$form['sendfw']['address_' . $i] = array(
'#type' => 'textfield',
'#title' => t('E-mail address #@num', array(
"@num" => $i + 1,
)),
'#maxlength' => 100,
);
}
$form['sendfw']['poll_url'] = array(
'#type' => 'value',
'#value' => $node->poll_url,
);
$form['sendfw']['submit_bt'] = array(
'#type' => 'submit',
'#value' => t('Send'),
);
return $form;
}