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
+53 -49
View File
@@ -1,49 +1,53 @@
<table class="title">
<tr>
<td class="header">
{lang_assets} ({asset_counter})
</td>
<td align="right">
<a href="assetadd.php"><img src="image.php?icon=add" alt="{lang_asset_add}"></a>
</td>
</tr>
</table>
<p>
[BLOCK letter_table AS letter_table]
<table class="submenu">
<tr>
[BLOCK letter_row]
<td>
<a href="asset.php?asset_letter={asset_letter}">{asset_letter}</a>&nbsp;
</td>
[END letter_row]
</tr>
</table>
[END letter_table]
<p>
[BLOCK asset_table AS asset_table]
<table class="info">
<tr>
<td class="header">
{lang_asset_name}
</td>
<td class="header">
{lang_assetclass_name}
</td>
</tr>
[BLOCK asset_row]
<tr>
<td class="label">
<a href="assetview.php?asset_id={asset_id}">{asset_name}</a>
</td>
<td class="value">
<a href="assetclassview.php?assetclass_id={assetclass_id}">{assetclass_name}</a>
</td>
</tr>
[END asset_row]
</table>
[END asset_table]
<table class="title">
<tr>
<td class="header">
{$lang_assets} ({$assets|@count})
</td>
<td align="right">
<a href="assetadd.php"><img src="image.php?icon=add" alt="{$lang_asset_add}" {if $suser_tooltips}title="{$lang_asset_add}" {/if}/></a>
</td>
</tr>
</table>
<table class="submenu initials">
<tr>
{foreach item=letter from=$alphabet}
<td>
<a href="asset.php?asset_letter={$letter.asset_letter}">{$letter.asset_letter}</a>&nbsp;
</td>
{/foreach}
</tr>
</table>
<table class="info">
<tr>
<td class="header">
{$lang_asset_name}
</td>
<td class="header">
{$lang_assetclass_name}
</td>
<td class="header">
{$lang_asset_info}
</td>
</tr>
{foreach item=asset from=$assets}
<tr>
<td class="label">
<a href="assetview.php?asset.id={$asset.asset_id}">{$asset.asset_name}</a>
</td>
<td class="value">
<a href="assetclassview.php?assetclass_id={$asset.assetclass_id}">{$asset.assetclass_name}</a>
</td>
<td class="value">
{$asset.asset_info}
</td>
</tr>
{foreachelse}
<tr>
<td colspan="2">
{$lang_asset_none}
</td>
</tr>
{/foreach}
</table>