Loading uc_rbkmoney.module +2 −4 Original line number Diff line number Diff line Loading @@ -71,12 +71,11 @@ function uc_rbkmoney_setup() { '#description' => t("ID of your site"), '#required' => TRUE, ); $curr = variable_get('uc_rbkmoney_recipientCurrency', 'RUR'); $form['recipientCurrency'] = array( '#type' => 'select', '#title' => t('Payments currency'), '#options' => array('RUR' => 'RUR', 'USD' => 'USD', 'EUR' => 'EUR', 'UAH' => 'UAH'), '#default_value' => $curr, '#default_value' => variable_get('uc_rbkmoney_recipientCurrency', 'RUR'), '#description' => t("Please, select payments currency"), '#required' => TRUE, ); Loading @@ -99,12 +98,10 @@ function uc_rbkmoney_setup() { '#collapsed' => TRUE, '#title' => t('Advanced options of protocol') ); $pref = variable_get('uc_rbkmoney_preference', 'all'); $form['preference']['method'] = array( '#type' => 'select', '#title' => t('Prefered payment method'), '#options' => array( $pref => '', 'all' => t('All (default)'), 'inner' => t('RBK Money wallet'), 'bankCard' => t('Visa/MasterCard bank card'), Loading @@ -120,6 +117,7 @@ function uc_rbkmoney_setup() { 'ibank' => t('Internert banking'), 'euroset' => t('Euroset') ), '#default_value' => variable_get('uc_rbkmoney_preference', 'all'), '#description' => t("Default payment method. Allow to skip payment selection page"), ); $form['submit'] = array( Loading Loading
uc_rbkmoney.module +2 −4 Original line number Diff line number Diff line Loading @@ -71,12 +71,11 @@ function uc_rbkmoney_setup() { '#description' => t("ID of your site"), '#required' => TRUE, ); $curr = variable_get('uc_rbkmoney_recipientCurrency', 'RUR'); $form['recipientCurrency'] = array( '#type' => 'select', '#title' => t('Payments currency'), '#options' => array('RUR' => 'RUR', 'USD' => 'USD', 'EUR' => 'EUR', 'UAH' => 'UAH'), '#default_value' => $curr, '#default_value' => variable_get('uc_rbkmoney_recipientCurrency', 'RUR'), '#description' => t("Please, select payments currency"), '#required' => TRUE, ); Loading @@ -99,12 +98,10 @@ function uc_rbkmoney_setup() { '#collapsed' => TRUE, '#title' => t('Advanced options of protocol') ); $pref = variable_get('uc_rbkmoney_preference', 'all'); $form['preference']['method'] = array( '#type' => 'select', '#title' => t('Prefered payment method'), '#options' => array( $pref => '', 'all' => t('All (default)'), 'inner' => t('RBK Money wallet'), 'bankCard' => t('Visa/MasterCard bank card'), Loading @@ -120,6 +117,7 @@ function uc_rbkmoney_setup() { 'ibank' => t('Internert banking'), 'euroset' => t('Euroset') ), '#default_value' => variable_get('uc_rbkmoney_preference', 'all'), '#description' => t("Default payment method. Allow to skip payment selection page"), ); $form['submit'] = array( Loading