$templates.shared.doctype {= include "templates.admin.preferences.util.build_view_row"; include "templates.shared.util.get_licensing_features"; string licensing_features = get_licensing_features(); =} {= expand(templates.shared.content_type); =}
$lang_admin.preferences.miscellaneous.label $lang_admin.preferences.miscellaneous.edit_label
{= # Make sure that the charset node in preferences exist # if it does not yet exist then set it now. # If language is set to japanese make sure that the charset # is set to EUC-JP, if it is not yet set then set it now. # Changes in 7.2, EUC-JP will be replaced with UTF-8 if (node_exists("preferences.miscellaneous.charset") and (preferences.miscellaneous.charset ne "")) then ( if (preferences.miscellaneous.language eq "japanese") then ( if (preferences.miscellaneous.charset ne "UTF-8") then ( preferences.miscellaneous.charset = "UTF-8"; save_node("preferences"); ); ); ); else ( if (preferences.miscellaneous.language ne "japanese") then ( if (node_exists("lang_stats.charset") and (lang_stats.charset ne "")) then ( preferences.miscellaneous.charset = lang_stats.charset; ) else ( preferences.miscellaneous.charset = "UTF-8"; ); ) else ( preferences.miscellaneous.charset = "UTF-8"; ); save_node("preferences"); ); '\n'; build_view_row("miscellaneous.language", "string"); build_view_row("miscellaneous.charset", "string"); build_view_row("miscellaneous.temporary_files_lifespan", "string"); build_view_row("miscellaneous.logout_url", "string"); if (licensing_features ne "lite") then ( build_view_row("miscellaneous.never_look_up_ip_numbers", "bool"); build_view_row("miscellaneous.only_look_up_log_ip_numbers", "bool"); ); if (node_exists("preferences.miscellaneous.talkback") and node_exists("lang_options.preferences.miscellaneous.talkback.label")) then ( build_view_row("miscellaneous.talkback", "bool"); ); '
\n'; expand(templates.shared.copyright); '
\n'; =}