<?php
/***************************************************************************
- * Copyright (C) 2003-2004 Polytechnique.org *
+ * Copyright (C) 2003-2006 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
$this->TableRow($l, $r);
- if ($a['tel']) {
- $this->TableRow('Téléphone', $a['tel'], 'Mono');
- }
- if ($a['fax']) {
- $this->TableRow('Fax', $a['fax'], 'Mono');
- }
+ foreach ($a['tels'] as $tel)
+ if ($tel['tel']) {
+ $this->TableRow($tel['tel_type'], $tel['tel'], 'Mono');
+ }
}
function AddressPro($a)