Commit e81728ba authored by Ad Schellevis's avatar Ad Schellevis

(legacy) regression status_dhcpv6_leases.php

parent 45d45596
...@@ -471,8 +471,11 @@ endif;?> ...@@ -471,8 +471,11 @@ endif;?>
<td><?=$data['ip'];?></td> <td><?=$data['ip'];?></td>
<td><?=$data['iaid'];?></td> <td><?=$data['iaid'];?></td>
<td><?=$data['duid'];?></td> <td><?=$data['duid'];?></td>
<td><?=!empty($data['hostname']) ? htmlentities($data['hostname']) : "";?></td> <td>
<td><?=htmlentities($data['descr']);?> <?=!empty($ndpdata[$data['ip']]['mac']) ? $ndpdata[$data['ip']]['mac'] : "";?></td> <?=!empty($data['hostname']) ? htmlentities($data['hostname']) : "";?>
<?=!empty($ndpdata[$data['ip']]) ? $ndpdata[$data['ip']]['mac'] : "";?>
</td>
<td><?=htmlentities($data['descr']);?></td>
<td><?=$data['type'] != "static" ? adjust_gmt($data['start']) : "";?></td> <td><?=$data['type'] != "static" ? adjust_gmt($data['start']) : "";?></td>
<td><?=$data['type'] != "static" ? adjust_gmt($data['end']) : "";?></td> <td><?=$data['type'] != "static" ? adjust_gmt($data['end']) : "";?></td>
<td><?=$data['online'];?></td> <td><?=$data['online'];?></td>
...@@ -480,8 +483,8 @@ endif;?> ...@@ -480,8 +483,8 @@ endif;?>
<td> <td>
<?php <?php
if ($data['type'] == "dynamic"):?> if ($data['type'] == "dynamic"):?>
<a class="btn btn-default btn-xs" href="services_dhcpv6_edit.php?if=<?=$data['if'];?>&amp;mac=<?=$data['mac'];?>&amp;hostname=<?=$data['hostname'];?>"> <a class="btn btn-default btn-xs" href="services_dhcpv6_edit.php?if=<?=$data['if'];?>&amp;duid=<?=$data['duid'];?>&amp;hostname=<?=$data['hostname'];?>">
<span class="glyphicon glyphicon-plus" data-toggle="tooltip" title="<?=gettext("add a static mapping for this MAC address");?>" alt="add" ></span> <span class="glyphicon glyphicon-plus" alt="add" ></span>
</a> </a>
<?php <?php
endif;?> endif;?>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment