root / drupal7 / sites / all / modules / webform / templates / webform-confirmation.tpl.php @ 651307cd
1 |
<?php
|
---|---|
2 |
|
3 |
/**
|
4 |
* @file
|
5 |
* Customize confirmation screen after successful submission.
|
6 |
*
|
7 |
* This file may be renamed "webform-confirmation-[nid].tpl.php" to target a
|
8 |
* specific webform e-mail on your site. Or you can leave it
|
9 |
* "webform-confirmation.tpl.php" to affect all webform confirmations on your
|
10 |
* site.
|
11 |
*
|
12 |
* Available variables:
|
13 |
* - $node: The node object for this webform.
|
14 |
* - $progressbar: The progress bar 100% filled (if configured). This may not
|
15 |
* print out anything if a progress bar is not enabled for this node.
|
16 |
* - $confirmation_message: The confirmation message input by the webform
|
17 |
* author.
|
18 |
* - $sid: The unique submission ID of this submission.
|
19 |
* - $url: The URL of the form (or for in-block confirmations, the same page).
|
20 |
*/
|
21 |
?>
|
22 |
<?php print $progressbar; ?> |
23 |
|
24 |
<div class="webform-confirmation"> |
25 |
<?php if ($confirmation_message): ?> |
26 |
<?php print $confirmation_message ?> |
27 |
<?php else: ?> |
28 |
<p><?php print t('Thank you, your submission has been received.'); ?></p> |
29 |
<?php endif; ?> |
30 |
</div>
|
31 |
|
32 |
<div class="links"> |
33 |
<a href="<?php print $url; ?>"><?php print t('Go back to the form'); ?></a> |
34 |
</div>
|