手动管理标识

hotfix/远程访问多媒体中心
尹诚诚 7 years ago
parent 83a4c56c48
commit ba5c17c6e5

@ -554,9 +554,13 @@
<?php if (is_series_site()) { ?>
<label title="AMP页面编辑"><a href="<?php echo($amp_build_url); ?>" target="_blank">AMP构建工具</a></label> |
<?php } ?>
<?php if (get_meta($information->ic_id, 'AMP_STATUS') === '1') { ?>
<?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>
<?php } else { ?>
<?php } ?>
<?php if ($information->amp_status === '2') { ?>
<label title="AMP页面编辑"><a href="<?php echo site_url('amp/edit/' . $information->ic_id); ?>" target="_blank"><i class="glyphicon glyphicon-hand-up"></i></a></label>
<?php } ?>
<?php if ($information->amp_status === '0') { ?>
<label title="创建AMP页面"><a href="<?php echo site_url('amp/edit/' . $information->ic_id); ?>" target="_blank"><i class="glyphicon glyphicon-plus"></i></a></label>
<?php } ?>
</div>
@ -1258,7 +1262,7 @@
<?php if (in_array($this->config->item('site_code'),array('cht','ah','gn'))) { ?>
<label class="checkbox col-xs-24" style="font-weight: normal;margin-top:0;padding-left: 21px;">
<input type="checkbox" name="auto_update_amp" id="auto_update_amp" value="true" />AMP更新
<input type="checkbox" name="auto_update_amp" id="auto_update_amp" <?php if($information->amp_status==='2'){echo 'disabled';} ?> value="true" />AMP更新 <?php if($information->amp_status==='2'){echo '<i class="glyphicon glyphicon-hand-up" title="手动管理,不会自动更新"></i>'; } ?>
</label>
<?php } ?>

Loading…
Cancel
Save