forked from science-ation/science-ation
enter salutations using a textfield, not a dropdown.
This commit is contained in:
parent
343f0f8acd
commit
4cba8caa3c
@ -641,7 +641,6 @@ function draw_contactsinfo_form($contact = null){
|
||||
|
||||
// draw a form in which to enter information about the various contacts
|
||||
function draw_contact_form($sponsor_id, $contact = null){
|
||||
global $salutations;
|
||||
global $config;
|
||||
|
||||
//grab the sponsor details, so we can do diff things for individual vs organization
|
||||
@ -687,14 +686,7 @@ function draw_contact_form($sponsor_id, $contact = null){
|
||||
<tr>
|
||||
<td><?=i18n("Salutation"); ?></td>
|
||||
<td>
|
||||
<select name="salutation">
|
||||
<option value=""><?=i18n("Choose")?></option>
|
||||
<?
|
||||
foreach($salutations AS $salutation) {
|
||||
if($contact['salutation']==$salutation) $sel="selected=\"selected\""; else $sel="";
|
||||
echo "<option $sel value=\"$salutation\">$salutation</option>\n";
|
||||
}
|
||||
?>
|
||||
<input name="salutation" type="text" value="<?=htmlspecialchars($contact['salutation'])?>">
|
||||
</select>
|
||||
</td>
|
||||
<td><?=i18n("Position"); ?></td>
|
||||
|
@ -1,6 +1,5 @@
|
||||
<?
|
||||
$campaign_types=array("Mail","Email","Phone","Personal Visit","Event","Other");
|
||||
$salutations=array("Mr.","Mrs.","Ms","Dr.","Professor");
|
||||
|
||||
function getGoal($goal) {
|
||||
global $config;
|
||||
|
Loading…
Reference in New Issue
Block a user