webform-submission-page.tpl.php 982 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /**
  3. * @file
  4. * Customize the navigation shown when editing or viewing submissions.
  5. *
  6. * Available variables:
  7. * - $node: The node object for this webform.
  8. * - $mode: Either "form" or "display". May be other modes provided by other
  9. * modules, such as "print" or "pdf".
  10. * - $submission: The Webform submission array.
  11. * - $submission_content: The contents of the webform submission.
  12. * - $submission_navigation: The previous submission ID.
  13. * - $submission_information: The next submission ID.
  14. */
  15. ?>
  16. <?php if ($mode == 'display' || $mode == 'form'): ?>
  17. <div class="clearfix">
  18. <?php print $submission_actions; ?>
  19. <?php print $submission_navigation; ?>
  20. </div>
  21. <?php endif; ?>
  22. <?php print $submission_information; ?>
  23. <div class="webform-submission">
  24. <?php print render($submission_content); ?>
  25. </div>
  26. <?php if ($mode == 'display' || $mode == 'form'): ?>
  27. <div class="clearfix">
  28. <?php print $submission_navigation; ?>
  29. </div>
  30. <?php endif; ?>