($Author$) * @version $Date$ */ /** * This function makes a javascript-powered link. Not sure why * Philippe decided to move it outside the main code, but hey. ;) * I bet for the i18n reasons. * * @param $jscode Javascript code to include in the link. * @param $title A little pop-up title to provide for the links. * @param $link The content of the link. * @return void, since this just draws the content. */ function SpellLink($jscode, $title, $link) { echo "$link" . ''; } /** * Declaring globals for users with E_ALL set. */ global $sqspell_text, $SQSPELL_APP, $sqspell_use_app, $attachment_dir, $username, $SQSPELL_EREG, $color; /** * Now we explode the lines for three reasons: * 1) So we can ignore lines starting with ">" (reply's) * 2) So we can stop processing when we get to "--" on a single line, * which means that the signature is starting * 3) So we can add an extra space at the beginning of each line. This way * ispell/aspell don't treat these as command characters. */ $sqspell_raw_lines = explode("\n", $sqspell_text); for ($i=0; $i\n" . "\n" . '' . _("SquirrelSpell Results") . ''; /** * Check if there are user-defined stylesheets. */ if ($theme_css != '') { echo "\n"; } /** * Load the spelling errors into JavaScript arrays * (More dark magic!) */ echo "\n" . "\n" . "\n"; echo "\n"; ?>

"; echo $sptag . _("Line with an error:") . ''; ?>
'; ?> '; ?>
'; ?> '; ?>


' . ' '; ?>
" . "
"; sqspell_makeWindow(null, _("No errors found"), null, $msg); } /** * For Emacs weenies: * Local variables: * mode: php * End: */ ?>