theme_webform_confirmation($node, $sid)
contributions/webform/webform.module, line 1686
Themable function for webform submission confirmation.
$node The webform node that has just been submitted.
<?php
function theme_webform_confirmation($node, $sid) {
if (empty($node->webform['confirmation'])) {
drupal_set_message(t('Thank you, your submission has been received.'));
drupal_goto('node/'. $node->nid);
}
$node->body = check_markup($node->webform['confirmation'], $node->format, FALSE);
$node->links['webform_back'] = array(
'href' => 'node/'. $node->nid,
'title' => t('Go back to the form'),
);
return theme('node', $node, FALSE, TRUE);
}
?>