Fixed search links

master
Thomas Hooge 1 year ago
parent 05e85db3a7
commit 7e73d8efbc
  1. 12
      tpl/search.tpl

@ -35,7 +35,7 @@
{foreach item=asset from=$assets}
<tr>
<td class="value">
<a href="assetview.php?asset_id={$asset.id}">{$asset.name}</a>
<a href="asset.php?f=view&id={$asset.id}">{$asset.name}</a>
</td>
<td class="value">
{$asset.description}
@ -58,7 +58,7 @@
{foreach item=location from=$locations}
<tr>
<td class="value">
<a href="locationview.php?location_id={$location.id}">{$location.name}</a>
<a href="location.php?f=view&id={$location.id}">{$location.name}</a>
</td>
</tr>
{/foreach}
@ -75,7 +75,7 @@
{foreach item=node from=$nodes}
<tr>
<td class="value">
<a href="nodeview.php?node_id={$node.id}">{$node.ip}</a>
<a href="node.php?f=view&id={$node.id}">{$node.ip}</a>
</td>
<td class="value">
{$node.info}
@ -95,7 +95,7 @@
{foreach item=subnet from=$subnets}
<tr>
<td class="value">
<a href="subnetview.php?subnet_id={$subnet.id}">{$subnet.address}</a>
<a href="subnet.php?f=view&id={$subnet.id}">{$subnet.address}</a>
</td>
</tr>
{/foreach}
@ -112,7 +112,7 @@
{foreach item=vlan from=$vlans}
<tr>
<td class="value">
<a href="vlanview.php?vlan_id={$vlan.id}">{$vlan.name}</a>
<a href="vlan.php?f=view&id={$vlan.id}">{$vlan.name}</a>
</td>
</tr>
{/foreach}
@ -129,7 +129,7 @@
{foreach item=zone from=$zones}
<tr>
<td class="value">
<a href="zoneview.php?zone_id={$zone.id}">{$zone.origin}</a>
<a href="zone.php?f=view&id={$zone.id}">{$zone.origin}</a>
</td>
</tr>
{/foreach}