|
|
|
@ -2,16 +2,6 @@
|
|
|
|
|
<script src="/js/ace/ace.js" type="text/javascript" charset="utf-8"></script>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
var content_length = 0;
|
|
|
|
|
|
|
|
|
|
function open_sl() {
|
|
|
|
|
if (!$('span[data-name=source]').hasClass('ke-selected')) {
|
|
|
|
|
$('span[data-name=source]').trigger('click');
|
|
|
|
|
}
|
|
|
|
|
$('textarea.ke-edit-textarea').addClass('lmrxedit');
|
|
|
|
|
var sl_url = '/lmrxedit/?template=<?php echo ($information->ic_template); ?>';
|
|
|
|
|
window.open(sl_url, "SL", "fullscreen=yes,top=0,left=0,scrollbars,scrollbars,height=" + (window.screen.availHeight - 50) + ",width=" + (window.screen.availWidth) + 10);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var setting = {
|
|
|
|
|
view: {expandSpeed: "",
|
|
|
|
|
dblClickExpand: true,
|
|
|
|
@ -549,7 +539,18 @@
|
|
|
|
|
$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()) { ?>
|
|
|
|
|
<label title="AMP页面编辑"><a href="<?php echo($amp_build_url); ?>" target="_blank">AMP构建工具</a></label> |
|
|
|
|
|
<style type="text/css">#PcAmp{color:#069;cursor: pointer;}#PcAmp input{position: relative;top: 2px;}</style>
|
|
|
|
|
<label id="PcAmp">
|
|
|
|
|
<input type="checkbox"> PC端页面也使用构建工具发布
|
|
|
|
|
</label> |
|
|
|
|
|
<label title="AMP页面编辑">
|
|
|
|
|
<a href="<?php echo($amp_build_url); ?>" target="_blank"> AMP构建工具 </a>
|
|
|
|
|
</label> |
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
$('#PcAmp input').on('change', function(){
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
<?php if ($information->amp_status === '1') { ?>
|
|
|
|
|
<label title="AMP页面编辑"><a href="<?php echo site_url('amp/edit/' . $information->ic_id); ?>" target="_blank"><i class="glyphicon glyphicon-flash"></i></a></label>
|
|
|
|
@ -590,8 +591,6 @@
|
|
|
|
|
<input class="form-control col-xs-24" type="text" id="ic_url" name="ic_url" value="<?php echo $information->ic_url; ?>" >
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-xs-24 edit_tool nopadding" style="margin-top:5px;">
|
|
|
|
|
<a href="http://europe.chtcdn.com/lmrxedit/%E6%A8%A1%E6%9D%BF%E5%B7%A5%E5%85%B7SOP.xlsx" title="国际站-模板编辑(新版)文档"><i class="glyphicon glyphtext-muted glyphicon glyphicon-education text-muted pull-right"></i></a>
|
|
|
|
|
<a href="javascript:void(0);" onclick="open_sl();" title="国际站-模板编辑(新版)"><i class="glyphicon glyphtext-muted glyphicon glyphicon-pencil text-muted pull-right"></i></a>
|
|
|
|
|
<i class="icon-stop icon-white pull-right"></i>
|
|
|
|
|
<i class="icon-stop icon-white pull-right" id="display_count">-</i>
|
|
|
|
|
</div>
|
|
|
|
@ -951,8 +950,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<?php if (is_series_site()) {
|
|
|
|
|
?>
|
|
|
|
|
<?php if (is_series_site()) { ?>
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<label>机票目的地
|
|
|
|
|