Adding new wraplevelXX class for easier containers identification. MDL-12339
Merged from MOODLE_19_STABLE
This commit is contained in:
+5
-2
@@ -3993,8 +3993,11 @@ function _print_custom_corners_start($clearfix=false, $classes='', $idbase='') {
|
||||
$idi3 = 'id="'.$idbase.'-i3" ';
|
||||
}
|
||||
|
||||
/// Calculate current level
|
||||
$level = open_containers();
|
||||
|
||||
/// Output begins
|
||||
$output = '<div '.$id.'class="wrap '.$classes.'">'."\n";
|
||||
$output = '<div '.$id.'class="wrap wraplevel'.$level.' '.$classes.'">'."\n";
|
||||
$output .= '<div '.$idbt.'class="bt"><div> </div></div>';
|
||||
$output .= "\n";
|
||||
$output .= '<div '.$idi1.'class="i1"><div '.$idi2.'class="i2">';
|
||||
@@ -6954,4 +6957,4 @@ function is_in_popup() {
|
||||
|
||||
|
||||
// vim:autoindent:expandtab:shiftwidth=4:tabstop=4:tw=140:
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user