ipreg/tpl/assetdel.tpl

59 lines
1.4 KiB
Smarty

<form method="POST" action="submit.php">
<input type="hidden" name="del" value="asset">
<input type="hidden" name="asset_id" value="{$asset_id}">
<table class="title">
<tr>
<td class="header">
{$lang_asset_del}
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a>
<input type="image" src="image.php?icon=shred" alt="{$lang_asset_del}" {if $suser_tooltips}title="{$lang_asset_del}" {/if}/>
</td>
</tr>
</table>
</form>
<table class="info">
<tr>
<td class="header">
{$lang_asset}
</td>
<td class="header_right">
&nbsp;
</td>
<tr>
<td class="label">
{$lang_asset_name}
</td>
<td class="value">
<a href="assetview.php?asset_id={$asset_id}">{$asset_name}</a>
</td>
</tr>
</table>
{if $nodes|@count}
<table class="info">
<tr>
<td class="header">
<img src="image.php?icon=error" alt="{$lang_warning}">
</td>
<td class="header_right">
{$lang_comments_asset_del_nodes}
</td>
</tr>
{foreach item=node from=$nodes}
<tr>
<td class="label">
{$lang_ip}
</td>
<td class="value">
<a href="nodeview.php?node_id={$node.node_id}">{$node.node_ip}</a>
</td>
</tr>
{/foreach}
</table>
{/if}