X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Fsquirrelspell%2Fsqspell_functions.php;h=e931496cd4abd452904350d06e655d4a5d609fd0;hb=fff3023727920f3d5431e9f45b5681cb84b66645;hp=4acf28d3395643bdca400e760859ab00222b4991;hpb=2ad4cea967df0d35acf226cce6cd74f6ab765bd6;p=squirrelmail.git diff --git a/plugins/squirrelspell/sqspell_functions.php b/plugins/squirrelspell/sqspell_functions.php index 4acf28d3..e931496c 100644 --- a/plugins/squirrelspell/sqspell_functions.php +++ b/plugins/squirrelspell/sqspell_functions.php @@ -47,7 +47,7 @@ function sqspell_makePage($title, $scriptsrc, $body){ html_tag( 'td', '' . $title .'', 'center', $color[9] ) ) . "\n" . html_tag( 'tr', "\n" . - html_tag( 'td', '
', 'left' ) + html_tag( 'td', '
', 'left' ) ) . "\n" . html_tag( 'tr', "\n" . html_tag( 'td', $body, 'left' ) @@ -58,7 +58,7 @@ function sqspell_makePage($title, $scriptsrc, $body){ */ if ($MOD != "options_main"){ echo html_tag( 'tr', "\n" . - html_tag( 'td', '
', 'left' ) + html_tag( 'td', '
', 'left' ) ) . "\n" . html_tag( 'tr', "\n" . html_tag( 'td', '' @@ -71,7 +71,7 @@ function sqspell_makePage($title, $scriptsrc, $body){ * Close the table and display the version. */ echo html_tag( 'tr', "\n" . - html_tag( 'td', '
', 'left' ) + html_tag( 'td', '
', 'left' ) ) . "\n" . html_tag( 'tr', html_tag( 'td', 'SquirrelSpell ' . $SQSPELL_VERSION, 'center', $color[9] ) @@ -95,47 +95,35 @@ 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] ) ) . "\n" . html_tag( 'tr', "\n" . - html_tag( 'td', '
', 'left' ) + html_tag( 'td', '
', 'left' ) ) . "\n" . html_tag( 'tr', "\n" . html_tag( 'td', $body, 'left' ) ) . "\n" . html_tag( 'tr', "\n" . - html_tag( 'td', '
', 'left' ) + html_tag( 'td', '
', 'left' ) ) . "\n" . html_tag( 'tr', "\n" . html_tag( 'td', 'SquirrelSpell ' . $SQSPELL_VERSION, 'center', $color[9] ) @@ -375,17 +363,17 @@ function sqspell_getWords(){ 'left' ) . "\n" . '
' . "\n" . '
' . "\n" - . '' . "\n" + . '' . "\n" . html_tag( 'p', "\n" . - '' + '' . _("Delete my dictionary and start a new one") . '
' . _("Decrypt my dictionary with my old password:") - . '' , + . '' , 'left' ) . "\n" . '
' . "\n" . html_tag( 'p', "\n" . '' , + . _("Proceed") . ' >>" />' , 'center' ) . "\n" . '' . "\n"; /** @@ -537,4 +525,4 @@ function sqspell_ckMOD($rMOD){ * stuff. :) */ $SQSPELL_VERSION="v0.3.8"; -?> +?> \ No newline at end of file