Changed database access to PDO using prepared statements
This commit is contained in:
+4
-4
@@ -1,6 +1,6 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="nat">
|
||||
<input type="hidden" name="node_id_ext" value="{$node_id_ext}">
|
||||
<input type="hidden" name="node_id_ext" value="{$node->id_ext}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
@@ -10,7 +10,7 @@
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
{if $nat_options}
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
<input type="image" src="image.php?icon=delete" alt="{$lang_submit}">
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
@@ -30,7 +30,7 @@
|
||||
{$lang_ip}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="nodeview.php?node_id={$node_id_ext}">{$node_ip_ext}</a>
|
||||
<a href="nodeview.php?node_id={$node->id_ext}">{$node->ip_ext}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -50,7 +50,7 @@
|
||||
{$lang_node}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=nat_ext options=$nat_options}
|
||||
{html_options name=nat_id options=$nat_options}
|
||||
</td>
|
||||
{else}
|
||||
<td colspan="2">
|
||||
|
||||
Reference in New Issue
Block a user