Add personal ranking mode to order slides and show image placement only with an image #96
@@ -184,7 +184,7 @@ class SlidesTable extends Table
|
|||||||
$settings['ranking'] = filter_var($input['ranking'] ?? false, FILTER_VALIDATE_BOOLEAN);
|
$settings['ranking'] = filter_var($input['ranking'] ?? false, FILTER_VALIDATE_BOOLEAN);
|
||||||
break;
|
break;
|
||||||
case Slide::TYPE_QUIZ:
|
case Slide::TYPE_QUIZ:
|
||||||
$limit =(int)($input['time_limit'] ?? $settings['time_limit']);
|
$limit = (int)($input['time_limit'] ?? $settings['time_limit']);
|
||||||
if (in_array($limit, Slide::QUIZ_TIME_LIMITS, true)) {
|
if (in_array($limit, Slide::QUIZ_TIME_LIMITS, true)) {
|
||||||
$settings['time_limit'] = $limit;
|
$settings['time_limit'] = $limit;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user