|
|
|
|
@ -2860,6 +2860,7 @@ class SurveyUtil { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// displaying the table: the content |
|
|
|
|
if(is_array($options)){ |
|
|
|
|
foreach ($options as $key=>$value) |
|
|
|
|
{ |
|
|
|
|
$absolute_number = $data[$value['question_option_id']]['total']; |
|
|
|
|
@ -2884,7 +2885,7 @@ class SurveyUtil { |
|
|
|
|
echo ' </td>'; |
|
|
|
|
echo ' </tr>'; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
// displaying the table: footer (totals) |
|
|
|
|
echo ' <tr>'; |
|
|
|
|
echo ' <td style="border-top:1px solid black;"><b>'.get_lang('Total').'</b></td>'; |
|
|
|
|
@ -3211,7 +3212,7 @@ class SurveyUtil { |
|
|
|
|
echo '<td align="center">'.$value.'</td>'; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if(is_array($possible_options)) { |
|
|
|
|
foreach ($possible_options as $question_id=>$possible_option) |
|
|
|
|
{ |
|
|
|
|
if ($questions[$question_id]['type'] == 'open') |
|
|
|
|
@ -3240,6 +3241,7 @@ class SurveyUtil { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
echo '</tr>'; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|