root / drupal7 / sites / all / modules / webform / templates / webform-confirmation.tpl.php @ 389fb945
1 | 85ad3d82 | Assos Assos | <?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 | a45e4bc1 | Assos Assos | * - $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 | 85ad3d82 | Assos Assos | * - $sid: The unique submission ID of this submission.
|
19 | a45e4bc1 | Assos Assos | * - $url: The URL of the form (or for in-block confirmations, the same page).
|
20 | 85ad3d82 | Assos Assos | */
|
21 | ?>
|
||
22 | a45e4bc1 | Assos Assos | <?php print $progressbar; ?> |
23 | 85ad3d82 | Assos Assos | |
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 | 8c72e82a | Assos Assos | <a href="<?php print $url; ?>"><?php print t('Go back to the form'); ?></a> |
34 | 85ad3d82 | Assos Assos | </div> |