root / drupal7 / sites / all / modules / webform / templates / webform-submission-page.tpl.php @ 389fb945
1 |
<?php
|
---|---|
2 |
|
3 |
/**
|
4 |
* @file
|
5 |
* Customize the navigation 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 Webform submission array.
|
12 |
* - $submission_content: The contents of the webform submission.
|
13 |
* - $submission_navigation: The previous submission ID.
|
14 |
* - $submission_information: The next submission ID.
|
15 |
*/
|
16 |
?>
|
17 |
|
18 |
<?php if ($mode == 'display' || $mode == 'form'): ?> |
19 |
<div class="clearfix"> |
20 |
<?php print $submission_actions; ?> |
21 |
<?php print $submission_navigation; ?> |
22 |
</div>
|
23 |
<?php endif; ?> |
24 |
|
25 |
<?php print $submission_information; ?> |
26 |
|
27 |
<div class="webform-submission"> |
28 |
<?php print render($submission_content); ?> |
29 |
</div>
|
30 |
|
31 |
<?php if ($mode == 'display' || $mode == 'form'): ?> |
32 |
<div class="clearfix"> |
33 |
<?php print $submission_navigation; ?> |
34 |
</div>
|
35 |
<?php endif; ?> |