- ADMIN_CHANGE_ACTIVATION_STATUS($_POST['id'], "bank_packages", "package_active");
- } elseif (isset($_POST['delete'])) {
+ adminChangeActivationStatus(postRequestParameter('id'), 'bank_packages', 'package_active');
+ } elseif (isFormSent('edit')) {
+ // Delete entries (with confirmation)
+ adminEditEntriesConfirm(
+ postRequestParameter('id'),
+ 'bank_packages',
+ array(
+ 'id',
+ 'title',
+ 'description',
+ 'account_fee',
+ 'free_transfers',
+ 'transfer_fee',
+ 'output_system_mode',
+ 'package_active',
+ 'free_months_no_fee',
+ 'interest_plus',
+ 'interest_minus',
+ 'first_payment',
+ 'free_account_income',
+ 'free_account_stuff',
+ 'tan_lock'
+ ),
+ array(
+ 'bigintval',
+ '',
+ '',
+ 'translateComma',
+ 'bigintval',
+ 'translateComma',
+ '',
+ '',
+ 'bigintval',
+ 'translateComma',
+ 'translateComma',
+ 'translateComma',
+ 'translateComma',
+ '',
+ 'bigintval'
+ ),
+ array(
+ '',
+ '',
+ '',
+ '',
+ '',
+ '',
+ '',
+ '',
+ '',
+ '',
+ '',
+ '',
+ '',
+ '',
+ ''
+ )
+ );
+ $show = false;
+ } elseif (isFormSent('do_edit')) {
+ // Delete entries (with confirmation)
+ adminEditEntriesConfirm(
+ postRequestParameter('id'),
+ 'bank_packages',
+ array(),
+ array(),
+ array(),
+ true
+ );
+ } elseif (isFormSent('delete')) {