Révision d9c543bd
plugins/manageentity/inc/plugin_manageentity.functions_display.php | ||
---|---|---|
465 | 465 |
$number = $DB->numrows($result); |
466 | 466 |
|
467 | 467 |
if ($number > 0) { |
468 |
echo "<br><div align='center'><table class='tab_cadre' align='center' width='95%'>"; |
|
469 |
echo "<tr>"; |
|
470 |
echo "<th colspan='3'>Epack et Installation - <a href=\"".$CFG_GLPI["root_doc"]."/plugins/anet_epacks/front/plugin_anet_epacks.out_of_maintenance.php?code=" . $DB->result($result, $i, "code") . "\" target=\"_blank\">[marquer hors maintenance]</a> - </th>"; |
|
471 |
echo "</tr>"; |
|
472 |
echo "<tr class='tab_bg_2'>"; |
|
473 |
echo "<td width=\"33%\">".$DB->result($result, $i, "code")."</td>"; |
|
474 |
echo "<td width=\"33%\">Date d'activation: ".$DB->result($result, $i, "activation_date")."</td>"; |
|
475 |
echo "<td width=\"33%\">Installateur: ".$DB->result($result, $i, "installateur")."</td>"; |
|
476 |
echo "</tr>"; |
|
477 |
echo "</table></div>"; |
|
468 |
echo "<br><div align='center'><table class='tab_cadre' align='center' width='95%'>"; |
|
469 |
echo "<tr>"; |
|
470 |
echo "<th colspan='3'>Epack et Installation - <a href=\"".$CFG_GLPI["root_doc"]."/plugins/anet_epacks/front/plugin_anet_epacks.out_of_maintenance.php?code=" . $DB->result($result, $i, "code") . "\" target=\"_blank\">[marquer hors maintenance]</a> - </th>"; |
|
471 |
echo "</tr>"; |
|
472 |
while($i < $number) { |
|
473 |
echo "<tr class='tab_bg_2'>"; |
|
474 |
echo "<td width=\"33%\">".$DB->result($result, $i, "code")."</td>"; |
|
475 |
echo "<td width=\"33%\">Date d'activation: ".$DB->result($result, $i, "activation_date")."</td>"; |
|
476 |
echo "<td width=\"33%\">Installateur: ".$DB->result($result, $i, "installateur")."</td>"; |
|
477 |
echo "</tr>"; |
|
478 |
$i++; |
|
479 |
} |
|
480 |
echo "</table></div>"; |
|
478 | 481 |
} |
479 | 482 |
echo "<br />"; |
480 | 483 |
} |
Formats disponibles : Unified diff