Code: Select all
$contents[] = ['class' => 'text-center bg-white', 'text' => tep_draw_bootstrap_button(IMAGE_EMAIL, 'fas fa-paper-plane', tep_href_link('recover_carts.php', 'page=' . (int)$_GET['page'] . '&cID=' . $cInfo->customers_id . '&action=email'), null, null, 'btn-warning mr-2') . tep_draw_bootstrap_button(IMAGE_DELETE, 'fas fa-trash', tep_href_link('recover_carts.php', 'page=' . (int)$_GET['page'] . '&cID=' . $cInfo->customers_id . '&action=delete'), null, null, 'btn-danger')];Code: Select all
$contents[] = ['class' => 'text-center bg-white', 'text' => $Admin->button(IMAGE_EMAIL, 'fas fa-paper-plane', $GLOBALS['Admin']->link('recover_carts.php', 'page=' . (int)$_GET['page'] . '&cID=' . $cInfo->customers_id . '&action=email'), 'btn-warning mr-2') . $Admin->button(IMAGE_DELETE, 'fas fa-trash', $GLOBALS['Admin']->link('recover_carts.php', 'page=' . (int)$_GET['page'] . '&cID=' . $cInfo->customers_id . '&action=delete'), 'btn-danger')];