root / drupal7 / sites / all / modules / webform / templates / webform-submission-information.tpl.php @ 74f6bef0
1 | 85ad3d82 | Assos Assos | <?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 format_date($submission->submitted, 'long'); ?></div> |
||
22 | <div><?php print $submission->remote_addr; ?></div> |
||
23 | </div>
|
||
24 | </fieldset> |