Moved towards smarty templates, support php7, switched to mysqli,

finalized language support and fixed some more bugs
This commit is contained in:
2023-02-13 16:41:38 +01:00
parent 76ccecca7f
commit ee582988e6
192 changed files with 13558 additions and 13476 deletions
+38 -35
View File
@@ -1,35 +1,38 @@
<table class="title">
<tr>
<td class="header">
{lang_nodes} ({node_counter})
</td>
<td align="right">
<a href="nodeadd.php?subnet_id={subnet_id}"><img src="image.php?icon=add" alt="{lang_node_add}"></a>
</td>
</tr>
</table>
<p>
[BLOCK node_table AS node_table]
<table class="info">
<tr>
<td class="header">
{lang_ip}
</td>
<td class="header">
{lang_asset_name}
</td>
</tr>
[BLOCK node_row]
<tr>
<td class="label">
<a href="nodeview.php?node_id={node_id}">{node_ip}</a>
</td>
<td class="value">
<a href="assetview.php?asset_id={asset_id}">{asset_name}</a>
</td>
</tr>
[END node_row]
</table>
[END node_table]
<table class="title">
<tr>
<td class="header">
<img class="icon" src="images/network-ethernet.png" alt="" />
{$lang_nodes} ({$node|@count})
</td>
<td align="right">
<a href="nodeadd.php?subnet_id={$subnet_id}"><img src="image.php?icon=add" alt="{$lang_node_add}"></a>
</td>
</tr>
</table>
<table class="info">
<tr>
<td class="header">
{$lang_ip}
</td>
<td class="header">
{$lang_asset_name}
</td>
<td class="header">
{$lang_asset_info}
</td>
</tr>
{foreach item=node from=$nodes}
<tr>
<td class="label">
<a href="nodeview.php?node_id={$node.node_id}">{if $node.node_ip}{$node.node_ip}{else}(leer){/if}</a>
</td>
<td class="value">
<a href="assetview.php?asset_id={$node.asset_id}">{$node.asset_name}</a>
</td>
<td class="value">
{$node.asset_info}
</td>
</tr>
{/foreach}
</table>