Skip to content

Commit

Permalink
Closes #5382
Browse files Browse the repository at this point in the history
  • Loading branch information
CaMer0n committed Feb 7, 2025
1 parent f772ab0 commit 2b9997f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e107_admin/history.php
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ public function options($parms, $value, $id, $att = [])
$row = $controller->getListModel()->getData();

// Begin options group
$text = "<div class='btn-group pull-right'>";
$text = "<div class='btn-group'>";

// Check if the record can be restored
if (!empty($id))
Expand All @@ -338,7 +338,7 @@ public function options($parms, $value, $id, $att = [])

$type = $row['history_action'];
$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.
Expand Down

0 comments on commit 2b9997f

Please sign in to comment.