From: urs_hunkler Date: Thu, 22 Feb 2007 08:22:37 +0000 (+0000) Subject: 'changed table headers style adding as proposed by Eloy - MDL-8419' X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=6e291bc6a5c8bcabc9c7c95fd79d0824835525d7;p=moodle.git 'changed table headers style adding as proposed by Eloy - MDL-8419' --- diff --git a/lib/tablelib.php b/lib/tablelib.php index a37be7db16..46a3ab36ba 100644 --- a/lib/tablelib.php +++ b/lib/tablelib.php @@ -528,11 +528,13 @@ class flexible_table { } else { // took out nowrap for accessibility, might need replacement - /* if (!is_array($this->column_style[$column])) { - $usestyles = array('white-space:nowrap'); + if (!is_array($this->column_style[$column])) { + // $usestyles = array('white-space:nowrap'); + $usestyles = ''; } else { - $usestyles = $this->column_style[$column]+array('white-space'=>'nowrap'); - } */ + // $usestyles = $this->column_style[$column]+array('white-space'=>'nowrap'); + $usestyles = $this->column_style[$column]; + } echo 'make_styles_string($usestyles).' scope="col">'.$this->headers[$index].$icon_sort.'
'.$icon_hide.'
'; }