mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
- 모듈 선택 팝업창에서 가상 사이트 검색 기능 삭제 - 게시판 모듈을 기본 선택 및 검색하도록 변경 (전에는 알파벳순으로 정렬되어 출석부 등 문서 이동에 적절하지 않은 모듈이 먼저 노출되는 불편이 있었음)
39 lines
1.6 KiB
HTML
39 lines
1.6 KiB
HTML
<load target="./js/module_admin.js" />
|
|
<div class="x_modal-header">
|
|
<h1>{$lang->module_selector}</h1>
|
|
</div>
|
|
<form action="./" method="get" class="x_modal-body x_form-horizontal" no-error-return-url="true" style="max-height:none">
|
|
<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}" />
|
|
|
|
<div class="x_control-group">
|
|
<div class="x_controls">
|
|
<select name="selected_module" id="selected_module">
|
|
<option loop="$mid_list => $key,$val" value="{$key}" selected="selected"|cond="$key == $selected_module">{$val->title}</option>
|
|
</select>
|
|
<input type="submit" value="{$lang->cmd_search}" class="x_btn" />
|
|
</div>
|
|
</div>
|
|
|
|
<!--@foreach($selected_mids as $category_name => $list)-->
|
|
<h2 cond="$category_name" style="margin-top:40px;">{$category_name}</h2>
|
|
<table class="x_table x_table-striped x_table-hover" style="border-top:1px dotted #ddd">
|
|
<thead>
|
|
<tr>
|
|
<th>{$lang->mid}</th>
|
|
<th>{$lang->browser_title}</th>
|
|
<th>{$type=='single'?$lang->cmd_select:$lang->cmd_insert}</th>
|
|
<tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr loop="$list => $mid_name,$module_info">
|
|
<td>{$mid_name}</td>
|
|
<td>{$module_info->browser_title}</td>
|
|
<td><a href="#" onclick="insertModule('{$id|escapejs}', {$module_info->module_srl}, '{$mid_name|escapejs}', '{$module_info->browser_title|escapejs}', {$type=='single'?'false':'true'}); return false;" class="button green"><span>{$type=='single'?$lang->cmd_select:$lang->cmd_insert}</span></a></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<!--@end-->
|
|
</form>
|