$templates.shared.doctype
{=
string profile_name = internal.profile_name;
node profile_node = "profiles." . profile_name;
string profile_label = node_value(subnode_by_name(profile_node, "label"));
if (contains(profile_label, "$")) then (profile_label = replace_all(profile_label, "$", "$"));
=}
{=
# -----------------
# get database info
# -----------------
get_database_info(profile_name, "volatile.database_info");
node db_info = "volatile.database_info";
debug_message("#### profile summary - database_info:\n" . node_as_string(db_info) . "\n");
string database_directory = "-";
string earliest_date_time = "-";
string latest_date_time = "-";
string last_operation = "-";
string last_modification_time_localtime = "-";
string log_format = "-";
if (subnode_exists(db_info, "database_directory")) then (
database_directory = node_value(subnode_by_name(db_info, "database_directory"));
# database_directory = replace_all(database_directory, "\\", "\\\\");
);
if (subnode_exists(db_info, "earliest_date_time")) then (
earliest_date_time = node_value(subnode_by_name(db_info, "earliest_date_time"));
);
if (subnode_exists(db_info, "latest_date_time")) then (
latest_date_time = node_value(subnode_by_name(db_info, "latest_date_time"));
);
if (subnode_exists(db_info, "last_operation")) then (
last_operation = node_value(subnode_by_name(db_info, "last_operation"));
if (contains(last_operation, "$")) then (last_operation = replace_all(last_operation, "$", "$"));
);
if (subnode_exists(db_info, "last_modification_time_localtime")) then (
last_modification_time_localtime = node_value(subnode_by_name(db_info, "last_modification_time_localtime"));
);
if (node_exists(profile_node . ".log.format.format_label")) then (
if (node_value(profile_node . ".log.format.format_label") ne "") then (
log_format = node_value(profile_node . ".log.format.format_label");
);
);
=}
$lang_stats.general.profile_label: |
$profile_label |
$lang_admin.database.info.database_label: |
$database_directory |
$lang_admin.database.info.last_modified_label: |
$last_modification_time_localtime |
$lang_admin.database.info.last_operation_label: |
$last_operation |
$lang_options.profile.log.format.format_label.label: |
$log_format |
$lang_admin.database.info.earliest_log_entry_label: |
$earliest_date_time |
$lang_admin.database.info.latest_log_entry_label: |
$latest_date_time |
{= expand(templates.shared.copyright); =}