help~~~~~~>w<
i wan to modify default value
but not result
mod\resource\lib.php
-------------------------------------------------------------------------------------------------
$RESOURCE_WINDOW_OPTIONS = array('resizable', 'scrollbars', 'directories', 'location',
'menubar', 'toolbar', 'status', 'width', 'height');
foreach ($RESOURCE_WINDOW_OPTIONS as $popupoption) {
$popupoption = "resource_popup$popupoption";
if (!isset($CFG->$popupoption)) {
if ($popupoption == 'resource_popupheight') {
set_config($popupoption, 450); -->modify default value =480
} else if ($popupoption == 'resource_popupwidth') {
set_config($popupoption, 620);
} else {
set_config($popupoption, 'checked');
}
}
}
---------------------------------------------------------------------------------------------
me moodle (1.8.6)