~include('../site/admin.header.tmpl','Gestion event') ~include('../lib/html.tmpl') ~include('../lib/admin.tmpl') ~include('../lib/tags.tmpl') ~if( ~getpost('purge') == 'Purger' && ~getpost('purge_ok') == 'on' && ~get('is_admin'), ~list(~get('database'), "DELETE FROM ressources_audit_log" ) ) ~list(~get('database'), "SELECT msg, usr_msg FROM ressources_audit_log", 'LF','

Log actuel :

' )
~html_form_start('admin','~relative_templeet_script()admin/audit.html') ~html_form_checkbox('purge_ok',,'Purger les logs')
~html_form_submit('purge','Purger') ~html_form_end() ~include("../site/admin.footer.tmpl")