From: stronk7 Date: Wed, 21 Feb 2007 17:57:21 +0000 (+0000) Subject: inline are now 100% out. Let's CSS handle them. MDL-8419 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=38287e169c3f11b68920a9ea12a488be88c5af84;p=moodle.git inline are now 100% out. Let's CSS handle them. MDL-8419 --- diff --git a/admin/blocks.php b/admin/blocks.php index 8ddbc2500b..5dd626b726 100644 --- a/admin/blocks.php +++ b/admin/blocks.php @@ -163,18 +163,10 @@ $table = new flexible_table('admin-blocks-compatible'); $table->define_columns(array('name', 'instances', 'version', 'hideshow', 'multiple', 'delete', 'settings')); - $table->column_style('instances', 'text-align', 'center'); - $table->column_style('version', 'text-align', 'center'); - $table->column_style('hideshow', 'text-align', 'center'); - $table->column_style('multiple', 'text-align', 'center'); - $table->column_style('delete', 'text-align', 'center'); - $table->column_style('settings', 'text-align', 'center'); $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'); - $table->set_attribute('style', 'margin:auto;'); - $table->set_attribute('cellpadding', '5'); $table->setup(); foreach ($blockbyname as $blockname => $blockid) { diff --git a/admin/filters.php b/admin/filters.php index 1568517db3..11b15104f8 100644 --- a/admin/filters.php +++ b/admin/filters.php @@ -182,15 +182,10 @@ // construct the flexible table ready to display $table = new flexible_table(FILTER_TABLE); $table->define_columns(array('name', 'hideshow', 'order', 'settings')); - $table->column_style('hideshow', 'text-align', 'center'); - $table->column_style('order', 'text-align', 'center'); - $table->column_style('settings', 'text-align', 'center'); $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'); - $table->set_attribute('style', 'margin:auto;'); - $table->set_attribute('cellpadding', '5'); $table->setup(); // iterate through filters adding to display table diff --git a/admin/modules.php b/admin/modules.php index 6795532167..1994d3de8d 100644 --- a/admin/modules.php +++ b/admin/modules.php @@ -158,17 +158,10 @@ // construct the flexible table ready to display $table = new flexible_table(MODULE_TABLE); $table->define_columns(array('name', 'instances', 'version', 'hideshow', 'delete', 'settings')); - $table->column_style('instances', 'text-align', 'center'); - $table->column_style('version', 'text-align', 'center'); - $table->column_style('hideshow', 'text-align', 'center'); - $table->column_style('delete', 'text-align', 'center'); - $table->column_style('settings', 'text-align', 'center'); $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'); - $table->set_attribute('style', 'margin:auto;'); - $table->set_attribute('cellpadding', '5'); $table->setup(); foreach ($modulebyname as $modulename => $module) {