From: vyshane Date: Thu, 1 Jun 2006 08:10:34 +0000 (+0000) Subject: Merged from 1.6. Fix for cvs update -kk -j MOODLE_16_MERGED -j X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=749818fd09e5cdc60f4c62bc7f88d3b322111286;p=moodle.git Merged from 1.6. Fix for cvs update -kk -j MOODLE_16_MERGED -j MOODLE_16_STABLE. --- diff --git a/admin/filters.php b/admin/filters.php index e284880387..d21ab6f032 100644 --- a/admin/filters.php +++ b/admin/filters.php @@ -188,10 +188,15 @@ // 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/admin/filters.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(); // iterate through filters adding to display table @@ -202,13 +207,13 @@ // get hide/show link if (in_array($path, $activefilters)) { $hideshow = ""; - $hideshow .= "\"hide\""; + $hideshow .= "pixpath}/i/hide.gif\" height=\"16\" width=\"16\" alt=\"hide\" />"; $hidden = false; $displayname = "$name"; } else { $hideshow = ""; - $hideshow .= "\"show\""; + $hideshow .= "pixpath}/i/show.gif\" height=\"16\" width=\"16\" alt=\"show\" />"; $hidden = true; $displayname = "$name"; }