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