X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Fsquirrelspell%2Fsqspell_functions.php;h=d73e0197394e5c1e91bd73da9bc5e7efbcb4a59a;hp=333083a34925f2e05e5699edab802b8d7baf21f2;hb=9837b0a5afee61309027869b117a406defc2f437;hpb=d88c744e9b47a087477bc0fbe5e739291c85d6ba
diff --git a/plugins/squirrelspell/sqspell_functions.php b/plugins/squirrelspell/sqspell_functions.php
index 333083a3..d73e0197 100644
--- a/plugins/squirrelspell/sqspell_functions.php
+++ b/plugins/squirrelspell/sqspell_functions.php
@@ -35,35 +35,40 @@ function sqspell_makePage($title, $scriptsrc, $body){
if($scriptsrc) {
echo "\n";
}
- echo '
'
- . ''
- . ""
- . "$title"
- . ' | '
- . '
'
- . '
|
'
- . "$body |
";
+ echo html_tag( 'table', '', 'center', '', 'width="95%" border="0" cellpadding="2" cellspacing="0"' ) . "\n"
+ . html_tag( 'tr', "\n" .
+ html_tag( 'td', '' . $title .'', 'center', $color[9] )
+ ) . "\n"
+ . html_tag( 'tr', "\n" .
+ html_tag( 'td', '
', 'left' )
+ ) . "\n"
+ . html_tag( 'tr', "\n" .
+ html_tag( 'td', $body, 'left' )
+ ) . "\n";
/**
* Generate a nice "Return to Options" link, unless this is the
* starting page.
*/
if ($MOD != "options_main"){
- echo '
|
'
- . ''
- . _("Back to "SpellChecker Options" page")
- . ' |
';
+ echo html_tag( 'tr', "\n" .
+ html_tag( 'td', '
', 'left' )
+ ) . "\n"
+ . html_tag( 'tr', "\n" .
+ html_tag( 'td', ''
+ . _("Back to "SpellChecker Options" page")
+ . '',
+ 'center' )
+ ) . "\n";
}
/**
* Close the table and display the version.
*/
- echo '
|
'
- . ''
- . ""
- . "SquirrelSpell $SQSPELL_VERSION"
- . ' | '
- . '
'
- . '
';
+ echo html_tag( 'tr', "\n" .
+ html_tag( 'td', '
', 'left' )
+ ) . "\n"
+ . html_tag( 'tr',
+ html_tag( 'td', 'SquirrelSpell ' . $SQSPELL_VERSION, 'center', $color[9] )
+ ) . "\n";
}
/**
@@ -111,23 +116,23 @@ function sqspell_makeWindow($onload, $title, $scriptsrc, $body){
* Draw the rest of the page.
*/
echo '>'
- . ''
- . ''
- . ""
- . "$title"
- . ' | '
- . '
'
- . '
|
'
- . ''
- . "$body | "
- . '
'
- . '
|
'
- . ''
- . ""
- . "SquirrelSpell $SQSPELL_VERSION"
- . ' | '
- . '
'
- . '
'
+ . html_tag( 'table', "\n" .
+ html_tag( 'tr', "\n" .
+ html_tag( 'td', '' . $title . '', 'center', $color[9] )
+ ) . "\n" .
+ html_tag( 'tr', "\n" .
+ html_tag( 'td', '
', 'left' )
+ ) . "\n" .
+ html_tag( 'tr', "\n" .
+ html_tag( 'td', $body, 'left' )
+ ) . "\n" .
+ html_tag( 'tr', "\n" .
+ html_tag( 'td', '
', 'left' )
+ ) . "\n" .
+ html_tag( 'tr', "\n" .
+ html_tag( 'td', 'SquirrelSpell ' . $SQSPELL_VERSION, 'center', $color[9] )
+ ) ,
+ '', '', 'width="100%" border="0" cellpadding="2"' )
. "