From 90ad8cd181bd2d435465b887d2769836ace5d7f0 Mon Sep 17 00:00:00 2001 From: jervfors Date: Sat, 4 Jun 2005 21:46:06 +0000 Subject: [PATCH] HTML fix git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9507 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- plugins/squirrelspell/modules/check_me.mod | 54 +++++++++---------- .../squirrelspell/modules/crypto_badkey.mod | 8 +-- plugins/squirrelspell/modules/enc_setup.mod | 2 +- plugins/squirrelspell/modules/forget_me.mod | 2 +- plugins/squirrelspell/modules/lang_change.mod | 2 +- .../squirrelspell/modules/options_main.mod | 2 +- plugins/squirrelspell/setup.php | 12 +++-- 7 files changed, 43 insertions(+), 39 deletions(-) diff --git a/plugins/squirrelspell/modules/check_me.mod b/plugins/squirrelspell/modules/check_me.mod index 98e1c78f..4ff9485c 100644 --- a/plugins/squirrelspell/modules/check_me.mod +++ b/plugins/squirrelspell/modules/check_me.mod @@ -389,23 +389,23 @@ if ($errors){ - +
@@ -418,15 +418,15 @@ if ($errors){ ' - . ' '; + . _("Close and Commit") + . ' " onclick="if (confirm(\'' + . _("The spellcheck is not finished. Really close and commit changes?") + . '\')) sqspellCommitChanges()" />' + . ' '; ?> @@ -441,7 +441,7 @@ if ($errors){ /** * AREN'T YOU SUCH A KNOW-IT-ALL! */ - $msg='
'. + $msg='
' . '
'; sqspell_makeWindow(null, _("No errors found"), null, $msg); @@ -454,4 +454,4 @@ if ($errors){ * End: * vim: syntax=php et ts=4 */ -?> +?> \ No newline at end of file diff --git a/plugins/squirrelspell/modules/crypto_badkey.mod b/plugins/squirrelspell/modules/crypto_badkey.mod index e1ca3b42..fd5a219c 100644 --- a/plugins/squirrelspell/modules/crypto_badkey.mod +++ b/plugins/squirrelspell/modules/crypto_badkey.mod @@ -84,10 +84,10 @@ function sqspell_dict_reencrypted() { sqspell_makePage(_("Successful re-encryption"), null, $msg); } else { $msg = '

' - . _("Your personal dictionary was re-encrypted successfully. Please close this window and click \"Check Spelling\" button again to start your spellcheck over.") - . '

'; + . _("Your personal dictionary was re-encrypted successfully. Please close this window and click \"Check Spelling\" button again to start your spellcheck over.") + . '

'; sqspell_makeWindow(null, _("Dictionary re-encrypted"), null, $msg); } exit; diff --git a/plugins/squirrelspell/modules/enc_setup.mod b/plugins/squirrelspell/modules/enc_setup.mod index ed1d1a13..b467549e 100644 --- a/plugins/squirrelspell/modules/enc_setup.mod +++ b/plugins/squirrelspell/modules/enc_setup.mod @@ -94,7 +94,7 @@ if ($crypted){ . ''; } sqspell_makePage(_("Personal Dictionary Crypto Settings"), - "crypto_settings.js", $msg); + "crypto_settings.js", $msg); /** * For Emacs weenies: diff --git a/plugins/squirrelspell/modules/forget_me.mod b/plugins/squirrelspell/modules/forget_me.mod index e53e0d1d..a81cfbe5 100644 --- a/plugins/squirrelspell/modules/forget_me.mod +++ b/plugins/squirrelspell/modules/forget_me.mod @@ -60,7 +60,7 @@ if (! empty($words_ary)){ * Click on some words first, Einstein! */ sqspell_makePage(_("Personal Dictionary"), null, - '

' . _("No changes requested.") . '

'); + '

' . _("No changes requested.") . '

'); } /** diff --git a/plugins/squirrelspell/modules/lang_change.mod b/plugins/squirrelspell/modules/lang_change.mod index 61d0b493..0b93a61a 100644 --- a/plugins/squirrelspell/modules/lang_change.mod +++ b/plugins/squirrelspell/modules/lang_change.mod @@ -67,7 +67,7 @@ if (sizeof($new_langs)>1) { sqspell_saveSettings($new_langs); sqspell_makePage(_("International Dictionaries Preferences Updated"), - null, $msg); + null, $msg); /** * For Emacs weenies: diff --git a/plugins/squirrelspell/modules/options_main.mod b/plugins/squirrelspell/modules/options_main.mod index 3834a592..8b1755a1 100644 --- a/plugins/squirrelspell/modules/options_main.mod +++ b/plugins/squirrelspell/modules/options_main.mod @@ -42,7 +42,7 @@ if (function_exists("mcrypt_generic")) { } else { $msg .= '
  • ' . _("Personal dictionary encryption options are not available") - . ')
  • '; + . ''; } $msg .= "\n"; sqspell_makePage( _("SquirrelSpell Options Menu"), null, $msg); diff --git a/plugins/squirrelspell/setup.php b/plugins/squirrelspell/setup.php index a404a624..898fa068 100644 --- a/plugins/squirrelspell/setup.php +++ b/plugins/squirrelspell/setup.php @@ -18,23 +18,25 @@ if (! defined('SM_PATH')) define('SM_PATH','../../'); /** * Standard SquirrelMail plugin initialization API. + * * @return void */ function squirrelmail_plugin_init_squirrelspell() { global $squirrelmail_plugin_hooks; $squirrelmail_plugin_hooks['compose_button_row']['squirrelspell'] = - 'squirrelspell_setup'; + 'squirrelspell_setup'; $squirrelmail_plugin_hooks['optpage_register_block']['squirrelspell'] = - 'squirrelspell_optpage_register_block'; + 'squirrelspell_optpage_register_block'; $squirrelmail_plugin_hooks['options_link_and_description']['squirrelspell'] = - 'squirrelspell_options'; + 'squirrelspell_options'; $squirrelmail_plugin_hooks['right_main_after_header']['squirrelspell'] = - 'squirrelspell_upgrade'; + 'squirrelspell_upgrade'; } /** * This function formats and adds the plugin and its description to the * Options screen. + * * @return void */ function squirrelspell_optpage_register_block() { @@ -59,6 +61,7 @@ function squirrelspell_optpage_register_block() { /** * This function adds a "Check Spelling" link to the "Compose" row * during message composition. + * * @return void */ function squirrelspell_setup() { @@ -127,4 +130,5 @@ function squirrelspell_upgrade() { function squirrelspell_version() { return '0.5cvs'; } + ?> \ No newline at end of file -- 2.25.1