fix #472, 修改编辑中的定时发布问题
This commit is contained in:
parent
8517e3426e
commit
c37bd2cab4
|
@ -167,7 +167,7 @@ $(document).ready(function(){
|
||||||
|
|
||||||
<div class="column width3">
|
<div class="column width3">
|
||||||
<p>
|
<p>
|
||||||
<input type="checkbox" id="pubtimeturn" name="pubtimer" value="1" /><label id="pubtimelable" for="productcat">定时发布?</label><br/>
|
<input type="checkbox" id="pubtimeturn" name="pubtimer" value="1" <?php if($this->ev['is_pub']==true && !empty($this->ev['ts_published'])) echo 'checked="checked"'; ?>/><label id="pubtimelable" for="productcat">定时发布?</label><br/>
|
||||||
<input type="text" name="pubtime" id="pubtime" value="<?php echo date("Y-m-d H:i",strtotime($this->ev['ts_published']));?>" readonly="readonly" />
|
<input type="text" name="pubtime" id="pubtime" value="<?php echo date("Y-m-d H:i",strtotime($this->ev['ts_published']));?>" readonly="readonly" />
|
||||||
<small>e.g. 2011-10-28 9:35 or 2011-10-28 21:35</small>
|
<small>e.g. 2011-10-28 9:35 or 2011-10-28 21:35</small>
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue