# # # # # get_log_source_component.cfv # This returns the log_sourrce HTML table used in new profile wizard # and in config. # # # subroutine(get_log_source_component( bool is_msie_v6, string licensing_tier, bool is_config), ( bool is_lite = (licensing_tier eq "lite"); # build log source options node item; node log_source_types = "templates.util.list_structures.log_source_types"; string log_source_type_options_list; string log_source_type; bool hide_odbc_items; foreach item log_source_types ( log_source_type = node_name(item); hide_odbc_items = ((log_source_type eq "odbc_mssql" or log_source_type eq 'odbc_oracle') and !internal.HAVE_ODBC); if ((!is_lite or @item{"show_in_lite"}) and !hide_odbc_items) then ( if (node_name(item) ne "local") then ( log_source_type_options_list .= ''; ) else ( log_source_type_options_list .= ''; ); ); ); # Handle field samples string local_pathname_field_info; string ftp_pathname_field_info; if (_PLATFORM eq "UNIX") then ( local_pathname_field_info = lang_admin.log_source.type.local.pathname.unix_info; ftp_pathname_field_info = lang_admin.log_source.type.ftp.pathname.unix_info; ) else ( local_pathname_field_info = lang_admin.log_source.type.local.pathname.windows_info; ftp_pathname_field_info = lang_admin.log_source.type.ftp.pathname.windows_info; ); string table_class_name = if (is_config) then ("item-form") else ("field-box"); ''; ''; if (is_config) then ( ''; ''; ''; ''; ); ''; ''; ''; ''; ''; # # # # log_source group: hostname, username, password # used in: ftp, sftp # # # ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; # # # # log_source group: pathname, file_mask, pattern_is_regular_expression # used in: local, ftp, sftp # # # ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; # Add spacer row in Lite because the next two rows wont exist in Lite # if (is_lite) then ( # ''; # ''; # ''; # ''; # ); ''; # # # # log_source group: file_mask, pattern_is_regular_expression # used in: local, ftp, sftp # # # ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; # # # # log_source group: process_subdirectories # used in: local, ftp, sftp # # # ''; ''; ''; ''; ''; ''; # # # # log_source group: use_passive # used in: ftp # # # ''; ''; ''; ''; ''; ''; # # # # log_source_page - http # # # ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; # # # # log_source_page - odbc # # # ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; # # # # log_source_page - command # # # ''; ''; ''; ''; ''; ''; ''; ''; ''; ''; # # # # common # # # # KHP 02/FEB/2011 - Removed real_time_processing because it is on the wrong page and generally confusing, ''; ''; ''; ''; ''; ''; '
' . lang_admin.log_source.name . ':'; ''; '
'; '
' . lang_admin.log_source.log_source . ':'; ''; '
'; ));