$templates.shared.doctype {= string profile_name = internal.profile_name; =} {= expand(templates.shared.content_type); =}
$lang_options.profile.database.fields.label  
{= node database_fields_node = "profiles." . profile_name . ".database.fields"; node database_field; string dbf_label = "-"; string dbf_type = "-"; string dbf_suppress_top = "-"; string dbf_suppress_bottom = "-"; foreach database_field database_fields_node ( if (subnode_exists(database_field, "label")) then ( dbf_label = node_value(subnode_by_name(database_field, "label")); ); if (subnode_exists(database_field, "type")) then ( dbf_type = node_value(subnode_by_name(database_field, "type")); ); if (subnode_exists(database_field, "suppress_top")) then ( dbf_suppress_top = node_value(subnode_by_name(database_field, "suppress_top")); ); if (subnode_exists(database_field, "suppress_bottom")) then ( dbf_suppress_bottom = node_value(subnode_by_name(database_field, "suppress_bottom")); ); # ---------------- # log field header # ---------------- '\n'; '\n'; '\n'; '\n'; '\n'; '\n'; print('\n'); '\n'; '
$dbf_label 
\n'; # --------------- # log field data # --------------- '\n'; '\n'; '\n'; '\n'; '\n'; '\n'; expand('\n'); expand('\n'); '\n'; '\n'; expand('\n'); expand('\n'); '\n'; '\n'; expand('\n'); expand('\n'); '\n'; '
$lang_options.profile.database.fields.type.label:$dbf_type
$lang_options.profile.database.fields.suppress_top.label:$dbf_suppress_top
$lang_options.profile.database.fields.suppress_bottom.label:$dbf_suppress_bottom
\n'; '
\n'; ); expand(templates.shared.copyright); =}