MDL-78310 mod_resource: Change 'Show type' setting default value

Changing 'Show type' admin setting default value to 'Yes'
This commit is contained in:
Amaia Anabitarte
2023-06-12 17:39:16 +02:00
parent 71c36d2de1
commit f80b1b070b
+1 -1
View File
@@ -61,7 +61,7 @@ if ($ADMIN->fulltree) {
$settings->add(new admin_setting_configcheckbox('resource/showsize',
get_string('showsize', 'resource'), get_string('showsize_desc', 'resource'), 0));
$settings->add(new admin_setting_configcheckbox('resource/showtype',
get_string('showtype', 'resource'), get_string('showtype_desc', 'resource'), 0));
get_string('showtype', 'resource'), get_string('showtype_desc', 'resource'), 1));
$settings->add(new admin_setting_configcheckbox('resource/showdate',
get_string('showdate', 'resource'), get_string('showdate_desc', 'resource'), 0));
$settings->add(new admin_setting_configtext('resource/popupwidth',