mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
# 기본 팝업창 스타일 수정. - 바뀐 관리자 페이지 스타일과 통일성 유지. - 임시 저장 글 불러오는 팝업 창 스타일 조정 - 팝업창 크기 계산 함수 조정 - 폭을 먼저 확정한 다음 높이를 계산하도록 순서 조정 - 위젯 수정 페이지 팝업 창 크기 계산 수정 - 창 너비를 자유롭게 바꿀 수 있기 때문에, `.popup` 클래스를 가진 객체의 가로 폭을 자바스크립트가 강제로 변경하지 않도록 수정. (초기 가로 폭은 정확히 계산하여서 기존과 동일하게 맞춤) - 라이믹스 문법에 맞춤 - `jQuery` 를 `$` 로 쓸 수 있으므로 생략 가능한 구문 수정
75 lines
No EOL
3.3 KiB
HTML
75 lines
No EOL
3.3 KiB
HTML
<!--%import("filter/manage_checked_document.xml")-->
|
|
<load target="js/document_admin.js" />
|
|
{@Context::addMetaTag('viewport', 'width=device-width', FALSE);}
|
|
<form action="./" method="get" id="fo_management">
|
|
<input type="hidden" name="module" value="document" />
|
|
<input type="hidden" name="type" value="" />
|
|
<div class="x_modal-header">
|
|
<h1>{$lang->cmd_manage_document}</h1>
|
|
</div>
|
|
<div class="x_modal-body x_form-horizontal" style="max-height:none">
|
|
<!--@if(count($document_list)==0)-->
|
|
<p>{$lang->msg_not_selected_document}</p>
|
|
<!--@else-->
|
|
<div class="x_control-group">
|
|
<div class="x_control-label">{$lang->checked_count}({count($document_list)})</div>
|
|
<div class="x_controls">
|
|
<ul style="margin-top:5px">
|
|
<li class="document_list" loop="$document_list => $key, $document">
|
|
<input type="hidden" name="cart" value="{$document->document_srl}" />{$document->getTitle()} <i class="vr">|</i> {$document->getNickName()}
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="x_control-group">
|
|
<label class="x_control-label" for="_target_module">{$lang->move_target_module}</label>
|
|
<div class="x_controls">
|
|
<span class="x_input-append">
|
|
<input type="hidden" name="target_module" id="target_module" value="{$module_srl}" />
|
|
<input type="text" name="_target_module" id="_target_module" value="{$mid}({$browser_title})" readonly="readonly" />
|
|
<a href="{getUrl('','module','module','act','dispModuleSelectList','id','target_module','type','single')}" onclick="popopen(this.href,'ModuleSelect');return false;" class="x_btn">{$lang->cmd_select}</a>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<div class="x_control-group">
|
|
<label class="x_control-label" for="target_category">{$lang->category}</label>
|
|
<div class="x_controls">
|
|
<select id="target_category" name="target_category"></select>
|
|
</div>
|
|
</div>
|
|
<div class="x_control-group">
|
|
<label class="x_control-label" for="message_content">{$lang->cmd_send_message}</label>
|
|
<div class="x_controls" style="margin-right:14px">
|
|
<textarea name="message_content" id="message_content" rows="4" cols="42" style="width:100%"></textarea>
|
|
<label for="send_default_message" class="x_inline"><input type="checkbox" name="send_default_message" id="send_default_message" value="Y" checked="checked" /> {$lang->send_default_message}</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="x_modal-footer">
|
|
<span class="x_btn-group x_pull-left">
|
|
<button type="button" class="x_btn" onclick="doManageDocument('trash');">{$lang->cmd_trash}</button>
|
|
<button type="button" class="x_btn" onclick="doManageDocument('delete');">{$lang->cmd_delete}</button>
|
|
</span>
|
|
<span class="x_btn-group x_pull-right">
|
|
<button type="button" class="x_btn x_btn-inverse" onclick="doManageDocument('move');">{$lang->cmd_move}</button>
|
|
<button type="button" class="x_btn x_btn-inverse" onclick="doManageDocument('copy');">{$lang->cmd_copy}</button>
|
|
</span>
|
|
</div>
|
|
<!--@end-->
|
|
</form>
|
|
<script>
|
|
jQuery(function($){
|
|
var message_content_area = $('#message_content');
|
|
if($('#send_default_message').is(':checked'))
|
|
{
|
|
message_content_area.prop("disabled", true);
|
|
}
|
|
$('#send_default_message').change(function(){
|
|
if($(this).is(':checked')){
|
|
message_content_area.prop("disabled", true);
|
|
} else {
|
|
message_content_area.prop("disabled", false);
|
|
}
|
|
});
|
|
});
|
|
</script> |