Revision 5ee512da
Von Sven Schöling vor fast 17 Jahren hinzugefügt
bin/mozilla/ct.pl | ||
---|---|---|
576 | 576 |
|
577 | 577 |
CT->get_contact(\%myconfig, \%$form); |
578 | 578 |
|
579 |
$result = "$form->{cp_name}"; |
|
580 |
map { $result .= "__pjx__" . $form->{$_} } qw(cp_greeting cp_title cp_givenname cp_phone1 cp_phone2 cp_email cp_abteilung cp_fax cp_mobile1 cp_mobile2 cp_satphone cp_satfax cp_project cp_privatphone cp_privatemail cp_birthday); |
|
581 |
print $cgi->header(), $result; |
|
579 |
print $cgi->header(), join '__pjx__', map $form->{"cp_$_"}, |
|
580 |
qw(name greeting title givenname phone1 phone2 email abteilung fax mobile1 mobile2 satphone satfax project privatphone privatemail birthday); |
|
582 | 581 |
$lxdebug->leave_sub(); |
583 | 582 |
|
584 | 583 |
} |
... | ... | |
590 | 589 |
|
591 | 590 |
CT->get_shipto(\%myconfig, \%$form); |
592 | 591 |
|
593 |
$result = "$form->{shiptoname}"; |
|
594 |
map { $result .= "__pjx__" . $form->{$_} } qw(shiptodepartment_1 shiptodepartment_2 shiptostreet shiptozipcode shiptocity shiptocountry shiptocontact shiptophone shiptofax shiptoemail); |
|
595 |
print $cgi->header(), $result; |
|
592 |
print $cgi->header(), join '__pjx__', map $form->{"shipto$_"}, |
|
593 |
qw(name department_1 department_2 street zipcode city country contact phone fax email); |
|
596 | 594 |
$lxdebug->leave_sub(); |
597 | 595 |
|
598 | 596 |
} |
Auch abrufbar als: Unified diff
einfachere ajax methoden