X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Fsquirrelspell%2Fmodules%2Finit.mod.php;h=a29a8eb89d7ef141610dd81b568335accac639e9;hp=79dc574b6c150d1bf8ba37a87c7c94e001b54d0a;hb=2b5a715784c5414a95c4eba8b20e3dd47f45131b;hpb=48a8f454eb431c08105a90fc92c720d406e2d8f1;ds=sidebyside diff --git a/plugins/squirrelspell/modules/init.mod.php b/plugins/squirrelspell/modules/init.mod.php index 79dc574b..a29a8eb8 100644 --- a/plugins/squirrelspell/modules/init.mod.php +++ b/plugins/squirrelspell/modules/init.mod.php @@ -1,42 +1,50 @@ - - -

"; - if (sizeof($langs)==1){ - // only one dictionary defined by the users. 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:"). - '

' . - ''. + ''. + '

'; + if (sizeof($langs)==1){ + // only one dictionary defined by the users. 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); + +?> \ No newline at end of file