From fff3023727920f3d5431e9f45b5681cb84b66645 Mon Sep 17 00:00:00 2001 From: tokul Date: Thu, 2 Sep 2004 19:41:07 +0000 Subject: [PATCH] using internal SM functions to create page header. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8005 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- plugins/squirrelspell/sqspell_functions.php | 30 +++++++-------------- 1 file changed, 9 insertions(+), 21 deletions(-) diff --git a/plugins/squirrelspell/sqspell_functions.php b/plugins/squirrelspell/sqspell_functions.php index 094ac8d1..e931496c 100644 --- a/plugins/squirrelspell/sqspell_functions.php +++ b/plugins/squirrelspell/sqspell_functions.php @@ -95,35 +95,23 @@ function sqspell_makePage($title, $scriptsrc, $body){ * @return void */ function sqspell_makeWindow($onload, $title, $scriptsrc, $body){ - global $color, $SQSPELL_VERSION, $theme_css; - echo "\n" - . "\n" - . "$title\n"; - /** - * Check if we have a defined css theme to use. - */ - if ($theme_css != "") { - echo "\n"; - } - /** - * Link in the .js file if needed - */ - if ($scriptsrc){ - echo "\n"; - } - echo "\n" - . "\n" : '')); + + echo "' + echo ">\n" . html_tag( 'table', "\n" . html_tag( 'tr', "\n" . html_tag( 'td', '' . $title . '', 'center', $color[9] ) -- 2.25.1