XHTML fixes
authorjervfors <jervfors@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 24 Oct 2004 20:30:55 +0000 (20:30 +0000)
committerjervfors <jervfors@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 24 Oct 2004 20:30:55 +0000 (20:30 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8243 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/translate/config-sample.php
plugins/translate/options.php

index be27ba7d8568d54dadc10a3827cd81cd19709fe6..d529a1ac38a386cdfb791b9fe516e10af3fc29dc 100644 (file)
@@ -71,8 +71,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 +103,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";
index 75f50e0f42e9d61f5a02134828d00b2730f2b5fd..8bc0b6d4297b784b35dfab865a43a9969fcb2049 100644 (file)
@@ -40,9 +40,9 @@ displayPageHeader($color, 'None');
    <p>
 <?php
    echo _("You also decide if you want the translation box displayed, and where it will be located.") .
-        '<form action="'.sqm_baseuri().'src/options.php'.'" method="post">'.
-        '<input type="hidden" name="optmode" value="submit">' .
-        '<input type="hidden" name="optpage" value="translate">' .
+        '<form action="'.sqm_baseuri().'src/options.php" method="post">'.
+        '<input type="hidden" name="optmode" value="submit" />' .
+        '<input type="hidden" name="optpage" value="translate" />' .
         '<table border="0" cellpadding="0" cellspacing="2">'.
             '<tr><td align="right" nowrap="nowrap">' .
              _("Select your translator:") .
@@ -51,7 +51,7 @@ displayPageHeader($color, 'None');
    translate_showoption();
    echo '</select>' .
        '</td></tr>' .
-       '<tr>'.html_tag('td',_("When reading:"),'right','','nowrap').
+       '<tr>'.html_tag('td',_("When reading:"),'right','','nowrap="nowrap"').
        '<td><input type="checkbox" name="translate_translate_show_read"';
    if ($translate_show_read)
        echo ' checked="checked"';