forked from science-ation/science-ation
Fix missing i18n's, fixes BUG #0000079
This commit is contained in:
parent
669ef1349c
commit
c4527e1f34
@ -117,10 +117,10 @@ function questions_print_answer_editor($section, $id, $year, $array_name)
|
|||||||
switch($qs[$qid]['type']) {
|
switch($qs[$qid]['type']) {
|
||||||
case 'yesno':
|
case 'yesno':
|
||||||
if($ans[$qid]=="yes") $ch="checked=\"checked\""; else $ch="";
|
if($ans[$qid]=="yes") $ch="checked=\"checked\""; else $ch="";
|
||||||
print("<input onclick=\"fieldChanged()\" $ch type=\"radio\" name=\"$iname\" value=\"yes\" />Yes");
|
print("<input onclick=\"fieldChanged()\" $ch type=\"radio\" name=\"$iname\" value=\"yes\" />".i18n("Yes"));
|
||||||
print(" ");
|
print(" ");
|
||||||
if($ans[$qid]=="no") $ch="checked=\"checked\""; else $ch="";
|
if($ans[$qid]=="no") $ch="checked=\"checked\""; else $ch="";
|
||||||
print("<input onclick=\"fieldChanged()\" $ch type=\"radio\" name=\"$iname\" value=\"no\" />No");
|
print("<input onclick=\"fieldChanged()\" $ch type=\"radio\" name=\"$iname\" value=\"no\" />".i18n("No"));
|
||||||
break;
|
break;
|
||||||
case 'int':
|
case 'int':
|
||||||
print("<input onclick=\"fieldChanged()\" type=\"text\" ".
|
print("<input onclick=\"fieldChanged()\" type=\"text\" ".
|
||||||
|
@ -268,7 +268,7 @@
|
|||||||
<form method="post" action="register_judges.php">
|
<form method="post" action="register_judges.php">
|
||||||
<input type="hidden" name="action" value="login" />
|
<input type="hidden" name="action" value="login" />
|
||||||
<?=i18n("Email")?>: <input type="text" name="email" size="30" />
|
<?=i18n("Email")?>: <input type="text" name="email" size="30" />
|
||||||
<input type="submit" value="Begin" />
|
<input type="submit" value="<?=i18n("Begin");?>" />
|
||||||
</form>
|
</form>
|
||||||
<?
|
<?
|
||||||
|
|
||||||
|
@ -143,7 +143,7 @@ else
|
|||||||
}
|
}
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
echo "<br />";
|
echo "<br />";
|
||||||
echo "<h3>Other Areas of Expertise not listed above</h3>";
|
echo "<h3>".i18n("Other Areas of Expertise not listed above")."</h3>";
|
||||||
$q=mysql_query("SELECT expertise_other FROM judges WHERE id='".$_SESSION['judges_id']."'");
|
$q=mysql_query("SELECT expertise_other FROM judges WHERE id='".$_SESSION['judges_id']."'");
|
||||||
$judgeinfo=mysql_fetch_object($q);
|
$judgeinfo=mysql_fetch_object($q);
|
||||||
echo "<textarea name=\"expertise_other\" rows=\"4\" cols=\"60\">".htmlspecialchars($judgeinfo->expertise_other)."</textarea>";
|
echo "<textarea name=\"expertise_other\" rows=\"4\" cols=\"60\">".htmlspecialchars($judgeinfo->expertise_other)."</textarea>";
|
||||||
|
Loading…
Reference in New Issue
Block a user