From de95ff761f947856d1cb96cf405c17ea1d1e467f Mon Sep 17 00:00:00 2001 From: james Date: Thu, 13 Jan 2005 15:56:27 +0000 Subject: [PATCH] i18n the registration list page --- admin/registration.php | 4 ++-- admin/registration_list.php | 29 +++++++++++++++-------------- 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/admin/registration.php b/admin/registration.php index 67666d2..fbe0a21 100644 --- a/admin/registration.php +++ b/admin/registration.php @@ -3,8 +3,8 @@ send_header("Administration - Participant Registration"); echo "<< ".i18n("Back to Administration")."
"; echo "
"; - echo "View/Input Received Forms
"; - echo "Registration List
"; + echo "".i18n("Input Received Forms")."
"; + echo "".i18n("Registration List")."
"; diff --git a/admin/registration_list.php b/admin/registration_list.php index 3e15a64..f3c2283 100644 --- a/admin/registration_list.php +++ b/admin/registration_list.php @@ -12,15 +12,15 @@ echo "
"; echo ""; echo "
"; @@ -48,13 +48,13 @@ else $wherestatus=""; echo mysql_error(); echo ""; echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; echo ""; while($r=mysql_fetch_object($q)) @@ -66,13 +66,14 @@ else $wherestatus=""; case "paymentpending": $status_text="Payment Pending"; break; case "complete": $status_text="Complete"; break; } + $status_text=i18n($status_text); echo ""; echo ""; echo ""; echo ""; - echo ""; - echo ""; + echo ""; + echo ""; $sq=mysql_query("SELECT students.firstname, students.lastname,
StatusReg NumProject TitleAge CategoryDivisionSchool(s)Student(s)".i18n("Status")."".i18n("Reg Num")."".i18n("Project Title")."".i18n("Age Category")."".i18n("Division")."".i18n("School(s)")."".i18n("Student(s)")."
$status_text$r->reg_num$r->title$r->category$r->division".i18n("$r->category")."".i18n("$r->division")."