spellcheck
[squirrelmail.git] / plugins / translate / config-sample.php
index be27ba7d8568d54dadc10a3827cd81cd19709fe6..5db757357719c4762ed31214bbd8bbfd5cbcea13 100644 (file)
@@ -51,15 +51,6 @@ $disable_compose_translate=true;
 
 /** Custom translation engine setup */
 
-/**
- * Controls inclusion of custom translation engines.
- *
- * If you enable custon translation engines, you must include
- * translate_custom(), translate_custom_showtrad() and
- * $translate_custom_showoption() functions in your config.
- * @example config-sample.php
- * @global bool $translate_custom_enabled
- */
 global $translate_custom_enabled;
 $translate_custom_enabled=true;
 
@@ -71,8 +62,8 @@ function translate_form_custom($message) {
     echo '<p align="center">';
     echo '<input name="lang" type="hidden" value="eng" />';
     echo '<input name="auth" type="hidden" value="no" />';
-    echo "<inpu name=\"text\" type=\"hidden\" value=\"$message\" />";
-    echo 'Al Misbar: <input type="submit" class=button value="' . _("Translate") . '" />';
+    echo '<input name="text" type="hidden" value="' . $message . '" />';
+    echo 'Al Misbar: <input type="submit" class="button" value="' . _("Translate") . '" />';
 
     echo '<br />';
     echo _("Translation Theme:") . '&nbsp;';
@@ -103,9 +94,9 @@ function translate_form_custom($message) {
         '<option value="N">' . "Science" .
         '</select>';
     echo '<br />';
-    echo '<input checked id="option1" name="options" type="checkbox" value="translit" />';
+    echo '<input checked="checked" id="option1" name="options" type="checkbox" value="translit" />';
     echo "Transliteration of abbreviations";
-    echo '<input checked id="option2" name="options" type="checkbox" value="abbr" />';
+    echo '<input checked="checked" id="option2" name="options" type="checkbox" value="abbr" />';
     echo "Transliteration of proper nouns";
     echo '<input name="vowels" type="checkbox" value="a" />';
     echo "Show Harakat";