{{ get_icon('b_events', 'Events'|trans) }} {{ show_mysql_docu('EVENTS') }}

{{ get_hidden_inputs(db) }}
{% trans 'There are no events to display.' %}
{% for i in 0..6 %}{% endfor %} {% for event in items %} {% endfor %}
{% trans 'Name' %} {% trans 'Status' %} {% trans 'Type' %}
{{ 'DROP EVENT IF EXISTS %s'|format(backquote(event.name)) }} {{ event.name }} {{ event.status }} {{ event.type }} {% if has_privilege %} {{ get_icon('b_edit', 'Edit'|trans) }} {% else %} {{ get_icon('bd_edit', 'Edit'|trans) }} {% endif %} {{ get_icon('b_export', 'Export'|trans) }} {% if has_privilege %} {{ link_or_button( url('/sql'), { 'db': db, 'sql_query': 'DROP EVENT IF EXISTS %s'|format(backquote(event.name)), 'goto': url('/database/events', {'db': db}) }, get_icon('b_drop', 'Drop'|trans), {'class': 'ajax drop_anchor'} ) }} {% else %} {{ get_icon('bd_drop', 'Drop'|trans) }} {% endif %}
{% trans 'Event scheduler status' %}
{{- url('/sql', { 'db': db, 'goto': url('/database/events', {'db': db}), 'sql_query': 'SET GLOBAL event_scheduler="ON"', }) -}}
{% trans 'ON' %}
 
{{- url('/sql', { 'db': db, 'goto': url('/database/events', {'db': db}), 'sql_query': 'SET GLOBAL event_scheduler="OFF"', }) -}}
{% trans 'OFF' %}
Functions.slidingMessage(data.sql_query); {{ text_dir }}