<td class="dataTableConfig col-middle"><?php echo xtc_draw_pull_down_menu('config[flow_config][landing_page_type]', $landingpage_array, ''); ?> </td> <td class="dataTableConfig col-right"><?php echo TEXT_PAYPAL_PROFILE_PAGE_INFO; ?> </td> </tr> <tr> <td class="dataTableConfig col-left"><?php echo TEXT_PAYPAL_PROFILE_ADDRESS; ?> </td> <td class="dataTableConfig col-middle"><?php echo draw_on_off_selection('config[input_fields][address_override]', $status_array, false); ?> </td> <td class="dataTableConfig col-right"><?php echo TEXT_PAYPAL_PROFILE_ADDRESS_INFO; ?> </td> </tr> <tr> <td class="txta-r" colspan="3" style="border:none;"> <a class="button" href="<?php echo xtc_href_link(basename($PHP_SELF)); ?> "><?php echo BUTTON_CANCEL; ?>
</tr> <?php for ($p = 0, $x = sizeof($module_array); $p < $x; $p++) { $module_name = substr($module_array[$p], 0, -4); if (!in_array($module_name, $payment_array) && !in_array($module_name, $payment_disallowed_array)) { if (file_exists(DIR_FS_LANGUAGES . $_SESSION['language'] . '/modules/payment/' . $module_array[$p])) { include_once DIR_FS_LANGUAGES . $_SESSION['language'] . '/modules/payment/' . $module_array[$p]; } ?> <tr> <td class="dataTableConfig col-left"><?php echo strip_tags(constant('MODULE_PAYMENT_' . strtoupper($module_name) . '_TEXT_TITLE')) . '<br/>(' . $module_array[$p] . ')'; ?> </td> <td class="dataTableConfig col-middle"><?php echo draw_on_off_selection('config[thirdparty][' . $module_name . ']', $status_array, in_array($module_name, $thirdparty_module) ? true : false); ?> </td> <td class="dataTableConfig col-right"> <?php for ($i = 0, $n = sizeof($languages); $i < $n; $i++) { echo '<div style="float:left;margin-right:5px;">' . xtc_image(DIR_WS_LANGUAGES . $languages[$i]['directory'] . '/admin/images/' . $languages[$i]['image']) . '</div>'; echo xtc_draw_textarea_field('config[description][' . strtoupper($module_name . '_' . $languages[$i]['code']) . ']', '', '55', '8', $paypal->get_config(strtoupper($module_name . '_' . $languages[$i]['code'])), 'style="display:block;"'); } ?> </td> </tr> <?php } } }
<td class="dataTableConfig col-middle"><?php echo xtc_draw_pull_down_menu('config[PAYPAL_ORDER_STATUS_REFUNDED_ID]', $orders_statuses, $paypal->get_config('PAYPAL_ORDER_STATUS_REFUNDED_ID')); ?> </td> <td class="dataTableConfig col-right"><?php echo TEXT_PAYPAL_CONFIG_STATE_REFUNDED_INFO; ?> </td> </tr> <tr> <td class="dataTableConfig col-left"><?php echo TEXT_PAYPAL_CONFIG_LOG; ?> </td> <td class="dataTableConfig col-middle"><?php echo draw_on_off_selection('config[PAYPAL_LOG_ENALBLED]', $status_array, $paypal->get_config('PAYPAL_LOG_ENALBLED') == 1 ? true : false); ?> </td> <td class="dataTableConfig col-right"><?php echo TEXT_PAYPAL_CONFIG_LOG_INFO; ?> </td> </tr> <tr> <td class="dataTableConfig col-left"><?php echo TEXT_PAYPAL_CONFIG_LOG_LEVEL; ?> </td> <td class="dataTableConfig col-middle"><?php echo xtc_draw_pull_down_menu('config[PAYPAL_LOG_LEVEL]', $log_level_array, $paypal->get_config('PAYPAL_LOG_LEVEL')); ?>