[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/webform/templates/ -> webform-confirmation.tpl.php (source)

   1  <?php
   2  // $Id: webform-confirmation.tpl.php,v 1.2 2010/02/11 22:05:27 quicksketch Exp $
   3  
   4  /**
   5   * @file
   6   * Customize confirmation screen after successful submission.
   7   *
   8   * This file may be renamed "webform-confirmation-[nid].tpl.php" to target a
   9   * specific webform e-mail on your site. Or you can leave it
  10   * "webform-confirmation.tpl.php" to affect all webform confirmations on your
  11   * site.
  12   *
  13   * Available variables:
  14   * - $node: The node object for this webform.
  15   * - $confirmation_message: The confirmation message input by the webform author.
  16   * - $sid: The unique submission ID of this submission.
  17   */
  18  ?>
  19  
  20  <div class="webform-confirmation">
  21    <?php if ($confirmation_message): ?>
  22      <?php print $confirmation_message ?>
  23    <?php else: ?>
  24      <p><?php print t('Thank you, your submission has been received.'); ?></p>
  25    <?php endif; ?>
  26  </div>
  27  
  28  <div class="links">
  29    <a href="<?php print url('node/'. $node->nid) ?>"><?php print t('Go back to the form') ?></a>
  30  </div>


Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7