X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=plugins%2Ffunction.display_address.php;h=b755e92fbdf77141d44708a890ad12d0e93437be;hb=cfefeac65aa41c78c02c145070c1c6b489f5a935;hp=c498d9068993b1f5b30a9b1e29dcc782834a4125;hpb=6261a1b5739ef81724b29235f41065327f7da656;p=platal.git diff --git a/plugins/function.display_address.php b/plugins/function.display_address.php index c498d90..b755e92 100644 --- a/plugins/function.display_address.php +++ b/plugins/function.display_address.php @@ -30,8 +30,8 @@ function display_address_isIdentity($idt, $value, $test_reverse = true) return true; } - if ($test_reverse) { - return display_address_isIdentity($idt, implode(' ', array_reverse(explode(' ', $value))), false); + if ($test_reverse) { + return display_address_isIdentity($idt, implode(' ', array_reverse(explode(' ', $value))), false); } return false; } @@ -59,7 +59,7 @@ function smarty_function_display_address($param, &$smarty) $txthtml = ""; $map = "\"Google"; if ($restore) { array_unshift($lines, $idt); @@ -82,7 +82,7 @@ function smarty_function_display_address($param, &$smarty) if ($param['adr']['mobile']) $txthtml .= "
\nTél : \n".$param['adr']['mobile']."\n
\n"; if ($param['adr']['tels'] && count($param['adr']['tels'])) { - foreach ($param['adr']['tels'] as $tel) + foreach ($param['adr']['tels'] as $tel) $txthtml .= "
\n".$tel['tel_type']." : \n".$tel['tel']."\n
\n"; } if (!$param['nodiv']) {