|
|
@ -69,14 +69,16 @@ foreach my $acc (@accounts){ |
|
|
|
my $initials = $acc->prop('Initials') || ''; |
|
|
|
my $initials = $acc->prop('Initials') || ''; |
|
|
|
my $dshell = $acc->prop('DesktopShell') || ''; |
|
|
|
my $dshell = $acc->prop('DesktopShell') || ''; |
|
|
|
my $preferredemail = $acc->prop('PreferredEmail') || ''; |
|
|
|
my $preferredemail = $acc->prop('PreferredEmail') || ''; |
|
|
|
|
|
|
|
my $category = $acc->prop('Category') || ''; |
|
|
|
$preferredemail = "$user\@$domain" if ($preferredemail eq ''); |
|
|
|
$preferredemail = "$user\@$domain" if ($preferredemail eq ''); |
|
|
|
my $web = $acc->prop('Url') || ''; |
|
|
|
my $web = $acc->prop('Url') || ''; |
|
|
|
|
|
|
|
|
|
|
|
my (@postalcode,@mobile,@extension,@fax,@titles,@initials,@dshell,@preferredemail,@web) = (); |
|
|
|
my (@postalcode,@mobile,@extension,@fax,@titles,@initials,@dshell,@preferredemail,@category,@web) = (); |
|
|
|
@postalcode = ($postalcode) unless ($postalcode eq ''); |
|
|
|
@postalcode = ($postalcode) unless ($postalcode eq ''); |
|
|
|
@mobile = ($mobile) unless ($mobile eq ''); |
|
|
|
@mobile = ($mobile) unless ($mobile eq ''); |
|
|
|
@extension = ($extension) unless ($extension eq ''); |
|
|
|
@extension = ($extension) unless ($extension eq ''); |
|
|
|
@fax = ($fax) unless ($fax eq ''); |
|
|
|
@fax = ($fax) unless ($fax eq ''); |
|
|
|
|
|
|
|
@category = ($category) unless ($category eq ''); |
|
|
|
foreach ($function1, $function2, $function3, $function4){ |
|
|
|
foreach ($function1, $function2, $function3, $function4){ |
|
|
|
push @titles, $_ if ($_ ne ''); |
|
|
|
push @titles, $_ if ($_ ne ''); |
|
|
|
} |
|
|
|
} |
|
|
@ -94,6 +96,7 @@ foreach my $acc (@accounts){ |
|
|
|
initials => \@initials, |
|
|
|
initials => \@initials, |
|
|
|
desktopLoginShell => \@dshell, |
|
|
|
desktopLoginShell => \@dshell, |
|
|
|
preferredMail => \@preferredemail, |
|
|
|
preferredMail => \@preferredemail, |
|
|
|
|
|
|
|
businessCategory => \@category, |
|
|
|
labeledURI => \@web |
|
|
|
labeledURI => \@web |
|
|
|
} |
|
|
|
} |
|
|
|
); |
|
|
|
); |
|
|
|