#450. 애드온에서 활성화 대상 모듈 선택 기능 추가. 애드온에서 권한 대상을 선택하는 것은 불필요하다고 판단. 관련하여 에디터 컴포넌트에서도 대상 모듈을 선택할 수 있도록 기능 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4123 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-04-21 04:58:18 +00:00
parent fb08c61fce
commit 1bbc3c1b9c
29 changed files with 184 additions and 48 deletions

View file

@ -1,4 +1,6 @@
<!--%import("css/editor.css")-->
<!--%import("css/editor_admin.css")-->
<!--%import("js/editor_admin.js")-->
<!--%import("filter/setup_component.xml")-->
<div id="popHeadder">
@ -38,12 +40,42 @@
<tr>
<th scope="row">{$lang->grant}</th>
<td>
<p>{$lang->about_component_grant}</p>
<!--@foreach($group_list as $key => $val)-->
<div class="fl"><input type="checkbox" name="target_group" value="{$key}" <!--@if(in_array($key, $component->target_group))-->checked="checked"<!--@end--> id="group_{$key}"> <label for="group_{$key}">{$val->title}</label> &nbsp;</div>
<!--@end-->
</td>
</tr>
<tr>
<th scope="row">
{$lang->module}
<input type="checkbox" onclick="checkboxSelectAll(this.form, 'mid_list'); return false;" />
</th>
<td>
<p>{$lang->about_component_mid}</p>
<!--@foreach($mid_list as $module_category_srl => $modules)-->
<div class="module_category_title">
<input type="checkbox" onclick="toggleSectionCheckBox(this, 'section_{$module_category_srl}');" />
<!--@if($modules->title)-->
{$modules->title}
<!--@else-->
&nbsp;
<!--@end-->
</div>
<div id="section_{$module_category_srl}">
<!--@foreach($modules->list as $key => $val)-->
<div class="module_list">
<input type="checkbox" value="{$key}" name="mid_list" id="chk_mid_list_{$key}" <!--@if(in_array($key, $component->mid_list))-->checked="checked"<!--@end--> />
<label for="chk_mid_list_{$key}">{$key} ({$val->browser_title})</label>
</div>
<!--@end-->
</div>
<!--@end-->
</td>
</tr>
</table>
</div>