Projet

Général

Profil

Paste
Télécharger (1,05 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / webform / templates / webform-submission-information.tpl.php @ e9f59ce0

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 clearfix">
16
  <legend><?php print t('Submission information'); ?></legend>
17
  <?php print theme('user_picture', array('account' => $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', array('account' => $account)))); ?></div>
21
    <div><?php print check_plain(format_date($submission->submitted, webform_variable_get('webform_date_type'))); ?></div>
22
    <div><?php print check_plain($submission->remote_addr); ?></div>
23
  </div>
24
</fieldset>