update editor v3

hotfix/远程访问多媒体中心
lmrwork 7 years ago
parent c54146d1ab
commit 6c1de801d3

@ -1293,10 +1293,12 @@
; ;
//保存增加AMP判断 - lmr //保存增加AMP判断 - lmr
<?php if (get_meta($information->ic_id, 'AMP_JSON') && get_meta($information->ic_id, 'AMP_STATUS') && get_meta($information->ic_id, 'AMP_BODY_PC_STATUS') !== 'yes') { ?> <?php if (get_meta($information->ic_id, 'AMP_JSON') && get_meta($information->ic_id, 'AMP_STATUS') && get_meta($information->ic_id, 'AMP_BODY_PC_STATUS') !== 'yes') { ?>
if (!$('#PcAmp input').is(':checked')) {
var amp_confirm = window.confirm('\n检测到页面存在AMP版本是否需要打开AMP编辑界面\n\r注意如果修改了PC端版本那么同时也需要修改AMP版本。\n'); var amp_confirm = window.confirm('\n检测到页面存在AMP版本是否需要打开AMP编辑界面\n\r注意如果修改了PC端版本那么同时也需要修改AMP版本。\n');
if (amp_confirm) { if (amp_confirm) {
window.open('<?php echo($amp_build_url); ?>', '_blank'); window.open('<?php echo($amp_build_url); ?>', '_blank');
} }
}
<?php } ?> <?php } ?>
if (information_check() != false) { if (information_check() != false) {
submitForm('form_information_edit'); submitForm('form_information_edit');

Loading…
Cancel
Save