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
+37 -35
View File
@@ -1,35 +1,37 @@
<table class="title">
<tr>
<td class="header">
{lang_subnets} ({subnet_counter})
</td>
<td align="right">
<a href="subnetadd.php"><img src="image.php?icon=add" alt="{lang_asset_add}"></a>
</td>
</tr>
</table>
<p>
[BLOCK subnet_table AS subnet_table]
<table class="info">
<tr>
<td class="header">
{lang_subnet_subnetaddress_mask}
</td>
<td class="header">
{lang_nodes}
</td>
</tr>
[BLOCK subnet_row]
<tr>
<td class="label">
<a href="subnetview.php?subnet_id={subnet_id}">{subnet_address}/{subnet_mask}</a>
</td>
<td class="value">
<a href="node.php?subnet_id={subnet_id}">{node_counter}</a>
</td>
</tr>
[END subnet_row]
</table>
[END subnet_table]
<table class="title">
<tr>
<td class="header">
{$lang_subnets} ({$subnets|@count})
</td>
<td align="right">
<a href="subnetadd.php"><img src="image.php?icon=add" alt="{$lang_subnet_add}"></a>
</td>
</tr>
</table>
<table class="info">
<tr>
<td class="header">
{$lang_subnet_subnetaddress_mask}
</td>
<td class="header">
{$lang_nodes}
</td>
<td class="header">
{$lang_subnet_info}
</td>
</tr>
{foreach item=subnet from=$subnets}
<tr>
<td class="label">
<a href="subnetview.php?subnet_id={$subnet.subnet_id}">{$subnet.subnet_address}/{$subnet.subnet_mask}</a>
</td>
<td class="value">
<a href="node.php?subnet_id={$subnet.subnet_id}">{$subnet.node_counter}</a>
</td>
<td>
{$subnet.subnet_info}
</td>
</tr>
{/foreach}
</table>