<commit_before><load target="../../../member/skins/default/css/member.css" />
<include target="../../../member/skins/default/common_header.html" />
<div class="xm">

<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/ncenterlite/skins/default/userconfig/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
	<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>


<form ruleset="insertConfig" action="./" method="post" class="form-horizontal" id="fo_ncenterlite">
	<input type="hidden" name="module" value="ncenterlite" />
	<input type="hidden" name="act" value="procNcenterliteUserConfig" />
	<input type="hidden" name="xe_validator_id" value="modules/ncenterlite/skins/default/userconfig/1" />
	<input type="hidden" name="member_srl" value="{$member_srl}">
	<section class="section">
		<h1><block cond="$member_info">{@$user_str = $member_info->nick_name}</block>
			<block cond="!$member_info">{@$user_str = $logged_info->nick_name}</block>
			{@$title_str = Context::getLang('ncenterlite_userconfig_title')}
			{sprintf($title_str, $user_str)}
		</h1>

		<p>{$lang->ncenterlite_userconfig_about} <strong style="color:#ff0000" cond="$member_srl && $member_srl != $logged_info->member_srl">({$lang->ncenterlite_userconfig_about_warning})</strong></p>
		{@ $uc = get_object_vars($user_config)}
		<!--@foreach($notify_types as $notify_type => $notify_srl)-->
			<!--@if($notify_type !== 'admin_content' && $notify_type !== 'custom')-->
				<div class="control-group">
					<label class="x_control-label">{$lang->get('ncenterlite_type_' . $notify_type)}</label>
					<div class="x_controls">
						{@ $available = isset($module_config->use[$notify_type]['web']) && $module_config->use[$notify_type]['web'] !== 'N'}
						{@ $selected = in_array('web', $uc[$notify_type])}
						<label class="x_inline"><input type="checkbox" name="use[{$notify_type}][web]" value="1" disabled="disabled"|cond="!$available" checked="checked"|cond="$available && $selected" /> {$lang->cmd_web_notify}</label>
						{@ $available = isset($module_config->use[$notify_type]['mail']) && $module_config->use[$notify_type]['mail'] !== 'N'}
						{@ $selected = in_array('mail', $uc[$notify_type])}
						<label class="x_inline"><input type="checkbox" name="use[{$notify_type}][mail]" value="1" disabled="disabled"|cond="!$available" checked="checked"|cond="$available && $selected" /> {$lang->cmd_mail_notify}</label>
						<!--@if($sms_available)-->
							{@ $available = isset($module_config->use[$notify_type]['sms']) && $module_config->use[$notify_type]['sms'] !== 'N'}
							{@ $selected = in_array('sms', $uc[$notify_type])}
							<label class="x_inline"><input type="checkbox" name="use[{$notify_type}][sms]" value="1" disabled="disabled"|cond="!$available" checked="checked"|cond="$available && $selected" /> {$lang->cmd_sms_notify}</label>
						<!--@endif-->
						<!--@if($push_available)-->
							{@ $available = isset($module_config->use[$notify_type]['push']) && $module_config->use[$notify_type]['push'] !== 'N'}
							{@ $selected = in_array('push', $uc[$notify_type])}
							<label class="x_inline"><input type="checkbox" name="use[{$notify_type}][push]" value="1" disabled="disabled"|cond="!$available" checked="checked"|cond="$available && $selected" /> {$lang->cmd_push_notify}</label>
						<!--@endif-->
						<p class="help-block">{sprintf($lang->get('ncenterlite_' . $notify_type . '_noti_about'), $logged_info->nick_name)}</p>
					</div>
				</div>
			<!--@endif-->
		<!--@endforeach--><commit_msg>Fix error in ncenterlite userconfig in PHP8.0<commit_after><load target="../../../member/skins/default/css/member.css" />
<include target="../../../member/skins/default/common_header.html" />
<div class="xm">

<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/ncenterlite/skins/default/userconfig/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
	<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>


