Skip to content

Commit

Permalink
"flexible" is now out from set_attribute() because
Browse files Browse the repository at this point in the history
flexible tables are adding it automatically.
Point 3.3 of MDL-8419
  • Loading branch information
stronk7 committed Feb 22, 2007
1 parent a55eff0 commit 617ef2a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion admin/auth.php
Expand Up @@ -172,7 +172,7 @@
$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();
Expand Down
4 changes: 2 additions & 2 deletions admin/blocks.php
Expand Up @@ -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) {
Expand Down Expand Up @@ -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();

Expand Down
2 changes: 1 addition & 1 deletion admin/filters.php
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion admin/modules.php
Expand Up @@ -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) {
Expand Down

0 comments on commit 617ef2a

Please sign in to comment.