diff --git a/admin/schools.php b/admin/schools.php index bde56df..3259cdf 100644 --- a/admin/schools.php +++ b/admin/schools.php @@ -217,24 +217,24 @@ } echo "
"; - echo "Add New School\n"; + echo "".i18n("Add new school")."\n"; echo "
"; - echo "Import Schools from CSV\n"; + echo "".i18n("Import schools from CSV")."\n"; echo "
"; - echo "Create Access Code for any school without one\n"; + echo "".i18n("Create Access Code for any school without one")."\n"; echo "
"; - echo "Remove Access Codes from all schools\n"; + echo "".i18n("Remove Access Codes from all schools")."\n"; echo "
"; echo ""; echo ""; - echo " "; - echo " "; - echo " "; - echo " "; + echo " "; + echo " "; + echo " "; + echo " "; if($config['participant_registration_type']=="schoolpassword") - echo " "; - echo " "; - echo " "; + echo " "; + echo " "; + echo " "; echo "\n"; $q=mysql_query("SELECT * FROM schools WHERE year='".$config['FAIRYEAR']."' ORDER BY school"); diff --git a/config/backuprestore.php b/config/backuprestore.php index d1af3e1..7269029 100644 --- a/config/backuprestore.php +++ b/config/backuprestore.php @@ -226,11 +226,11 @@ else echo "
\n"; echo "

".i18n("Restore Database")."

\n"; - echo i18n(error("WARNING: Importing a backup will completely DESTROY all data currently in the database and replace it with what is in the backup file")); + echo error(i18n("WARNING: Importing a backup will completely DESTROY all data currently in the database and replace it with what is in the backup file")); echo "\n"; echo "\n"; echo "\n"; - echo "\n"; + echo "\n"; echo "\n"; diff --git a/config/variables.php b/config/variables.php index bde0cdc..f662eca 100644 --- a/config/variables.php +++ b/config/variables.php @@ -76,9 +76,9 @@ echo ""; echo ""; echo "\n"; } diff --git a/config_editor.inc.php b/config_editor.inc.php index 5a20196..6ba2d85 100644 --- a/config_editor.inc.php +++ b/config_editor.inc.php @@ -223,7 +223,7 @@ function config_editor($category, $year, $array_name, $self) $line++; print(""); - print(""); + print(""); print("
SchoolAddressPhoneContact".i18n("School")."".i18n("Address")."".i18n("Phone")."".i18n("Contact")."Reg PassAccess CodeAction".i18n("Reg Pass")."".i18n("Access Code")."".i18n("Action")."
"; if($r->cat==$category) - echo "$r->cat"; + echo "".i18n($r->cat).""; else - echo "cat)."\">$r->cat"; + echo "cat)."\">".i18n($r->cat).""; echo "
{$var[$k]['desc']}".i18n($var[$k]['desc']).""); $val = htmlspecialchars($var[$k]['val']); @@ -233,9 +233,9 @@ function config_editor($category, $year, $array_name, $self) case "yesno": print(""); break; case "enum": @@ -273,7 +273,7 @@ function config_editor($category, $year, $array_name, $self) if($e_val == "") $e_val = $e_key; $sel = in_array($e_key, $val) ? 'selected=selected' : ''; - print(""); + print(""); } print(""); break; @@ -302,7 +302,7 @@ function config_editor($category, $year, $array_name, $self) $ch = (in_array($e_key, $val)) ? 'checked="checked"' : ''; print(""); - print("$e_val
"); + print(i18n($e_val)."
"); } if($c > 5) print("
");