|
|
@ -463,33 +463,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
var editor;
|
|
|
|
|
|
|
|
KindEditor.ready(function (K) {
|
|
|
|
|
|
|
|
editor = K.create('#ic_content', {
|
|
|
|
|
|
|
|
width: '100%',
|
|
|
|
|
|
|
|
height: '560px',
|
|
|
|
|
|
|
|
//fileManagerJson:'/js/kcfinder/browse.php',
|
|
|
|
|
|
|
|
//allowFileManager:true,
|
|
|
|
|
|
|
|
afterCreate: function() {
|
|
|
|
|
|
|
|
editor.readonly(<?php echo(get_meta($information->ic_id, 'AMP_BODY_PC_STATUS') === 'yes' ? 'true' : 'false'); ?>);
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
filterMode: false,
|
|
|
|
|
|
|
|
allowImageUpload: false,
|
|
|
|
|
|
|
|
items: [
|
|
|
|
|
|
|
|
'ace', '|', 'formatblock', 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold',
|
|
|
|
|
|
|
|
'italic', 'underline', 'strikethrough', 'lineheight', '|',
|
|
|
|
|
|
|
|
'justifyleft', 'justifycenter', 'justifyright', 'justifyfull', 'insertorderedlist', 'insertunorderedlist', 'indent', 'outdent', '|',
|
|
|
|
|
|
|
|
'clearhtml', 'removeformat', '|', 'plainpaste', 'wordpaste', '|', 'table', 'hr', 'image', 'template', 'link', 'unlink', 'mediacits', 'character', 'undo', 'source', 'fullscreen'
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
afterChange: function () {
|
|
|
|
|
|
|
|
K('#display_count').html(getWordCount(editor.text()));
|
|
|
|
|
|
|
|
content_length = this.count('text');
|
|
|
|
|
|
|
|
$("iframe.ke-edit-iframe").contents().find(".ke-content").css({"padding-right": "25px", "padding-top": "12px"});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var editor;
|
|
|
|
var editor;
|
|
|
|
window.onload = function () {
|
|
|
|
window.onload = function () {
|
|
|
@ -569,7 +542,7 @@
|
|
|
|
<ul id="treeDemo" name="treeDemo" class="ztree" style="height:1035px;overflow-x:auto;"></ul>
|
|
|
|
<ul id="treeDemo" name="treeDemo" class="ztree" style="height:1035px;overflow-x:auto;"></ul>
|
|
|
|
<ul class="nav nav-list">
|
|
|
|
<ul class="nav nav-list">
|
|
|
|
<li class="nav-header">
|
|
|
|
<li class="nav-header">
|
|
|
|
<?php if($this->config->item('site_code')!=='ch'){ ?>
|
|
|
|
<?php if(!is_mobile_first()){ ?>
|
|
|
|
<a href="<?php echo site_url('welcome/create_infomation_urls/' . $information->is_id); ?>"
|
|
|
|
<a href="<?php echo site_url('welcome/create_infomation_urls/' . $information->is_id); ?>"
|
|
|
|
target="_blank" class="col-sm-5" title="批量更新静态化页面"><i
|
|
|
|
target="_blank" class="col-sm-5" title="批量更新静态化页面"><i
|
|
|
|
class="text-muted glyphicon glyphicon-retweet"></i></a>
|
|
|
|
class="text-muted glyphicon glyphicon-retweet"></i></a>
|
|
|
@ -2075,7 +2048,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<?php if ($this->config->item('site_code') == 'ch') { ?>
|
|
|
|
<?php if (is_mobile_first()) { ?>
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
function show_ad_mate(mate_name, value) {
|
|
|
|
function show_ad_mate(mate_name, value) {
|
|
|
|
if ($('#' + mate_name).prop("checked")) {
|
|
|
|
if ($('#' + mate_name).prop("checked")) {
|
|
|
@ -2091,10 +2064,10 @@
|
|
|
|
<div class="input-group">
|
|
|
|
<div class="input-group">
|
|
|
|
<label class="checkbox col-xs-24"
|
|
|
|
<label class="checkbox col-xs-24"
|
|
|
|
style="font-weight: normal;margin-top:0;padding-left: 21px;">
|
|
|
|
style="font-weight: normal;margin-top:0;padding-left: 21px;">
|
|
|
|
<input type="checkbox" disabled name="meta_google_ad_content"
|
|
|
|
<input type="checkbox" name="meta_google_ad_content"
|
|
|
|
id="meta_google_ad_content"
|
|
|
|
id="meta_google_ad_content"
|
|
|
|
onclick="show_ad_mate('meta_google_ad_content','show')" <?php echo empty(get_meta($information->ic_id, 'meta_google_ad_content')) ? '' : 'checked'; ?> />Match
|
|
|
|
onclick="show_ad_mate('meta_google_ad_content','show')" <?php echo empty(get_meta($information->ic_id, 'meta_google_ad_content')) ? '' : 'checked'; ?> />Match
|
|
|
|
Content 广告,1.31后开放
|
|
|
|
Content 广告
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -2111,7 +2084,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php } ?>
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
|
|
<?php if ($this->config->item('site_code') !== 'ch') { ?>
|
|
|
|
<?php if (!is_mobile_first()) { ?>
|
|
|
|
<label>信息类型</label>
|
|
|
|
<label>信息类型</label>
|
|
|
|
<select name="ic_type" id="ic_type" class="form-control" onselect="">
|
|
|
|
<select name="ic_type" id="ic_type" class="form-control" onselect="">
|
|
|
|
<?php
|
|
|
|
<?php
|
|
|
|