From: vyshane Date: Sun, 7 Jan 2007 11:20:09 +0000 (+0000) Subject: Related to MDL-7861. Replaced html nowrap="nowrap" with inline style style="white... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=eb3f9f0816b35c913d7a41c94970ac798093a95d;p=moodle.git Related to MDL-7861. Replaced html nowrap="nowrap" with inline style style="white-space:nowrap;". --- diff --git a/lib/weblib.php b/lib/weblib.php index 5d6d8aa8d7..caeb3e378c 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -3401,7 +3401,7 @@ function print_table($table, $return=false) { if (isset($table->wrap)) { foreach ($table->wrap as $key => $ww) { if ($ww) { - $wrap[$key] = ' nowrap="nowrap" '; + $wrap[$key] = ' style="white-space:nowrap;" '; } else { $wrap[$key] = ''; } @@ -3430,8 +3430,8 @@ function print_table($table, $return=false) { $tableid = empty($table->id) ? '' : 'id="'.$table->id.'"'; - $output .= 'cellpadding\" cellspacing=\"$table->cellspacing\" class=\"$table->class\" $tableid>\n"; + $output .= '
cellpadding\" cellspacing=\"$table->cellspacing\" class=\"$table->class boxalign$table->tablealign\" $tableid>\n"; $countcols = 0; @@ -3446,7 +3446,7 @@ function print_table($table, $return=false) { if (!isset($align[$key])) { $align[$key] = ''; } - $output .= ''; + $output .= ''; } $output .= ''."\n"; } @@ -3527,7 +3527,7 @@ function make_table($table) { if (isset($table->wrap)) { foreach ($table->wrap as $key => $ww) { if ($ww) { - $wrap[$key] = ' nowrap="nowrap" '; + $wrap[$key] = ' style="white-space:nowrap;" '; } else { $wrap[$key] = ''; } @@ -3572,7 +3572,7 @@ function make_table($table) { if (!isset($align[$key])) { $align[$key] = ''; } - $output .= ''; + $output .= ''; } $output .= ''."\n"; } @@ -4091,7 +4091,7 @@ function print_group_menu($groups, $groupmode, $currentgroup, $urlroot, $showall $output .= get_string('groupsseparate'); } $output .= ':'; - $output .= '
'. $heading .''. $heading .'
'.$fontsize.$heading.''.$fontsize.$heading.'
'; + $output .= ''; $output .= popup_form($urlroot.'&group=', $groupsmenu, 'selectgroup', $currentgroup, '', '', '', true, 'self'); $output .= '
';