Mercurial > hg > rr-repo
comparison sites/all/modules/webform/templates/webform-submission-information.tpl.php @ 0:ff03f76ab3fe
initial version
author | danieleb <danielebarchiesi@me.com> |
---|---|
date | Wed, 21 Aug 2013 18:51:11 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:ff03f76ab3fe |
---|---|
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 format_date($submission->submitted, 'long'); ?></div> | |
22 <div><?php print $submission->remote_addr; ?></div> | |
23 </div> | |
24 </fieldset> |