[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

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

   1  <?php
   2  
   3  /**
   4   * @file
   5   * Customize the header information shown when editing or viewing submissions.
   6   *
   7   * Available variables:
   8   * - $node: The node object for this webform.
   9   * - $mode: Either "form" or "display". May be other modes provided by other
  10   *          modules, such as "print" or "pdf".
  11   * - $submission: The contents of the webform submission.
  12   * - $account: The user that submitted the form.
  13   */
  14  ?>
  15  <fieldset class="webform-submission-info clear-block">
  16    <legend><?php print t('Submission information'); ?></legend>
  17    <?php print theme('user_picture', $account); ?>
  18    <div class="webform-submission-info-text">
  19      <div><?php print t('Form: !form', array('!form' => l($node->title, 'node/' . $node->nid))); ?></div>
  20      <div><?php print t('Submitted by !name', array('!name' => theme('username', $account))); ?></div>
  21      <div><?php print format_date($submission->submitted, 'large'); ?></div>
  22      <div><?php print $submission->remote_addr; ?></div>
  23    </div>
  24  </fieldset>


Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7