From: toyomoyo Date: Tue, 19 Dec 2006 07:19:13 +0000 (+0000) Subject: MDL-7861, taking out
s in title tag X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=b2603953be306269e67c06d4bdc42fad50aa685c;p=moodle.git MDL-7861, taking out
s in title tag --- diff --git a/lib/tablelib.php b/lib/tablelib.php index b3276f21a5..aa7c37d2b6 100644 --- a/lib/tablelib.php +++ b/lib/tablelib.php @@ -447,10 +447,12 @@ class flexible_table { if($this->is_collapsible) { if(!empty($this->sess->collapse[$column])) { - $icon_hide = ' '.get_string('show').''; + // some headers contain < br/> tags, do not include in title + $icon_hide = ' '.get_string('show').''; } else if($this->headers[$index] !== NULL) { - $icon_hide = ' '.get_string('hide').''; + // some headers contain < br/> tags, do not include in title + $icon_hide = ' '.get_string('hide').''; } }