FIxed defaults for frontpage format

This commit is contained in:
moodler
2006-09-21 07:38:13 +00:00
parent 4929302769
commit 1c1e7af4e2
+2 -2
View File
@@ -1506,7 +1506,7 @@ class admin_setting_courselist_frontpage extends admin_setting_configselect {
function get_setting() {
global $CFG;
return (isset($CFG->{$this->name}) ? explode(',', $CFG->{$this->name}) : NULL);
return (isset($CFG->{$this->name}) ? explode(',', $CFG->{$this->name}) : ',1,,');
}
function write_setting($data) {
@@ -1641,7 +1641,7 @@ class admin_setting_special_frontpagedesc extends admin_setting {
'<td>';
ob_start(); // double-check the number of columns below... might overrun some screen resolutions
print_textarea($usehtmleditor, 20, 40, 0, 0, 's_' . $this->name, $currentsetting);
print_textarea($usehtmleditor, 15, 60, 0, 0, 's_' . $this->name, $currentsetting);
if ($usehtmleditor) {
use_html_editor();