function makemeeting_sendfw_form in Make Meeting Scheduler 7
Same name and namespace in other branches
- 6 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 1096 - Make Meeting module
Code
function makemeeting_sendfw_form($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;
}