From 204079e7b3db45fec1eeb9ae9a113478aa271067 Mon Sep 17 00:00:00 2001 From: samhemelryk Date: Fri, 16 Oct 2009 03:24:48 +0000 Subject: [PATCH] theme MDL-19824 Upgraded deprecated calls --- theme/chameleon/ui/chameleon.php | 2 +- theme/standard/layout-popup.php | 4 ++-- theme/standard/layout-topframe.php | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/theme/chameleon/ui/chameleon.php b/theme/chameleon/ui/chameleon.php index 1bb782ee87..195bee7d05 100644 --- a/theme/chameleon/ui/chameleon.php +++ b/theme/chameleon/ui/chameleon.php @@ -14,7 +14,7 @@ if (!empty($THEME->chameleonenabled)) { if ($chameleon_isadmin or ($chameleon_isteacher and !empty($CFG->allowcoursethemes) and !empty($THEME->chameleonteachereditenabled))) { // either we're an admin or we're a teacher and this is being used as the course theme // if we're on a page using a course theme edit that, otherwise edit the main chameleon theme - $chameleon_theme = current_theme(); + $chameleon_theme = $PAGE->theme->name; ?> diff --git a/theme/standard/layout-popup.php b/theme/standard/layout-popup.php index 49fdb2b802..9089fcb32c 100644 --- a/theme/standard/layout-popup.php +++ b/theme/standard/layout-popup.php @@ -17,9 +17,9 @@ - +has_navbar()) { // This is the navigation bar with breadcrumbs ?> heading) { // If no navigation, but a heading, then print a line ?> diff --git a/theme/standard/layout-topframe.php b/theme/standard/layout-topframe.php index 49fdb2b802..9089fcb32c 100644 --- a/theme/standard/layout-topframe.php +++ b/theme/standard/layout-topframe.php @@ -17,9 +17,9 @@ - +has_navbar()) { // This is the navigation bar with breadcrumbs ?> heading) { // If no navigation, but a heading, then print a line ?> -- 2.39.5