Files
code-cegled/template/templates/log.tpl
Ricsi 5a78b09a38 20161230
sql delete replaced by delete flag
log list (simple), log categories
minor bug fixes in css
2016-12-30 18:00:05 +01:00

21 lines
620 B
Smarty

<div style="overflow-x:auto;">
<table class="log">
{foreach $log_array as $log}
<tr class="{$log->get_log_img()}">
<td><img src="/_image/{$log->get_log_img()}.png"></td>
<td>#{$log->get_log_id()}</td>
<td>{$log->get_log_date()}</td>
<td>
{if $log->get_log_category()->get_logc_type() == 1}
{$log->get_log_user()->get_ua_name()}
{elseif $log->get_log_category()->get_logc_type() == 2}
{$log->get_log_user()->get_uk_name()}
{/if}
</td>
<td>{$log->get_log_category()->get_logc_title()}</td>
<td>{$log->get_log_text()}</td>
</tr>
{/foreach}
</table>
</div>