{strip}

{tr}Action Logs{/tr}

{formfeedback hash=$feedback} {form} {legend legend="Liberty Action Logs"} {foreach from=$logSettings key=item item=output}
{formlabel label=$output.label for=$item} {forminput} {if $output.type == 'input'} {else} {html_checkboxes name="$item" values="y" checked=$gBitSystem->getConfig($item) labels=false id=$item} {/if} {formhelp note=$output.note page=$output.page} {/forminput}
{/foreach}
{formlabel label="Delete Logs" for="log_prune"} {forminput} {formhelp note="Delete logs older than the given time span."} {/forminput}
{/legend} {/form} {* Need to add some filtering options here *} {minifind} {foreach from=$actionLogs item=log} {foreachelse} {/foreach}
{tr}Action Logs{/tr} [ {$listInfo.total_records|default:0} ]
{smartlink ititle="ID" isort=content_id page=$listInfo.page} {smartlink ititle="Title" isort=title page=$listInfo.page} {smartlink ititle="Log Entry" isort=action_log page=$listInfo.page} {smartlink ititle="Content Type" isort=content_name page=$listInfo.page} {smartlink ititle="Log time" isort=last_modified page=$listInfo.page idefault=1} {smartlink ititle="Modified by" isort=user_id page=$listInfo.page} [{smartlink ititle="IP" isort=ip page=$listInfo.page}]
{if $log.error_message} {biticon ipackage=icons iname="dialog-error" iexplain="Error"} {else} {biticon ipackage=icons iname="dialog-information" iexplain="Information"} {/if} {if $log.content_id}{$log.content_id}{/if} {$log.title|escape} {$log.log_message|nl2br} {$log.error_message|nl2br} {tr}{$log.content_name}{/tr} {$log.last_modified|bit_short_datetime} {displayname hash=$log} [{$log.ip}]
{tr}No Records Found{/tr}
{pagination}
{/strip}