From 609250f088959af4f27865ba0bc948a99b668a8c Mon Sep 17 00:00:00 2001 From: Max Kremmel Date: Sat, 16 Sep 2006 09:57:40 +0000 Subject: add some basic action log admin screen - still needs some work --- templates/action_logs.tpl | 60 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 templates/action_logs.tpl (limited to 'templates') diff --git a/templates/action_logs.tpl b/templates/action_logs.tpl new file mode 100644 index 0000000..0d0535e --- /dev/null +++ b/templates/action_logs.tpl @@ -0,0 +1,60 @@ +{strip} +{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} + +
+ +
+ {/legend} +{/form} + +

Need to add some filtering options here

+ +{minifind} + + + + + + + + + + + + + {foreach from=$actionLogs item=log} + + + + + + + + + + {/foreach} +
{tr}Action Logs{/tr}
{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_dscription 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}]{tr}Actions{/tr}
{if $log.content_id}{$log.content_id}{/if}{$log.title} + {$log.log_message|nl2br} + {$log.error_message|nl2br} + {$log.content_description}{$log.last_modified|bit_short_datetime}{$log.display_name} [{$log.ip}] + {biticon ipackage=icons iname=edit-delete iexplain="Remove Entry"} +
+ +{pagination} + +{/strip} -- cgit v1.3