|
|
@ -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');
|
|
|
|