diff --git a/admin/award_contacts.php b/admin/award_contacts.php index 63e2628..6959e12 100644 --- a/admin/award_contacts.php +++ b/admin/award_contacts.php @@ -71,6 +71,7 @@ $exec="UPDATE award_contacts SET ". + "salutation='".mysql_escape_string(stripslashes($_POST['salutation']))."', ". "firstname='".mysql_escape_string(stripslashes($_POST['firstname']))."', ". "lastname='".mysql_escape_string(stripslashes($_POST['lastname']))."', ". "position='".mysql_escape_string(stripslashes($_POST['position']))."', ". @@ -121,6 +122,7 @@ echo "\n"; echo "
".i18n("Salutation")." | salutation)."\" size=\"4\" maxlength=\"8\" /> | |
".i18n("First Name")." | firstname)."\" size=\"32\" maxlength=\"32\" /> | |
".i18n("Last Name")." | lastname)."\" size=\"32\" maxlength=\"32\" /> | |
".i18n("Position")." | position)."\" size=\"32\" maxlength=\"32\" /> | |
$r->firstname $r->lastname | \n"; + echo ""; + if($r->salutation) echo $r->salutation." "; + echo "$r->firstname $r->lastname | \n"; echo ""; if($r->email) { diff --git a/db/db.code.version.txt b/db/db.code.version.txt index f64f5d8..9902f17 100644 --- a/db/db.code.version.txt +++ b/db/db.code.version.txt @@ -1 +1 @@ -27 +28 diff --git a/db/db.update.28.sql b/db/db.update.28.sql new file mode 100644 index 0000000..9a00ac3 --- /dev/null +++ b/db/db.update.28.sql @@ -0,0 +1 @@ +ALTER TABLE `award_contacts` ADD `salutation` VARCHAR( 8 ) NOT NULL AFTER `award_sponsors_id` ; |