Skip to content

Commit

Permalink
Fixed issue #8320: Faulty hint text with sliders
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Oct 30, 2013
1 parent e7fd3f3 commit 4a761c3
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion application/helpers/qanda_helper.php
Expand Up @@ -3490,7 +3490,17 @@ function do_multiplenumeric($ia)
$question_tip = '';
if($hidetip == 0)
{
$question_tip .= '<p class="tip">'.$clang->gT('Only numbers may be entered in these fields')."</p>\n";
$question_tip .= '<p class="tip">';
if ($slider_layout)
{
$question_tip .= $clang->gT('Only numbers may be entered in these fields');
}
else
{
$question_tip .= $clang->gT('Please click and drag the slider handles to enter your answer.');
}
$question_tip .= "</p>\n";

}
// if ($max_num_value)
// {
Expand Down

0 comments on commit 4a761c3

Please sign in to comment.