]> git.mjollnir.org Git - moodle.git/commitdiff
'extended class nocoursepage to all admin pages'
authorurs_hunkler <urs_hunkler>
Wed, 7 Feb 2007 08:10:54 +0000 (08:10 +0000)
committerurs_hunkler <urs_hunkler>
Wed, 7 Feb 2007 08:10:54 +0000 (08:10 +0000)
lib/weblib.php

index 927939593c7720564c7146ba409d0ae183819521..0f1a841702ecb14ef9319f2b5fdd8f96e1397d61 100644 (file)
@@ -2123,7 +2123,7 @@ function print_header ($title='', $heading='', $navigation='', $focus='',
     $pageclass .= ' course-'.$COURSE->id;
 
     if (($pageid != 'site-index') && ($pageid != 'course-view') && 
-        ($pageid != 'admin-settings')) {
+        (strstr($pageid, 'admin') === FALSE)) {
         $pageclass .= ' nocoursepage';
     }