Ajout images
This commit is contained in:
parent
d2e387a71b
commit
b7163728d9
@ -59,7 +59,7 @@ print_barre_liste("Importation des fichiers CDR", $page, "files.php", "", $sortf
|
||||
|
||||
print '<table class="noborder" width="100%" cellspacing="0" cellpadding="4">';
|
||||
print '<tr class="liste_titre">';
|
||||
print '<td>Message</td>';
|
||||
print '<td colspan="2">Messages</td>';
|
||||
|
||||
print "</tr>\n";
|
||||
|
||||
@ -70,9 +70,20 @@ $obj->Import($_GET["id"]);
|
||||
|
||||
foreach ($obj->messages as $message)
|
||||
{
|
||||
$var=!$var;
|
||||
print "<tr $bc[$var]>";
|
||||
print '<td>'.$message.'</td></tr>';
|
||||
$var=!$var;
|
||||
print "<tr $bc[$var]>";
|
||||
|
||||
if (is_array($message))
|
||||
{
|
||||
$func = 'img_'.$message[0];
|
||||
print '<td>'.$func().'</td>';
|
||||
print '<td width="99%">'.$message[1].'</td></tr>';
|
||||
}
|
||||
else
|
||||
{
|
||||
print '<td>'.img_info().'</td>';
|
||||
print '<td width="99%">'.$message.'</td></tr>';
|
||||
}
|
||||
}
|
||||
print "</table>";
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user