From 1d41dcd081607f7c2d7d143d4614f39d3292cc57 Mon Sep 17 00:00:00 2001 From: urs_hunkler Date: Wed, 7 Feb 2007 08:10:54 +0000 Subject: [PATCH] 'extended class nocoursepage to all admin pages' --- lib/weblib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; } -- 2.39.5