webform-analysis-component.tpl.php 771 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * @file
  4. * Template for rendering an individual component's analysis data.
  5. *
  6. * Available variables:
  7. * - $component: The component whose analysis is being rendered.
  8. * - $component_analysis: A renderable containing this components analysis.
  9. * - $data: An array of array containing the analysis data. Contains the keys:
  10. * - table_header: If this table has more than a single column, an array
  11. * of header labels.
  12. * - table_rows: If this component has a table that should be rendered, an
  13. * array of values.
  14. */
  15. ?>
  16. <div class="<?php print $classes; ?>">
  17. <div class="webform-analysis-component-inner">
  18. <h3><?php print check_plain($component['name']); ?></h3>
  19. <?php print drupal_render_children($component_analysis); ?>
  20. </div>
  21. </div>