20 lines
1.3 KiB
PHP
20 lines
1.3 KiB
PHP
<?php
|
|
// 위젯 설정값 세팅
|
|
$parent_module=$d['attach']['parent_module']; // 첨부파일 사용하는 모듈
|
|
$parent_data=$d['attach']['parent_data']; // 해당 포스트 데이타 (수정시 필요)
|
|
$attach_module_theme=$d['attach']['theme']; // 첨부파일 테마
|
|
$attach_mode=$d['attach']['mod']; // list, main...
|
|
$attach_handler_file=$d['attach']['handler_file']; //파일첨부 실행 엘리먼트 button or 기타 엘리먼트 data-role="" 형태로 하는 것을 권고
|
|
$attach_handler_photo=$d['attach']['handler_photo']; // 사진첨부 실행 엘리먼트 button or 기타 엘리먼트 data-role="" 형태로 하는 것을 권고
|
|
$attach_handler_getModalList=$d['attach']['handler_getModalList']; // 첨부파일 리스트 호출 handler
|
|
$attach_object_type=$d['attach']['object_type']; // 첨부 대상에 따른 분류 : photo, file, link, video....
|
|
|
|
// 함수 인클루드
|
|
require_once $g['dir_attach_theme'].'/main.func.php';
|
|
require_once $g['dir_attach_theme'].'/_var.php'; // 테마변수 인클루드
|
|
?>
|
|
<!-- global css -->
|
|
<link href="<?php echo $g['url_attach_theme']?>/_main.css" rel="stylesheet">
|
|
<script src="<?php echo $g['url_attach_theme']?>/js/file-upload/fileuploader.js"></script>
|
|
<script src="<?php echo $g['url_attach_theme']?>/main.js"></script>
|