#18240064 통합검색 모듈의 기능 추가

모듈 선택을 모듈 선택기로 대체
선택된 모듈을 검색할지 혹은 검색에서 제외할지 정하는 옵션 추가



git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6752 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-08-19 06:19:43 +00:00
parent dadcfc7c6a
commit 7421cfd5e8
27 changed files with 119 additions and 93 deletions

View file

@ -1,18 +1,20 @@
<!--#include("header.html")-->
<!--%import("filter/insert_config.xml")-->
<!--%import("../../widget/tpl/js/widget_admin.js")-->
<form action="./" method="get" onsubmit="return procFilter(this, insert_config)">
<input type="hidden" name="target_module_srl" id="target_module_srl" value="{$config->target_module_srl}" />
<table cellspacing="0" class="rowTable">
<tr class="row2">
<th scope="row"><div>{$lang->sample_code}</div></th>
<td colspan="2" class="wide">
<td class="wide">
<textarea class="inputTypeTextArea fullWidth" readonly="readonly">{$sample_code}</textarea>
<p>{$lang->about_sample_code}</p>
</td>
</tr>
<tr>
<th scope="row"><div>{$lang->skin}</div></th>
<td colspan="2">
<td>
<select name="skin">
<!--@foreach($skin_list as $key=>$val)-->
<option value="{$key}" <!--@if($config->skin==$key)-->selected="selected"<!--@end-->>{$val->title}</option>
@ -22,30 +24,23 @@
</td>
</tr>
<tr class="row2">
<td colspan="3"><input type="checkbox" onclick="XE.checkboxToggleAll('target_mid'); return false;" /> {$lang->about_target_module}</td>
</tr>
<!--@foreach($mid_list as $module_category_srl => $modules)-->
<!--@if($modules->title)-->
<tr>
<th rowspan="{count($modules->list)+1}"><div>{$modules->title}</div></th>
<!--@if(count($modules->list)<1)--><td colspan="2">&nbsp;</td><!--@end-->
</tr>
<!--@else-->
<tr>
<th rowspan="{count($modules->list)+1}"><div>&nbsp;</div></th>
<!--@if(count($modules->list)<1)--><td colspan="2">&nbsp;</td><!--@end-->
</tr>
<!--@end-->
<!--@foreach($modules->list as $key => $val)-->
<tr class="row{$cycle_idx}">
<td>{$val->module}</td>
<th scope="row"><div>{$lang->target}</div></th>
<td>
<input type="checkbox" name="target_mid" value="{$key}" id="target_mid_{$key}" <!--@if(in_array($key,$config->target_mid))-->checked="checked"<!--@end--> />
<label for="target_mid_{$key}">{$val->browser_title} ({$val->mid})</label>
<select name="target">
<option value="include">{$lang->include_search_target}</option>
<option value="exclude" <!--@if($config->target=='exclude')-->selected="selected"<!--@end-->>{$lang->exclude_search_target}</option>
</select>
<select name="_target_module_srl" id="_target_module_srl" size="8" class="w200" style="display:block;margin:10px 0;"></select>
<a href="{getUrl('','module','module','act','dispModuleSelectList','id','target_module_srl')}" onclick="popopen(this.href, 'ModuleSelect');return false;" class="button blue"><span>{$lang->cmd_insert}</span></a></li>
<a href="#" onclick="midRemove('target_module_srl');return false;" class="button red"><span>{$lang->cmd_delete}</span></a></li>
<script type="text/javascript">
doAddWindowLoadEventLoader( function() { getModuleSrlList('target_module_srl'); } );
</script>
</td>
</tr>
<!--@end-->
<!--@end-->
<tr class="row2">
<th class="button" colspan="3">
<span class="button black strong"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>