]> git.mjollnir.org Git - moodle.git/commitdiff
inline are now 100% out. Let's CSS handle them. MDL-8419
authorstronk7 <stronk7>
Wed, 21 Feb 2007 17:57:21 +0000 (17:57 +0000)
committerstronk7 <stronk7>
Wed, 21 Feb 2007 17:57:21 +0000 (17:57 +0000)
admin/blocks.php
admin/filters.php
admin/modules.php

index 8ddbc2500b0a5af9837ab1c0c951293b18525bae..5dd626b7267577460b11c186fd9c0f7c37507fad 100644 (file)
     $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) {
index 1568517db3d63673d3c9b493f31e9fa7a6b1431c..11b15104f83790ca040b19fd69057af01fa3dd29 100644 (file)
     // 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
index 6795532167f90c438ab24ad3ac95b2ddc6d0c0f2..1994d3de8ded70bc38c9c406df4385d49e6ef18d 100644 (file)
     // 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) {