From ec28a9bf8b76b2df97d710f70084b34911ac69d0 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Wed, 28 Nov 2007 18:14:38 +0000 Subject: [PATCH] Adding new wraplevelXX class for easier containers identification. MDL-12339 Merged from MOODLE_19_STABLE --- lib/weblib.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/weblib.php b/lib/weblib.php index 6174f4ef77..58c6818fc0 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -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 = '
'."\n"; + $output = '
'."\n"; $output .= '
 
'; $output .= "\n"; $output .= '
'; @@ -6954,4 +6957,4 @@ function is_in_popup() { // vim:autoindent:expandtab:shiftwidth=4:tabstop=4:tw=140: -?> \ No newline at end of file +?> -- 2.39.5