From cc15a607eb81acf052b8d990e23eceaa5300a65b Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 31 Jan 2005 06:13:28 +0000 Subject: [PATCH] Now informs about old themes. It's damn ugly, this page, but I'm just getting it to a useful state first --- theme/index.php | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/theme/index.php b/theme/index.php index feb1571722..67f81bb491 100644 --- a/theme/index.php +++ b/theme/index.php @@ -75,6 +75,9 @@ continue; } + unset($THEME); + include_once("$CFG->dirroot/theme/$theme/config.php"); + echo ""; echo ""; @@ -84,17 +87,25 @@ echo ''; } echo "

$theme

"; + if (!isset($THEME->sheets)) { + notify("OLD THEME!!"); + } + + echo ''; echo ''; echo ""; } -- 2.39.5