From: scyrma Date: Wed, 19 Mar 2008 08:16:51 +0000 (+0000) Subject: MDL-12093 - remove added classes - they don't help the issue and clutter the code X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=0f2f6126c3fc8bdfb6abe78df59306a7206756b1;p=moodle.git MDL-12093 - remove added classes - they don't help the issue and clutter the code --- 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;