$templates.shared.doctype
{=
include "templates.shared.util.bytes_unit.get_bytes_text";
string profile_name = internal.profile_name;
=}
{=
# ---------------------------------
# subroutine build_alphanumeric_row
# ---------------------------------
subroutine(build_alphanumeric_row(node the_node, string the_subnode, string type), (
string value_text = node_value(subnode_by_name(the_node, the_subnode));
if (type eq "bytes") then (
value_text = get_bytes_text(value_text);
);
if (the_subnode eq "date_offset") then (
value_text = value_text . " " . lang_options.profile.log.processing.date_offset.unit_label;
);
'
';
'' . node_value("lang_options.profile.log.processing." . the_subnode . ".label") . ': | ';
'' . value_text . ' | ';
'
\n';
));
# ----------------------------
# subroutine build_boolean_row
# ----------------------------
subroutine(build_boolean_row(node the_node, string the_subnode), (
bool checked = node_value(subnode_by_name(the_node, the_subnode));
'
';
'';
' ';
node_value("lang_options.profile.log.processing." . the_subnode . ".label");
' | ';
'
\n';
));
node log_processing_node = "profiles." . profile_name . ".log.processing";
'
\n';
build_alphanumeric_row(log_processing_node, "date_offset", "");
build_alphanumeric_row(log_processing_node, "threads", "");
build_alphanumeric_row(log_processing_node, "thread_data_block_size", "bytes");
build_alphanumeric_row(log_processing_node, "read_block_size", "bytes");
build_alphanumeric_row(log_processing_node, "log_entry_pool_size", "");
# '
\n';
# '
\n';
expand(templates.shared.copyright);
=}