|
|
@ -538,17 +538,25 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$amp_build_url = "/amp_app/?icid=" . $information->ic_id . "&is_path=" . $information->is_path . "&usr=" . urlencode($amp_user['OPI_Name']) . "&url=" . urlencode($information->ic_url) . "&photo=" . urlencode($amp_photo) . "&site=" . urlencode($this->config->item('site_url')) . "&imgurl=" . urlencode($this->config->item('site_image_url'));
|
|
|
|
$amp_build_url = "/amp_app/?icid=" . $information->ic_id . "&is_path=" . $information->is_path . "&usr=" . urlencode($amp_user['OPI_Name']) . "&url=" . urlencode($information->ic_url) . "&photo=" . urlencode($amp_photo) . "&site=" . urlencode($this->config->item('site_url')) . "&imgurl=" . urlencode($this->config->item('site_image_url'));
|
|
|
|
?>
|
|
|
|
?>
|
|
|
|
<?php if (is_series_site()) { ?>
|
|
|
|
<?php if (is_series_site()) {
|
|
|
|
|
|
|
|
if (get_meta($information->ic_id, 'AMP_BODY_PC_STATUS') == 'yes') {
|
|
|
|
|
|
|
|
$PcAmpChecked = 'checked';
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
$PcAmpChecked = '';
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|
|
|
|
<style type="text/css">#PcAmp{color:#069;cursor: pointer;}#PcAmp input{position: relative;top: 2px;}</style>
|
|
|
|
<style type="text/css">#PcAmp{color:#069;cursor: pointer;}#PcAmp input{position: relative;top: 2px;}</style>
|
|
|
|
<label id="PcAmp">
|
|
|
|
<label id="PcAmp">
|
|
|
|
<input type="checkbox"> PC端页面也使用构建工具发布
|
|
|
|
<input type="checkbox" <?php echo($PcAmpChecked); ?>>
|
|
|
|
|
|
|
|
PC端页面也使用构建工具发布
|
|
|
|
</label> |
|
|
|
|
</label> |
|
|
|
|
<label title="AMP页面编辑">
|
|
|
|
<label title="AMP页面编辑">
|
|
|
|
<a href="<?php echo($amp_build_url); ?>" target="_blank"> AMP构建工具 </a>
|
|
|
|
<a href="<?php echo($amp_build_url); ?>" target="_blank"> AMP构建工具 </a>
|
|
|
|
</label> |
|
|
|
|
</label> |
|
|
|
|
<script type="text/javascript">
|
|
|
|
<script type="text/javascript">
|
|
|
|
$('#PcAmp input').on('change', function(){
|
|
|
|
$('#PcAmp input').on('change', function(){
|
|
|
|
|
|
|
|
var checked = $(this).is(':checked');
|
|
|
|
|
|
|
|
checked ? meta('save', '<?php echo $information->ic_id; ?>', 'AMP_BODY_PC_STATUS', 'yes') : meta('save', '246006647', 'AMP_BODY_PC_STATUS', 'no');
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
<?php } ?>
|
|
|
|
<?php } ?>
|
|
|
|