$templates.shared.doctype {= include "templates.shared.util.build_database_info_table"; include "templates.shared.util.encode_html"; # Note, this template is only active in the Lite version! string profile_name = internal.profile_name; string profile_label = node_value(subnode_by_name("profiles." . profile_name, "label")); '\n'; '\n'; 'Profiles\n'; expand(templates.shared.content_type); '\n'; '\n'; =}
{= ''; ''; ''; ''; '
' . lang_stats.general.profiles_label . ' / ' . profile_label . '
\n'; # ---------- # log source # ---------- string log_source_name = node_name(subnode_by_number("profiles." . profile_name . ".log.source", 0)); node log_source_node = subnode_by_number("profiles." . profile_name . ".log.source", 0); string log_source_type = node_value(subnode_by_name(log_source_node, "type")); string log_source_info; string log_source_label; # string param1 = profile_label; if (log_source_type eq "local") then ( log_source_info = lang_admin.profiles_config.log_source_local_disk_info; log_source_label = lang_admin.profiles_config.log_source_local_disk_label; ) else ( log_source_info = lang_admin.profiles_config.log_source_ftp_info; log_source_label = lang_admin.profiles_config.log_source_ftp_label; ); ''; ''; ''; ''; ''; '
' . lang_admin.profiles_config.log_source_label . ''; `` . lang_admin.profiles_config.edit_log_source_label . ``; '
\n'; '

' . log_source_info . '

\n'; '\n'; '\n'; # '\n'; '\n'; '\n'; if (log_source_type eq "local") then ( # bool local_process_subdir = false; NOT USED IN LITE # bool local_pattern_is_reg_expr = false; NOT USED IN LITE string local_pathname = node_value(subnode_by_name(log_source_node, "pathname")); local_pathname = convert_local_code_page_to_utf8(local_pathname); '\n'; '\n'; '\n'; '\n'; ) else ( # bool ftp_pattern_is_reg_expr = false; NOT USED IN LITE string ftp_username = node_value(subnode_by_name(log_source_node, "username")); string ftp_password = node_value(subnode_by_name(log_source_node, "password")); string ftp_hostname = node_value(subnode_by_name(log_source_node, "hostname")); string ftp_pathname = node_value(subnode_by_name(log_source_node, "pathname")); bool ftp_use_passive = false; if (subnode_exists(log_source_node, "use_passive")) then ( ftp_use_passive = node_value(subnode_by_name(log_source_node, "use_passive")); ); int password_char_length = length(ftp_password); int count = 0; ftp_password = ""; while (count < password_char_length) ( ftp_password .= "*"; count++; ); '\n'; '\n'; '\n'; '\n'; '\n'; '\n'; '\n'; '\n'; '\n'; '\n'; '\n'; '\n'; '\n'; '\n'; '\n'; '\n'; '\n'; '\n'; ); '
' . lang_options.profile.log.source.type.label . ':' . log_source_label . '
' . lang_options.profile.log.source.type.local.pathname.label . ':' . encode_html(local_pathname) . '
' . lang_options.profile.log.source.type.ftp.hostname.label . ':' . encode_html(ftp_hostname) . '
' . lang_options.profile.log.source.type.ftp.username.label . ':' . encode_html(ftp_username) . '
' . lang_options.profile.log.source.type.ftp.password.label . ':' . ftp_password . '
' . lang_options.profile.log.source.type.ftp.pathname.label . ':' . encode_html(ftp_pathname) . '
'; ' '; lang_options.profile.log.source.type.ftp.use_passive.label; '\n'; '
\n'; # --------------- # log format info # --------------- string param1 = "" . node_value("profiles." . profile_name . ".log.format.format_label") . ""; string log_format_info = expand(lang_admin.profiles_config.log_format_info); ''; ''; ''; ''; '
' . lang_admin.profiles_config.log_format_label . '
\n'; '

' . log_format_info . '

\n'; # ------------- # database info # ------------- ''; ''; ''; ''; ''; ''; '
' . lang_admin.profiles_config.database_info_label . ''; '' . lang_admin.database.rebuild.rebuild_database_button . ''; '
\n'; get_database_info(profile_name, "volatile.database_info"); node database_info_node = "volatile.database_info"; bool database_built = node_value(subnode_by_name(database_info_node, "built")); if (database_built) then ( # Show database info '
\n'; build_database_info_table(database_info_node); ) else ( '

' . lang_admin.profiles_config.no_database_exists_info . '

\n'; ); expand(templates.shared.copyright); =}