function makemeeting_sendfw in Make Meeting Scheduler 6
Same name and namespace in other branches
- 7 makemeeting.pages.inc \makemeeting_sendfw()
The send link forward page.
1 string reference to 'makemeeting_sendfw'
- makemeeting_menu in ./
makemeeting.module - Implements hook_menu().
File
- ./
makemeeting.pages.inc, line 83
Code
function makemeeting_sendfw($poll_url) {
// loading the node
$node_id = db_result(db_query("SELECT nid FROM {makemeeting_poll_heads} WHERE url = '%s'", $poll_url));
$node = node_load($node_id);
// Breadcrumb navigation
drupal_set_breadcrumb(array(
l(t('Home'), NULL),
l(t('Make Meetings'), 'makemeeting'),
l(t("Question: @question", array(
'@question' => $node->title,
)), 'makemeeting/' . $node->poll_url),
l(t("Send forward"), 'makemeeting/' . $node->poll_url . "/sendfw"),
));
if (variable_get('makemeeting_send_email_enabled', '1') == 0) {
return t('Send forward function is disabled by admin.');
}
return drupal_get_form("makemeeting_sendfw_form", $node);
}