<form ruleset="insertConfig" action="./" method="post" class="form-horizontal" id="fo_ncenterlite">
	<input type="hidden" name="module" value="ncenterlite" />
	<input type="hidden" name="act" value="procNcenterliteUserConfig" />
	<input type="hidden" name="xe_validator_id" value="modules/ncenterlite/skins/default/userconfig/1" />
	<input type="hidden" name="member_srl" value="{$member_srl}">
	<section class="section">
		<h1><block cond="$member_info">{@$user_str = $member_info->nick_name}</block>
			<block cond="!$member_info">{@$user_str = $logged_info->nick_name}</block>
			{@$title_str = Context::getLang('ncenterlite_userconfig_title')}
			{sprintf($title_str, $user_str)}
		</h1>

		<p>{$lang->ncenterlite_userconfig_about} <strong style="color:#ff0000" cond="$member_srl && $member_srl != $logged_info->member_srl">({$lang->ncenterlite_userconfig_about_warning})</strong></p>
		{@ $uc = get_object_vars($user_config)}
		<!--@foreach($notify_types as $notify_type => $notify_srl)-->
			<!--@if($notify_type !== 'admin_content' && $notify_type !== 'custom')-->
				<div class="control-group">
					<label class="x_control-label">{$lang->get('ncenterlite_type_' . $notify_type)}</label>
					<div class="x_controls">
						{@ $available = isset($module_config->use[$notify_type]['web']) && $module_config->use[$notify_type]['web'] !== 'N'}
						{@ $selected = (is_array($uc[$notify_type]) && in_array('web', $uc[$notify_type]))}
						<label class="x_inline"><input type="checkbox" name="use[{$notify_type}][web]" value="1" disabled="disabled"|cond="!$available" checked="checked"|cond="$available && $selected" /> {$lang->cmd_web_notify}</label>
						{@ $available = isset($module_config->use[$notify_type]['mail']) && $module_config->use[$notify_type]['mail'] !== 'N'}
						{@ $selected = (is_array($uc[$notify_type]) && in_array('mail', $uc[$notify_type]))}
						<label class="x_inline"><input type="checkbox" name="use[{$notify_type}][mail]" value="1" disabled="disabled"|cond="!$available" checked="checked"|cond="$available && $selected" /> {$lang->cmd_mail_notify}</label>
						<!--@if($sms_available)-->
							{@ $available = isset($module_config->use[$notify_type]['sms']) && $module_config->use[$notify_type]['sms'] !== 'N'}
							{@ $selected = (is_array($uc[$notify_type]) && in_array('sms', $uc[$notify_type]))}
							<label class="x_inline"><input type="checkbox" name="use[{$notify_type}][sms]" value="1" disabled="disabled"|cond="!$available" checked="checked"|cond="$available && $selected" /> {$lang->cmd_sms_notify}</label>
						<!--@endif-->
						<!--@if($push_available)-->
							{@ $available = isset($module_config->use[$notify_type]['push']) && $module_config->use[$notify_type]['push'] !== 'N'}
							{@ $selected = (is_array($uc[$notify_type]) && in_array('push', $uc[$notify_type]))}
							<label class="x_inline"><input type="checkbox" name="use[{$notify_type}][push]" value="1" disabled="disabled"|cond="!$available" checked="checked"|cond="$available && $selected" /> {$lang->cmd_push_notify}</label>
						<!--@endif-->
						<p class="help-block">{sprintf($lang->get('ncenterlite_' . $notify_type . '_noti_about'), $logged_info->nick_name)}</p>
					</div>
				</div>
			<!--@endif-->
		<!--@endforeach-->
{'fraction_non_alphanumeric': 0.23638648422228428, 'fraction_numerical': 0.0036302708740575257, 'mean_word_length': 6.177354709418838, 'pattern_counts': {'":': 0, '<': 105, '<?xml version=': 0, '>': 147, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '523044', 'n_tokens_mistral': 2704, 'n_tokens_neox': 2398, 'n_words': 307}