Beispiel #1
0
if ($dictionary->is_check_complete()) {
    html_display_success_msg(gettext("Spell check is complete. To restart spell check click restart button below."), '500', 'center');
}
echo "<br />\n";
echo "<div align=\"center\">\n";
echo "  <form accept-charset=\"utf-8\" name=\"dictionary\" action=\"dictionary.php\" method=\"post\" target=\"_self\">\n";
echo "    ", form_input_hidden('webtag', htmlentities_array($webtag)), "\n";
echo "    ", form_input_hidden('obj_id', htmlentities_array($dictionary->get_obj_id())), "\n";
if ($ignored_words_array = $dictionary->get_ignored_words()) {
    foreach ($ignored_words_array as $ignored_word) {
        echo "    ", form_input_hidden('ignored_words[]', htmlentities_array($ignored_word)), "\n";
    }
}
echo "    ", form_input_hidden('content', htmlentities_array($dictionary->get_content())), "\n";
echo "    ", form_input_hidden('current_word', htmlentities_array($dictionary->get_current_word_index())), "\n";
echo "    ", form_input_hidden('offset_match', htmlentities_array($dictionary->get_offset_match())), "\n";
echo "    <table cellpadding=\"0\" cellspacing=\"0\" width=\"500\">\n";
echo "      <tr>\n";
echo "        <td align=\"left\">\n";
echo "          <table class=\"box\" width=\"100%\">\n";
echo "            <tr>\n";
echo "              <td align=\"left\" class=\"posthead\">\n";
echo "                <table class=\"posthead\" width=\"100%\">\n";
echo "                  <tr>\n";
echo "                    <td class=\"subhead\" align=\"left\">", gettext("Spell check"), "</td>\n";
echo "                  </tr>\n";
echo "                  <tr>\n";
echo "                    <td align=\"center\">\n";
echo "                      <table width=\"95%\" class=\"posthead\">\n";
echo "                        <tr>\n";
echo "                          <td align=\"left\" colspan=\"2\">", gettext("Not in dictionary"), ":</td>\n";