From 0f2f6126c3fc8bdfb6abe78df59306a7206756b1 Mon Sep 17 00:00:00 2001 From: scyrma Date: Wed, 19 Mar 2008 08:16:51 +0000 Subject: [PATCH] MDL-12093 - remove added classes - they don't help the issue and clutter the code --- lib/weblib.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lib/weblib.php b/lib/weblib.php index 0e1cf0375d..4e3b9726c3 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -2587,16 +2587,6 @@ function print_header ($title='', $heading='', $navigation='', $focus='', $pageclass .= ' drag'; } - /* give pages without heading or navigation special classes, to - * allow theming of very simple windows (popups and others) */ - if ($heading == '') { - $pageclass .= ' noheader'; - } - - if ($navigation == '') { - $pageclass .= ' nonavigation'; - } - $pageclass .= ' dir-'.get_string('thisdirection'); $pageclass .= ' lang-'.$currentlanguage; -- 2.39.5