Merge branch 'master' of gitee.com:hainatravel/information-system

hotfix/远程访问多媒体中心
cyc 7 years ago
commit 487dbb0059

@ -450,6 +450,9 @@
height: '560px', height: '560px',
//fileManagerJson:'/js/kcfinder/browse.php', //fileManagerJson:'/js/kcfinder/browse.php',
//allowFileManager:true, //allowFileManager:true,
afterCreate: function() {
editor.readonly(<?php echo(get_meta($information->ic_id, 'AMP_BODY_PC_STATUS') === 'yes' ? 'true' : 'false'); ?>);
},
filterMode: false, filterMode: false,
allowImageUpload: false, allowImageUpload: false,
items: [ items: [
@ -465,9 +468,6 @@
} }
}); });
}); });
//新闻日历 //新闻日历
$(function () { $(function () {
$("#meta_news_createdate").datepicker({ $("#meta_news_createdate").datepicker({
@ -557,7 +557,13 @@
<script type="text/javascript"> <script type="text/javascript">
$('#PcAmp input').on('change', function(){ $('#PcAmp input').on('change', function(){
var checked = $(this).is(':checked'); var checked = $(this).is(':checked');
checked ? meta('save', '<?php echo $information->ic_id; ?>', 'AMP_BODY_PC_STATUS', 'yes') : meta('save', '<?php echo $information->ic_id; ?>', 'AMP_BODY_PC_STATUS', 'no'); if(checked) {
meta('save', '<?php echo $information->ic_id; ?>', 'AMP_BODY_PC_STATUS', 'yes');
editor.readonly(true);
} else {
meta('save', '<?php echo $information->ic_id; ?>', 'AMP_BODY_PC_STATUS', 'no');
editor.readonly(false);
}
}); });
</script> </script>
<?php } ?> <?php } ?>

Loading…
Cancel
Save