mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 14:17:49 +02:00
Closes #5382
This commit is contained in:
@@ -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.
|
||||||
|
Reference in New Issue
Block a user