enrol_cost)) $frm->enrol_cost = '5'; if (!isset($frm->enrol_currency)) $frm->enrol_currency = 'USD'; if (!isset($frm->enrol_mailstudents)) $frm->enrol_mailstudents = ''; if (!isset($frm->enrol_mailteachers)) $frm->enrol_mailteachers = ''; if (!isset($frm->enrol_mailadmins)) $frm->enrol_mailadmins = ''; if (!isset($frm->an_login)) $frm->an_login = ''; if (!isset($frm->an_tran_key)) $frm->an_tran_key = ''; if (!isset($frm->an_password)) $frm->an_password = ''; if (!isset($frm->delete_current)) $frm->delete_current = ''; if (!isset($frm->an_referer)) $frm->an_referer = 'http://'; if (!isset($frm->an_avs)) $frm->an_avs = ''; if (!isset($frm->an_authcode)) $frm->an_authcode = ''; if (!isset($frm->an_test)) $frm->an_test = ''; if (!isset($frm->an_review)) $frm->an_review = ''; if (!isset($frm->an_capture_day)) $frm->an_capture_day = '5'; if (!isset($frm->an_emailexpired)) $frm->an_emailexpired = '2'; if (!isset($frm->an_emailexpiredteacher)) $frm->an_emailexpiredteacher = ''; if (!isset($frm->an_sorttype)) $frm->an_sorttype = 'ttl'; if (isset($CFG->an_cutoff)) { $cutoff = intval($CFG->an_cutoff); $mins = $cutoff % 60; $hrs = ($cutoff - $mins) / 60; $frm->an_cutoff_hour = $hrs; $frm->an_cutoff_min = $mins; } if (!isset($frm->an_cutoff_hour)) { $timezone = round(get_user_timezone_offset(), 1); $frm->an_cutoff_hour = intval($timezone); $frm->an_cutoff_min = (intval(round($timezone)) != intval($timezone)) ? 35 : 5; } if (!isset($frm->acceptmethods)) { $frm->acceptmethods = get_list_of_payment_methods(); $CFG->an_acceptmethods = implode(',', $frm->acceptmethods); } if (!isset($frm->acceptccs)) { $frm->acceptccs = array_keys(get_list_of_creditcards()); $CFG->an_acceptccs = implode(',', $frm->acceptccs); } if (!isset($frm->acceptechecktypes)) { $frm->acceptechecktypes = get_list_of_bank_account_types(); $CFG->an_acceptechecktypes = implode(',', $frm->acceptechecktypes); } ?>

enrol_cost:
.
enrol_currency: enrol_currency, "","", "") ?>

  
an_login:
an_login)) ? ''.get_string('dataentered', 'enrol_authorize').'' : ''; ?>

*
an_tran_key:
an_tran_key)) ? ''.get_string('dataentered', 'enrol_authorize').'' : ''; ?>

#1
an_password:
an_password)) ? ''.get_string('dataentered', 'enrol_authorize').'' : ''; ?>

#2
delete_current: delete_current)) ?>


an_referer:
an_cutoff: an_cutoff_hour,$frm->an_cutoff_min),5); ?>
an_avs: an_avs)) ?>
an_authcode: an_authcode)) ?>
an_test: an_test)) ?>
accepts:

"); // blockquote breaks and
tags $acceptedccs = array_keys(get_list_of_creditcards()); $allccs = get_list_of_creditcards(true); foreach ($allccs as $key => $val) { echo "
  • "; print_checkbox('acceptccs[]', $key, in_array($key, $acceptedccs), $val); echo "
  • "; } echo(""); } elseif ($key == AN_METHOD_ECHECK) { print_checkbox('acceptmethods[]', AN_METHOD_ECHECK, in_array(AN_METHOD_ECHECK, $paymentmethodsenabled), get_string('method'.AN_METHOD_ECHECK,'enrol_authorize')); echo("
      "); // blockquote breaks and
      tags $echecktypesenabled = get_list_of_bank_account_types(); $allechecktypes = get_list_of_bank_account_types(true); foreach ($allechecktypes as $key) { echo "
    • "; print_checkbox('acceptechecktypes[]', $key, in_array($key, $echecktypesenabled), get_string('echeck'.strtolower($key),'enrol_authorize')); echo "
    • "; } echo("
    "); } } ?>

    an_review: an_review)) ?>
    an_capture_day:
    an_capture_day) ?>

    an_emailexpired:
    an_emailexpired) ?>
    an_emailexpiredteacher: an_emailexpiredteacher)) ?>
    an_sorttype: get_string('adminemailexpiredsortsum', 'enrol_authorize'), 'cnt' => get_string('adminemailexpiredsortcount', 'enrol_authorize')); choose_from_menu($sorts, "an_sorttype", $frm->an_sorttype, "","", "") ?>
    enrol_mailstudents: enrol_mailstudents)) ?>
    enrol_mailteachers: enrol_mailteachers)) ?>
    enrol_mailadmins: enrol_mailadmins)) ?>