MDL-12192 temporarily disabled support for colonized labels

The code must be fixed so that the colon is not displayed when the label
is hidden by accessibility CSS.
This commit is contained in:
David Mudrak
2010-09-24 11:19:57 +00:00
parent 682a19234b
commit 81e62b6fd5
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -1373,6 +1373,8 @@ class html_writer {
$text = trim($text);
$label = self::tag('label', $text, $attributes);
/*
// TODO $colonize disabled for now yet - see MDL-12192 for details
if (!empty($text) and $colonize) {
// the $text may end with the colon already, though it is bad string definition style
$colon = get_string('labelsep', 'langconfig');
@@ -1386,6 +1388,7 @@ class html_writer {
}
}
}
*/
return $label;
}