|
|
@ -121,6 +121,9 @@ foreach my $user (@users){ |
|
|
|
$src =~ s/__START_FONCTION3__.*__END_FONCTION3__//smg if ($func3 eq ''); |
|
|
|
$src =~ s/__START_FONCTION3__.*__END_FONCTION3__//smg if ($func3 eq ''); |
|
|
|
$src =~ s/__START_FONCTION4__.*__END_FONCTION4__//smg if ($func4 eq ''); |
|
|
|
$src =~ s/__START_FONCTION4__.*__END_FONCTION4__//smg if ($func4 eq ''); |
|
|
|
$src =~ s/__START_ENTREPRISE__.*__END_ENTREPRISE__//smg if ($comp eq ''); |
|
|
|
$src =~ s/__START_ENTREPRISE__.*__END_ENTREPRISE__//smg if ($comp eq ''); |
|
|
|
|
|
|
|
$src =~ s/__START_CODE_POSTAL__.*__END_CODE_POSTAL__//smg if ($postalcode eq ''); |
|
|
|
|
|
|
|
$src =~ s/__START_RUE__.*__END_RUE__//smg if ($street eq ''); |
|
|
|
|
|
|
|
$src =~ s/__START_VILLE__.*__END_VILLE__//smg if ($city eq ''); |
|
|
|
$src =~ s/__START_ADRESSE__.*__END_ADRESSE__//smg if ($addr eq ''); |
|
|
|
$src =~ s/__START_ADRESSE__.*__END_ADRESSE__//smg if ($addr eq ''); |
|
|
|
$src =~ s/__START_URL__.*__END_URL__//smg if ($url eq ''); |
|
|
|
$src =~ s/__START_URL__.*__END_URL__//smg if ($url eq ''); |
|
|
|
|
|
|
|
|
|
|
@ -137,6 +140,9 @@ foreach my $user (@users){ |
|
|
|
$src =~ s/__SERVICE__/$dep/g; |
|
|
|
$src =~ s/__SERVICE__/$dep/g; |
|
|
|
$src =~ s/__ENTREPRISE__/$comp/g; |
|
|
|
$src =~ s/__ENTREPRISE__/$comp/g; |
|
|
|
$src =~ s/__ADRESSE__/$addr/g; |
|
|
|
$src =~ s/__ADRESSE__/$addr/g; |
|
|
|
|
|
|
|
$src =~ s/__CODE_POSTAL__/$postalcode/g; |
|
|
|
|
|
|
|
$src =~ s/__RUE__/$street/g; |
|
|
|
|
|
|
|
$src =~ s/__VILLE__/$city/g; |
|
|
|
$src =~ s/__URL__/$url/g; |
|
|
|
$src =~ s/__URL__/$url/g; |
|
|
|
|
|
|
|
|
|
|
|
# Now remove any remaining __START_ and __END_ tags |
|
|
|
# Now remove any remaining __START_ and __END_ tags |
|
|
|