function og_invite_form in Organic groups 5.7
Same name and namespace in other branches
- 5.8 og.module \og_invite_form()
- 5 og.module \og_invite_form()
- 5.2 og.module \og_invite_form()
- 5.3 og.module \og_invite_form()
- 6.2 og.pages.inc \og_invite_form()
- 6 og.module \og_invite_form()
2 string references to 'og_invite_form'
File
- ./
og.module, line 608
Code
function og_invite_form($gid) {
$max = variable_get('og_email_max', 10);
$form['mails'] = array(
'#type' => 'textarea',
'#title' => t('Email addresses or usernames'),
'#description' => t('Enter up to %max email addresses or usernames. Separate multiple addresses by commas or new lines. Each person will receive an invitation message from you.', array(
'%max' => $max,
)),
);
$form['pmessage'] = array(
'#type' => 'textarea',
'#title' => t('Personal message'),
'#description' => t('Optional. Enter a message which will become part of the invitation email.'),
);
$form['op'] = array(
'#type' => 'submit',
'#value' => t('Send invitation'),
);
$form['gid'] = array(
'#type' => 'value',
'#value' => $gid,
);
$form['valid_emails'] = array(
'#type' => 'value',
'#value' => array(),
);
return $form;
}