<tr>
<td colspan="4">
<table border="0" cellpadding="0" cellspacing="3" width="100%">
- <tr align="center" bgcolor="<?php echo $color[9] ?>">
+ <tr align="center" bgcolor="<?php echo $color[9] ?>">
<?php
- SpellLink('sqspellChange()',
- _("Change this word"),
- _("Change"));
- SpellLink('sqspellChangeAll()',
- _("Change ALL occurances of this word"),
- _("Change All"));
- SpellLink('sqspellIgnore()',
- _("Ignore this word"),
- _("Ignore"));
- SpellLink('sqspellIgnoreAll()',
- _("Ignore ALL occurances this word"),
- _("Ignore All"));
- SpellLink('sqspellRemember()',
- _("Add this word to your personal dictionary"),
- _("Add to Dic"));
+ SpellLink('sqspellChange()',
+ _("Change this word"),
+ _("Change"));
+ SpellLink('sqspellChangeAll()',
+ _("Change ALL occurances of this word"),
+ _("Change All"));
+ SpellLink('sqspellIgnore()',
+ _("Ignore this word"),
+ _("Ignore"));
+ SpellLink('sqspellIgnoreAll()',
+ _("Ignore ALL occurances this word"),
+ _("Ignore All"));
+ SpellLink('sqspellRemember()',
+ _("Add this word to your personal dictionary"),
+ _("Add to Dic"));
?>
</tr>
</table>
<td colspan="4" align="center" bgcolor="<?php echo $color[9] ?>">
<?php
echo '<input type="button" value=" '
- . _("Close and Commit")
- . ' " onclick="if (confirm(\''
- . _("The spellcheck is not finished. Really close and commit changes?")
- . '\')) sqspellCommitChanges()" />'
- . ' <input type="button" value=" '
- . _("Close and Cancel")
- . ' " onclick="if (confirm(\''
- . _("The spellcheck is not finished. Really close and discard changes?")
- . '\')) self.close()" />';
+ . _("Close and Commit")
+ . ' " onclick="if (confirm(\''
+ . _("The spellcheck is not finished. Really close and commit changes?")
+ . '\')) sqspellCommitChanges()" />'
+ . ' <input type="button" value=" '
+ . _("Close and Cancel")
+ . ' " onclick="if (confirm(\''
+ . _("The spellcheck is not finished. Really close and discard changes?")
+ . '\')) self.close()" />';
?>
</td>
</tr>
/**
* AREN'T YOU SUCH A KNOW-IT-ALL!
*/
- $msg='<form onsubmit="return false"><div align="center">'.
+ $msg='<form onsubmit="return false"><div align="center">' .
'<input type="submit" value=" ' . _("Close") .
' " onclick="self.close()" /></div></form>';
sqspell_makeWindow(null, _("No errors found"), null, $msg);
* End:
* vim: syntax=php et ts=4
*/
-?>
+?>
\ No newline at end of file
sqspell_makePage(_("Successful re-encryption"), null, $msg);
} else {
$msg = '<p>'
- . _("Your personal dictionary was re-encrypted successfully. Please close this window and click \"Check Spelling\" button again to start your spellcheck over.")
- . '</p><form><p align="center"><input type="button" value=" '
- . _("Close this Window") . ' "'
- . 'onclick="self.close()" /></p></form>';
+ . _("Your personal dictionary was re-encrypted successfully. Please close this window and click \"Check Spelling\" button again to start your spellcheck over.")
+ . '</p><form><p align="center"><input type="button" value=" '
+ . _("Close this Window") . ' "'
+ . 'onclick="self.close()" /></p></form>';
sqspell_makeWindow(null, _("Dictionary re-encrypted"), null, $msg);
}
exit;
/**
* 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() {
/**
* This function adds a "Check Spelling" link to the "Compose" row
* during message composition.
+ *
* @return void
*/
function squirrelspell_setup() {
function squirrelspell_version() {
return '0.5cvs';
}
+
?>
\ No newline at end of file