"flexible" is now out from set_attribute() because

flexible tables are adding it automatically.
Point 3.3 of MDL-8419

Merged from MOODLE_18_STABLE
This commit is contained in:
stronk7 2007-02-22 18:48:38 +00:00
parent d1b523b7d0
commit 90ea86e9f8
4 changed files with 5 additions and 5 deletions

View File

@ -172,7 +172,7 @@ $table->column_style('settings', 'text-align', 'center');
$table->define_headers(array($txt->name, $txt->enable, $txt->updown, $txt->settings));
$table->define_baseurl("{$CFG->wwwroot}/{$CFG->admin}/auth.php");
$table->set_attribute('id', 'blocks');
$table->set_attribute('class', 'flexible generaltable generalbox');
$table->set_attribute('class', 'generaltable generalbox');
$table->set_attribute('style', 'margin:auto;');
$table->set_attribute('cellpadding', '5');
$table->setup();

View File

@ -166,7 +166,7 @@
$table->define_headers(array($strname, $strcourses, $strversion, $strhide.'/'.$strshow, $strmultiple, $strdelete, $strsettings));
$table->define_baseurl($CFG->wwwroot.'/'.$CFG->admin.'/blocks.php');
$table->set_attribute('id', 'blocks');
$table->set_attribute('class', 'flexible generaltable generalbox boxaligncenter boxwidthwide');
$table->set_attribute('class', 'generaltable generalbox boxaligncenter boxwidthwide');
$table->setup();
foreach ($blockbyname as $blockname => $blockid) {
@ -233,7 +233,7 @@
$table->define_baseurl($CFG->wwwroot.'/'.$CFG->admin.'/blocks.php');
$table->set_attribute('id', 'incompatible');
$table->set_attribute('class', 'flexible generaltable generalbox boxaligncenter boxwidthwide');
$table->set_attribute('class', 'generaltable generalbox boxaligncenter boxwidthwide');
$table->setup();

View File

@ -185,7 +185,7 @@
$table->define_headers(array($txt->name, $txt->hideshow, $txt->updown, $txt->settings));
$table->define_baseurl("$CFG->wwwroot/$CFG->admin/filters.php");
$table->set_attribute('id', 'filters');
$table->set_attribute('class', 'flexible generaltable generalbox boxaligncenter boxwidthwide');
$table->set_attribute('class', 'generaltable generalbox boxaligncenter boxwidthwide');
$table->setup();
// iterate through filters adding to display table

View File

@ -161,7 +161,7 @@
$table->define_headers(array($stractivitymodule, $stractivities, $strversion, "$strhide/$strshow", $strdelete, $strsettings));
$table->define_baseurl($CFG->wwwroot.'/'.$CFG->admin.'/modules.php');
$table->set_attribute('id', 'modules');
$table->set_attribute('class', 'flexible generaltable generalbox boxaligncenter boxwidthwide');
$table->set_attribute('class', 'generaltable generalbox boxaligncenter boxwidthwide');
$table->setup();
foreach ($modulebyname as $modulename => $module) {