webform-submission-page.tpl.php in Webform 6.3
Same filename and directory in other branches
Customize the navigation shown when editing or viewing submissions.
Available variables:
- $node: The node object for this webform.
- $mode: Either "form" or "display". May be other modes provided by other modules, such as "print" or "pdf".
- $submission: The Webform submission array.
- $submission_content: The contents of the webform submission.
- $submission_actions: The actions that can be performed on this submission.
- $submission_navigation: Links to the previous and next submission.
- $submission_information: Information on who made this submission.
1 theme call to webform-submission-page.tpl.php
- webform_submission_page in includes/
webform.submissions.inc - Menu callback; Present a Webform submission page for display or editing.
File
templates/webform-submission-page.tpl.phpView source
<?php
/**
* @file
* Customize the navigation shown when editing or viewing submissions.
*
* Available variables:
* - $node: The node object for this webform.
* - $mode: Either "form" or "display". May be other modes provided by other
* modules, such as "print" or "pdf".
* - $submission: The Webform submission array.
* - $submission_content: The contents of the webform submission.
* - $submission_actions: The actions that can be performed on this submission.
* - $submission_navigation: Links to the previous and next submission.
* - $submission_information: Information on who made this submission.
*/
?>
<?php
if ($mode == 'display' || $mode == 'form') {
?>
<div class="clear-block">
<?php
print $submission_actions;
?>
<?php
print $submission_navigation;
?>
</div>
<?php
}
?>
<?php
print $submission_information;
?>
<div class="webform-submission">
<?php
print $submission_content;
?>
</div>
<?php
if ($mode == 'display' || $mode == 'form') {
?>
<div class="clear-block">
<?php
print $submission_navigation;
?>
</div>
<?php
}