Projet

Général

Profil

Paste
Télécharger (888 octets) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / webform / templates / webform-confirmation.tpl.php @ 76df55b7

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
 * - $confirmation_message: The confirmation message input by the webform author.
15
 * - $sid: The unique submission ID of this submission.
16
 */
17
?>
18

    
19
<div class="webform-confirmation">
20
  <?php if ($confirmation_message): ?>
21
    <?php print $confirmation_message ?>
22
  <?php else: ?>
23
    <p><?php print t('Thank you, your submission has been received.'); ?></p>
24
  <?php endif; ?>
25
</div>
26

    
27
<div class="links">
28
  <a href="<?php print url('node/'. $node->nid) ?>"><?php print t('Go back to the form') ?></a>
29
</div>