From: urs_hunkler Date: Wed, 21 Feb 2007 21:09:08 +0000 (+0000) Subject: 'added CSS for white-space:nowrap in styles_layout and took the hardcoded inline... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=7ee8146e61dfa6581445e6581d230a2ab66352f9;p=moodle.git 'added CSS for white-space:nowrap in styles_layout and took the hardcoded inline style out here. Where is it missing now???' --- diff --git a/lib/tablelib.php b/lib/tablelib.php index 60b46d16fc..a37be7db16 100644 --- a/lib/tablelib.php +++ b/lib/tablelib.php @@ -528,11 +528,11 @@ class flexible_table { } else { // took out nowrap for accessibility, might need replacement - if (!is_array($this->column_style[$column])) { + /* if (!is_array($this->column_style[$column])) { $usestyles = array('white-space:nowrap'); } else { $usestyles = $this->column_style[$column]+array('white-space'=>'nowrap'); - } + } */ echo 'make_styles_string($usestyles).' scope="col">'.$this->headers[$index].$icon_sort.'
'.$icon_hide.'
'; }