$unused) { $print_required_array .= "required['$required'] = '". $all_fields[$required] . "';\n"; } $the_script = << EOQ; return $the_script; } function get_validate_upload_js () { global $mod_strings; $err_missing_required_fields = $mod_strings['ERR_MISSING_REQUIRED_FIELDS']; $lbl_select_file = $mod_strings['ERR_SELECT_FILE']; $lbl_custom = $mod_strings['LBL_CUSTOM']; $the_script = << EOQ; return $the_script; } /** function used to form the combo values with the available importable fields * @param array reference &$column_fields - reference of the column fields which will be like lastname=>1, etc where as the key is the field name based on the import module and value is 1 * @param int $colnum - column number * @param array reference &$required_fields - required fields of the import module * @param string $suggest_field - field to show as selected in the combo box * @param array $translated_fields - list of fields which are available to map * @param string $module - tablename for the import module * @return picklist $output - return the combo box ie., picklist with the fields which are available to map */ function getFieldSelect(&$column_fields,$colnum,&$required_fields,$suggest_field,$translated_fields,$module) { global $mod_strings; global $app_strings; global $outlook_contacts_field_map; require_once('include/database/PearDatabase.php'); global $adb; $output = "\n"; return $output; } function get_readonly_js () { ?>