diff --git a/admin/award_contacts.php b/admin/award_contacts.php index ffa39da7..c8499f79 100644 --- a/admin/award_contacts.php +++ b/admin/award_contacts.php @@ -98,7 +98,7 @@ echo happy("Contact successfully deleted"); } - if($_GET['action']=="edit" || $action=="add") + if($_GET['action']=="edit" || $_GET['action']=="add") { echo "<< ".i18n("Back to %1 Contacts",array($award_sponsors_organization))."\n"; @@ -109,7 +109,7 @@ $q=mysql_query("SELECT * FROM award_contacts WHERE id='".$_GET['edit']."'"); $r=mysql_fetch_object($q); } - else if($action=="add") + else if($_GET['action']=="add") { echo "

".i18n("Add %1 Contact",array($award_sponsors_organization))."

\n"; $buttontext="Add Contact"; @@ -127,11 +127,11 @@ echo "".i18n("Salutation")."salutation)."\" size=\"4\" maxlength=\"8\" />\n"; echo "".i18n("First Name")."firstname)."\" size=\"32\" maxlength=\"32\" />\n"; echo "".i18n("Last Name")."lastname)."\" size=\"32\" maxlength=\"32\" />\n"; - echo "".i18n("Position")."position)."\" size=\"32\" maxlength=\"32\" />\n"; - echo "".i18n("Phone (Work)")."phonework)."\" size=\"16\" maxlength=\"16\" />\n"; - echo "".i18n("Phone (Cell)")."phonecell)."\" size=\"16\" maxlength=\"16\" />\n"; - echo "".i18n("Phone (Home)")."phonehome)."\" size=\"16\" maxlength=\"16\" />\n"; - echo "".i18n("Fax")."fax)."\" size=\"16\" maxlength=\"16\" />\n"; + echo "".i18n("Position")."position)."\" size=\"60\" maxlength=\"64\" />\n"; + echo "".i18n("Phone (Work)")."phonework)."\" size=\"16\" maxlength=\"32\" />\n"; + echo "".i18n("Phone (Cell)")."phonecell)."\" size=\"16\" maxlength=\"32\" />\n"; + echo "".i18n("Phone (Home)")."phonehome)."\" size=\"16\" maxlength=\"32\" />\n"; + echo "".i18n("Fax")."fax)."\" size=\"16\" maxlength=\"32\" />\n"; echo "".i18n("Email")."email)."\" size=\"60\" maxlength=\"128\" />\n"; echo "".i18n("Notes")."\n"; echo "\n";