2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.7 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2015 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
9 | CiviCRM is free software; you can copy, modify, and distribute it |
10 | under the terms of the GNU Affero General Public License |
11 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
13 | CiviCRM is distributed in the hope that it will be useful, but |
14 | WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
16 | See the GNU Affero General Public License for more details. |
18 | You should have received a copy of the GNU Affero General Public |
19 | License and the CiviCRM Licensing Exception along |
20 | with this program; if not, contact CiviCRM LLC |
21 | at info[AT]civicrm[DOT]org. If you have questions about the |
22 | GNU Affero General Public License or the licensing of CiviCRM, |
23 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
24 +--------------------------------------------------------------------+
27 {* Cover sheet for walklist survey *}
29 <h2>{ts 1=$reportTitle}Cover Sheet for %1{/ts}</h2>
31 {* print survey result set option value and label *}
32 {if $surveyResultFields}
34 <h4>{ts}Result Set{/ts}</h4>
35 <div id='survey_result_fields'>
36 <table class="report-layout">
37 {foreach from=$surveyResultFields key=surveyId item=result}
38 <tr><th scope="row">{ts 1=$result.title}Survey Title = %1{/ts}</th></tr>
40 <div id='survey_result_fields_options'>
41 <table class="report-layout">
42 {foreach from=$result.options key=value item=label}
43 <tr><td>{$value} = {$label}</td></tr>
57 {* print survey response set option value and label *}
58 {if $surveyResponseFields}
60 <h4>{ts}Response Codes{/ts}</h4>
61 <div id='survey_response_fields'>
62 <table class="report-layout">
64 {assign var=resFldCnt value=1}
65 {foreach from=$surveyResponseFields key=id item=responseField}
67 <tr><th>{ts 1=$resFldCnt 2=$responseField.title}Q%1 = %2{/ts}</th></tr>
69 {if $responseField.options}
71 <div id='survey_response_fields_codes'>
72 <table class="report-layout">
73 {foreach from=$responseField.options key=value item=label}
74 <tr><td>{$value} = {$label}</td></tr>
82 {* clean separation of each response question *}
83 <tr><td><br /></td></tr>
85 {assign var=resFldCnt value=`$resFldCnt+1`}