Project

General

Profile

« Previous | Next » 

Revision aed47758

Added by Seth Mos over 14 years ago

Fix the link to point to the v6 edit page instead

View differences:

usr/local/www/services_dhcpv6.php
835 835
			<table border="0" cellspacing="0" cellpadding="1">
836 836
			<tr>
837 837
			<td valign="middle" width="17"></td>
838
			<td valign="middle"><a href="services_dhcp_edit.php?if=<?=$if;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0"></a></td>
838
			<td valign="middle"><a href="services_dhcpv6_edit.php?if=<?=$if;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0"></a></td>
839 839
			</tr>
840 840
			</table>
841 841
			</td>
......
844 844
			<?php $i = 0; foreach ($a_maps as $mapent): ?>
845 845
			<?php if($mapent['mac'] <> "" or $mapent['ipaddr'] <> ""): ?>
846 846
		<tr>
847
		<td class="listlr" ondblclick="document.location='services_dhcp_edit.php?if=<?=$if;?>&id=<?=$i;?>';">
847
		<td class="listlr" ondblclick="document.location='services_dhcpv6_edit.php?if=<?=$if;?>&id=<?=$i;?>';">
848 848
			<?=htmlspecialchars($mapent['mac']);?>
849 849
		</td>
850
		<td class="listr" ondblclick="document.location='services_dhcp_edit.php?if=<?=$if;?>&id=<?=$i;?>';">
850
		<td class="listr" ondblclick="document.location='services_dhcpv6_edit.php?if=<?=$if;?>&id=<?=$i;?>';">
851 851
			<?=htmlspecialchars($mapent['ipaddr']);?>&nbsp;
852 852
		</td>
853
		<td class="listr" ondblclick="document.location='services_dhcp_edit.php?if=<?=$if;?>&id=<?=$i;?>';">
853
		<td class="listr" ondblclick="document.location='services_dhcpv6_edit.php?if=<?=$if;?>&id=<?=$i;?>';">
854 854
			<?=htmlspecialchars($mapent['hostname']);?>&nbsp;
855 855
		</td>
856
		<td class="listbg" ondblclick="document.location='services_dhcp_edit.php?if=<?=$if;?>&id=<?=$i;?>';">
856
		<td class="listbg" ondblclick="document.location='services_dhcpv6_edit.php?if=<?=$if;?>&id=<?=$i;?>';">
857 857
			<?=htmlspecialchars($mapent['descr']);?>&nbsp;
858 858
		</td>
859 859
		<td valign="middle" nowrap class="list">
860 860
			<table border="0" cellspacing="0" cellpadding="1">
861 861
			<tr>
862
			<td valign="middle"><a href="services_dhcp_edit.php?if=<?=$if;?>&id=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" width="17" height="17" border="0"></a></td>
862
			<td valign="middle"><a href="services_dhcpv6_edit.php?if=<?=$if;?>&id=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" width="17" height="17" border="0"></a></td>
863 863
			<td valign="middle"><a href="services_dhcp.php?if=<?=$if;?>&act=del&id=<?=$i;?>" onclick="return confirm('<?=gettext("Do you really want to delete this mapping?");?>')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0"></a></td>
864 864
			</tr>
865 865
			</table>
......
874 874
			<table border="0" cellspacing="0" cellpadding="1">
875 875
			<tr>
876 876
			<td valign="middle" width="17"></td>
877
			<td valign="middle"><a href="services_dhcp_edit.php?if=<?=$if;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0"></a></td>
877
			<td valign="middle"><a href="services_dhcpv6_edit.php?if=<?=$if;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0"></a></td>
878 878
			</tr>
879 879
			</table>
880 880
		</td>

Also available in: Unified diff