root / drupal7 / sites / all / modules / webform / templates / webform-analysis.tpl.php @ 7b2d1845
1 | a45e4bc1 | Assos Assos | <?php
|
---|---|---|---|
2 | feca1e4a | Assos Assos | |
3 | a45e4bc1 | Assos Assos | /**
|
4 | * @file
|
||
5 | * Template for printing out the contents of the "Analysis" tab on a Webform.
|
||
6 | *
|
||
7 | * Available variables:
|
||
8 | * - $node: The node object for this webform.
|
||
9 | * - $component: If a single components analysis is being printed, this will
|
||
10 | * contain a Webform component. Otherwise all components are having their
|
||
11 | * analysis printed on the same page.
|
||
12 | * - $analysis: A renderable object containing the following children:
|
||
13 | * - 'exposed_filter': The output of any exposed filter created by the
|
||
14 | * webform_analysis, webform_analysis_CONTENTTYPE, or webform_analysis_NID
|
||
15 | * view.
|
||
16 | * - 'form': A form for selecting which components should be included in the
|
||
17 | * analysis.
|
||
18 | * - 'data': An render array of analysis results for each component enabled.
|
||
19 | */
|
||
20 | ?>
|
||
21 | <div class="webform-analysis"> |
||
22 | <?php print drupal_render($analysis['form']['help']); ?> |
||
23 | |||
24 | <?php print drupal_render($analysis['exposed_filter']); ?> |
||
25 | <div class="webform-analysis-data"> |
||
26 | <?php print drupal_render($analysis['data']); ?> |
||
27 | </div>
|
||
28 | <?php print drupal_render($analysis['form']); ?> |
||
29 | <?php /* Print out any remaining part of the renderable. */ ?> |
||
30 | <?php print drupal_render_children($analysis); ?> |
||
31 | </div> |