$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';
'
{=
'\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;
);
'\n';
'
' . log_source_info . '
\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);
'\n';
'
' . log_format_info . '
\n';
# -------------
# database info
# -------------
'\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);
=}