From 6ed7bbcbd1ff4f3853925e342e5baec0b90e4a56 Mon Sep 17 00:00:00 2001 From: tokul Date: Mon, 6 Sep 2004 08:09:21 +0000 Subject: [PATCH] using default html header generation functions. Fixes error when custom_css was not loaded. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8013 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- plugins/squirrelspell/modules/check_me.mod | 53 ++++++++-------------- 1 file changed, 20 insertions(+), 33 deletions(-) diff --git a/plugins/squirrelspell/modules/check_me.mod b/plugins/squirrelspell/modules/check_me.mod index 3281d6ed..72fc8d41 100644 --- a/plugins/squirrelspell/modules/check_me.mod +++ b/plugins/squirrelspell/modules/check_me.mod @@ -212,26 +212,11 @@ for ($i=0; $i\n" - . "\n" - . '' . _("SquirrelSpell Results") . ''; - /** - * Check if there are user-defined stylesheets. - */ - if ($theme_css != '') { - echo "\n"; - } /** * Load the spelling errors into JavaScript arrays * (More dark magic!) */ - echo "\n" - . "\n" - . "\n"; + . "\n"; + + displayHtmlHeader(_("SquirrelSpell Results"),$extrajs); + echo "\n"; -- 2.25.1