Skip to content

Commit

Permalink
Dev: frontend, various fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Feb 23, 2016
1 parent e5057dd commit bfaf274
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion application/config/config-defaults.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
$config['deleteblacklisted'] = 'N'; // Delete globally blacklisted participant from the database
$config['allowunblacklist'] = 'N'; // Allow participant to unblacklist himself/herself
$config['userideditable'] = 'N'; // Allow editing of user IDs
$config['defaulttemplate'] = 'ubuntu_orange'; // This setting specifys the default theme used for the 'public list' of surveys
$config['defaulttemplate'] = 'default'; // This setting specifys the default theme used for the 'public list' of surveys

$config['allowedtemplateuploads'] = 'gif,ico,jpg,png,css,js,map,json,eot,svg,ttf,woff,txt,md'; // File types allowed to be uploaded in the templates section.

Expand Down
7 changes: 4 additions & 3 deletions application/helpers/qanda_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ function return_timer_script($aQuestionAttributes, $ia, $disable=null)
$iAction = '3';
}

$output .= Yii::app()->getController()->renderPartial('/survey/question_timer/timer_javascript', array('iAction'=>$iAction, 'disable_next'=>$disable_next, 'disable_prev'=>$disable_prev ), true);
$output .= Yii::app()->getController()->renderPartial('/survey/question_timer/timer_javascript', array('iAction'=>$iAction, 'disable_next'=>$disable_next, 'disable_prev'=>$disable_prev, 'time_limit_countdown_message' =>$time_limit_countdown_message ), true);

}

Expand Down Expand Up @@ -1302,7 +1302,8 @@ function do_list_dropdown($ia)
$selectData = array(
'name'=>$ia[1],
'dropdownSize'=>$dropdownSize,
'checkconditionFunction'=>$checkconditionFunction
'checkconditionFunction'=>$checkconditionFunction,
'value'=>'',
);

if (isset($other) && $other=='Y')
Expand Down Expand Up @@ -3202,7 +3203,7 @@ function do_multiplenumeric($ia)
$dispVal = str_replace('.',$sSeparator,$dispVal);
}

if($slider_middlestart!='')
if( isset($slider_middlestart) && $slider_middlestart!='')
{
$slider_default = $slider_middlestart;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@ class="form-control textarea <?php echo $kpclass;?>"
<?php echo $dispVal;?>
</textarea>
<?php echo $suffix;?>
</div>
</div>
</div>

0 comments on commit bfaf274

Please sign in to comment.