MDL-12093 - remove added classes - they don't help the issue and clutter the code

This commit is contained in:
scyrma
2008-03-19 08:16:51 +00:00
parent c93c6b3b3d
commit 0f2f6126c3
-10
View 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;