1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 17:44:37 +02:00

Issue #5382 History/Revert changes.

This commit is contained in:
camer0n
2025-02-06 12:23:49 -08:00
parent 73d4e28040
commit 10ed5f8c95
7 changed files with 37 additions and 11 deletions

View File

@@ -216,7 +216,7 @@ history_id int(10) unsigned NOT NULL auto_increment,
history_table varchar(64) NOT NULL default '',
history_pid varchar(64) NOT NULL default '',
history_record_id int(10) unsigned NOT NULL default '0',
history_action enum('delete','update') NOT NULL,
history_action enum('delete','restore','update') NOT NULL,
history_data JSON DEFAULT NULL,
history_user_id int(10) unsigned NOT NULL default '0',
history_datestamp int(10) unsigned NOT NULL default '0',

View File

@@ -124,6 +124,9 @@ $ADMIN_ICONS_TEMPLATE['E_16_PLUGIN'] = "<i class='S16 e-plugins-1
$ADMIN_ICONS_TEMPLATE['E_16_PLUGMANAGER'] = "<i class='S16 e-plugmanager-16'></i>";
$ADMIN_ICONS_TEMPLATE['E_16_THEMEMANAGER'] = "<i class='S16 e-themes-16'></i>";
$ADMIN_ICONS_TEMPLATE['E_16_UNDO'] = "<img class='icon S16' src='" . e_IMAGE . "admin_images/undo_16.png' alt='' />";
$ADMIN_ICONS_TEMPLATE['E_32_UNDO'] = "<img class='icon S32' src='" . e_IMAGE . "admin_images/undo_32.png' alt='' />";
$ADMIN_ICONS_TEMPLATE['ADMIN_WARNING_ICON'] = "<i class='fa fa-warning text-warning'></i>";
$ADMIN_ICONS_TEMPLATE['ADMIN_GRID_ICON'] = "<i class='fa fa-th'></i>";
$ADMIN_ICONS_TEMPLATE['ADMIN_LIST_ICON'] = "<i class='fas fa-list'></i>";