<commit_before><load target="./js/module_admin.js" />
<h1 class="h1">{$lang->module_selector}</h1>
<form action="./" method="post">
	<input type="hidden" name="module" value="module" />
	<input type="hidden" name="act" value="dispModuleSelectList" />
	<input type="hidden" name="id" value="{$id}" />
	<input type="hidden" name="type" value="{$type}" />
	<input type="hidden" name="vid" value="{$vid}" />
	<div class="table">
		<table width="100%" border="1" cellspacing="0">
			<tbody>
				<!--@if($site_count && $logged_info->is_admin == 'Y')-->
				<tr>
					<th>{$lang->virtual_site}</th>
					<td>
						<input type="text" name="site_keyword" value="{$site_keyword}" /> <span class="button blue"><input type="submit" value="{$lang->cmd_search}" /></span>
						<p>{$lang->about_search_virtual_site}</p>
					</td>
				</tr>
				<!--@end-->
				<tr>
					<th>{$lang->module}</th>
					<td>
						<select name="selected_module">
							<!--@foreach($mid_list as $key=>$val)-->
							<option value="{$key}" <!--@if($selected_module == $key)-->selected="selected"<!--@end-->>{$val->title}</option>
							<!--@end-->
						</select><span class="button blue"><input type="submit" value="{$lang->cmd_search}" /></span>
					</td>
				</tr>
			</tbody>
		</table>
	</div>
	<div class="table">
		<table width="100%" border="1" cellspacing="0">
			<thead>
				<tr>
					<!--@if($module_category_exists)--><th>{$lang->module_category}</th><!--@end-->
					<th>{$lang->mid}</th>
					<th >{$lang->browser_title}</th>
					<th>{$type=='single'?$lang->cmd_select:$lang->cmd_insert}</th>
				<tr>
			</thead>
			<tbody>
				<!--@if($module_category_exists)-->
				<!--@foreach($selected_mids as $key => $val)-->
				<tr>
					<td rowspan="{count($val)}">{$key}&nbsp;</td>
					{@ $_idx =0; }
					<!--@foreach($val as $k => $v)-->
					<!--@if($_idx >0)--><tr><!--@end-->
						{@ $browser_title = str_replace("'", "\\'", htmlspecialchars($v->browser_title)); }
						<td>{$k}</td>
						<td>{$v->browser_title}</td>
						<td><a href="#" onclick="insertModule('{$id}', {$v->module_srl}, '{$k}', '{$browser_title}',{$type=='single'?'false':'true'}); return false;" class="button green"><span>{$type=='single'?$lang->cmd_select:$lang->cmd_insert}</span></a></td>
					<!--@if($_idx <count($val))--></tr><!--@end-->
			{@ $_idx ++; }
			<!--@end-->
			</tr>
			<!--@end-->
			<!--@else--><commit_msg>모듈 선택기에서 browser title 다국어 문제 수정<commit_after><load target="./js/module_admin.js" />
<h1 class="h1">{$lang->module_selector}</h1>
<form action="./" method="post">
	<input type="hidden" name="module" value="module" />
	<input type="hidden" name="act" value="dispModuleSelectList" />
	<input type="hidden" name="id" value="{$id}" />
	<input type="hidden" name="type" value="{$type}" />
	<input type="hidden" name="vid" value="{$vid}" />
	<div class="table">
		<table width="100%" border="1" cellspacing="0">
			<tbody>
				<!--@if($site_count && $logged_info->is_admin == 'Y')-->
				<tr>
					<th>{$lang->virtual_site}</th>
					<td>
						<input type="text" name="site_keyword" value="{$site_keyword}" /> <span class="button blue"><input type="submit" value="{$lang->cmd_search}" /></span>
						<p>{$lang->about_search_virtual_site}</p>
					</td>
				</tr>
				<!--@end-->
				<tr>
					<th>{$lang->module}</th>
					<td>
						<select name="selected_module">
							<!--@foreach($mid_list as $key=>$val)-->
							<option value="{$key}" <!--@if($selected_module == $key)-->selected="selected"<!--@end-->>{$val->title}</option>
							<!--@end-->
						</select><span class="button blue"><input type="submit" value="{$lang->cmd_search}" /></span>
					</td>
				</tr>
			</tbody>
		</table>
	</div>
	<div class="table">
		<table width="100%" border="1" cellspacing="0">
			<thead>
				<tr>
					<!--@if($module_category_exists)--><th>{$lang->module_category}</th><!--@end-->
					<th>{$lang->mid}</th>
					<th >{$lang->browser_title}</th>
					<th>{$type=='single'?$lang->cmd_select:$lang->cmd_insert}</th>
				<tr>
			</thead>
			<tbody>
				<!--@if($module_category_exists)-->
				<!--@foreach($selected_mids as $key => $val)-->
				<tr>
					<td rowspan="{count($val)}">{$key}&nbsp;</td>
					{@ $_idx =0; }
					<!--@foreach($val as $k => $v)-->
					<!--@if($_idx >0)--><tr><!--@end-->
						{@ $browser_title = str_replace("'", "\\'", escape($v->browser_title, false)); }
						<td>{$k}</td>
						<td>{$v->browser_title}</td>
						<td><a href="#" onclick="insertModule('{$id}', {$v->module_srl}, '{$k}', '{$browser_title}',{$type=='single'?'false':'true'}); return false;" class="button green"><span>{$type=='single'?$lang->cmd_select:$lang->cmd_insert}</span></a></td>
					<!--@if($_idx <count($val))--></tr><!--@end-->
			{@ $_idx ++; }
			<!--@end-->
			</tr>
			<!--@end-->
			<!--@else-->
{'fraction_non_alphanumeric': 0.29641218189403423, 'fraction_numerical': 0.006257822277847309, 'mean_word_length': 3.584130019120459, 'pattern_counts': {'":': 0, '<': 183, '<?xml version=': 0, '>': 225, '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': '3939537', 'n_tokens_mistral': 2122, 'n_tokens_neox': 1749, 'n_words': 270}