From: urs_hunkler Date: Wed, 7 Feb 2007 08:10:54 +0000 (+0000) Subject: 'extended class nocoursepage to all admin pages' X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1d41dcd081607f7c2d7d143d4614f39d3292cc57;p=moodle.git 'extended class nocoursepage to all admin pages' --- diff --git a/lib/weblib.php b/lib/weblib.php index 927939593c..0f1a841702 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -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'; }