first
This commit is contained in:
32
modules/post/themes/_desktop/bs4-default/view.php
Normal file
32
modules/post/themes/_desktop/bs4-default/view.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
include $g['dir_module_skin'].'_header.php';
|
||||
$formats = explode(',', $d['theme']['format']);array_unshift($formats,'');
|
||||
include $g['dir_module_skin'].'view_'.$formats[$R['format']].'.php';
|
||||
include $g['dir_module_skin'].'_footer.php';
|
||||
include $g['dir_module_skin'].'component.php';
|
||||
|
||||
if ($_perm['post_owner']) {
|
||||
include_once $g['dir_module'].'mod/_component.desktop.php';
|
||||
getImport('Chart.js','Chart.bundle.min','2.8.0','js');
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<script>
|
||||
|
||||
putCookieAlert('post_action_result') // 실행결과 알림 메시지 출력
|
||||
|
||||
$( document ).ready(function() {
|
||||
|
||||
$('[data-toggle="print"]').click(function() {
|
||||
window.print()
|
||||
});
|
||||
|
||||
$('[data-toggle="actionIframe"] , [data-act="actionIframe"]').click(function() {
|
||||
getIframeForAction('');
|
||||
frames.__iframe_for_action__.location.href = $(this).attr("data-url");
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
</script>
|
||||
Reference in New Issue
Block a user