1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 06:07:32 +02:00
This commit is contained in:
camer0n
2025-02-07 14:19:24 -08:00
parent f772ab0b98
commit 2b9997fe9b

View File

@@ -328,7 +328,7 @@ class admin_history_form_ui extends e_admin_form_ui
$row = $controller->getListModel()->getData(); $row = $controller->getListModel()->getData();
// Begin options group // Begin options group
$text = "<div class='btn-group pull-right'>"; $text = "<div class='btn-group'>";
// Check if the record can be restored // Check if the record can be restored
if (!empty($id)) if (!empty($id))
@@ -338,7 +338,7 @@ class admin_history_form_ui extends e_admin_form_ui
$type = $row['history_action']; $type = $row['history_action'];
$name = ($type === 'delete') ? "restore_deleted[$id]" : "restore_updated[$id]"; $name = ($type === 'delete') ? "restore_deleted[$id]" : "restore_updated[$id]";
$text .= "<button class='btn btn-default' type='submit' name='$name' title='{$restoreTitle}'><i class='admin-ui-option fa fa-undo fa-2x fa-fw'></i></button>"; $text .= "<button class='btn btn-primary' type='submit' name='$name' title='{$restoreTitle}'><i class='admin-ui-option fa fa-undo fa-2x fa-fw'></i></button>";
} }
$att['readParms']['editClass'] = 999; // disable it. $att['readParms']['editClass'] = 999; // disable it.