+
+
+
+// add checkbox to enable/disable the spellcheck button on compose screen
+//
+$sqspell_show_button = getPref($data_dir, $username, 'sqspell_show_button', 1);
+$msg .= '<form method="post">'
+ . '<input type="hidden" name="MOD" value="change_main_options" />'
+ . '<input type="hidden" name="smtoken" value="' . sm_generate_security_token() . '" />'
+ . '<p>'
+ . '<input type="checkbox" id="sqspell_show_button" name="sqspell_show_button" value="1"';
+if ($sqspell_show_button) {
+ $msg .= ' checked="checked"';
+}
+$msg .= ' /><label for="sqspell_show_button"> '
+ . sprintf(_("Show \"%s\" button when composing"), _("Check Spelling"))
+ . "</label>\n";
+$msg .= " <input type=\"submit\" value=\" "
+ . _("Make these changes") . " \" /></p></form>";
+
+