]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-12093 - remove added classes - they don't help the issue and clutter the code
authorscyrma <scyrma>
Wed, 19 Mar 2008 08:16:51 +0000 (08:16 +0000)
committerscyrma <scyrma>
Wed, 19 Mar 2008 08:16:51 +0000 (08:16 +0000)
lib/weblib.php

index 0e1cf0375d42359aecc18d7abec5340271400c9f..4e3b9726c339a6143467f62ca256e945f31d70c3 100644 (file)
@@ -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;