($Author$) * @version $Date$ */ /** * See if we need to give user the option of choosing which dictionary * s/he wants to use to spellcheck his message. */ $langs=sqspell_getSettings(null); $msg = '
' . '' . '' . '

'; if (sizeof($langs)==1){ /** * Only one dictionary defined by the user. Submit the form * automatically. */ $onload="sqspell_init(true)"; $msg .= _("Please wait, communicating with the server...") . '

' . ""; } else { /** * More than one dictionary. Let the user choose the dictionary first * then manually submit the form. */ $onload="sqspell_init(false)"; $msg .= _("Please choose which dictionary you would like to use to spellcheck this message:") . '

' . '' . '' . '

'; } $msg .="
\n"; sqspell_makeWindow($onload, _("SquirrelSpell Initiating"), "init.js", $msg); /** * For the Emacs weenies: * Local variables: * mode: php * End: * vim: syntax=php */ ?>