|
|
|
@ -1634,7 +1634,11 @@ class ch_yesno extends survey_question { |
|
|
|
|
|
|
|
|
|
|
|
if (is_array($form_content['options'])) { // Check if data is correct |
|
|
|
if (is_array($form_content['options'])) { // Check if data is correct |
|
|
|
foreach ($form_content['options'] as $key => & $value) { |
|
|
|
foreach ($form_content['options'] as $key => & $value) { |
|
|
|
|
|
|
|
if ($form_content['display'] == 'vertical') { |
|
|
|
$this->html .= '<label class="radio">'; |
|
|
|
$this->html .= '<label class="radio">'; |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
$this->html .= '<label class="radio inline">'; |
|
|
|
|
|
|
|
} |
|
|
|
$value_to_show = $value; |
|
|
|
$value_to_show = $value; |
|
|
|
|
|
|
|
|
|
|
|
if (substr_count($value, '<p>') == 1) { |
|
|
|
if (substr_count($value, '<p>') == 1) { |
|
|
|
|