From: stronk7 Date: Thu, 22 Feb 2007 18:48:38 +0000 (+0000) Subject: "flexible" is now out from set_attribute() because X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=90ea86e9f8313db13c086dcf0db3be9b565a32f9;p=moodle.git "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 --- diff --git a/admin/auth.php b/admin/auth.php index 28b7cadc51..7dbd382301 100644 --- a/admin/auth.php +++ b/admin/auth.php @@ -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(); diff --git a/admin/blocks.php b/admin/blocks.php index 0e2a5a9456..c5eea01e84 100644 --- a/admin/blocks.php +++ b/admin/blocks.php @@ -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(); diff --git a/admin/filters.php b/admin/filters.php index 4ea03cd7db..4e29e70d30 100644 --- a/admin/filters.php +++ b/admin/filters.php @@ -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 diff --git a/admin/modules.php b/admin/modules.php index 3615e30886..b5742a99b9 100644 --- a/admin/modules.php +++ b/admin/modules.php @@ -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) {