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:") . ' ';
'<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";
<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:") .
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"';