* finish task #2265.

This commit is contained in:
wangyidong
2015-05-04 14:12:55 +08:00
parent 5f4a2ffd9d
commit e673706711
4 changed files with 18 additions and 3 deletions
+6 -2
View File
@@ -57,7 +57,7 @@
<th><?php echo $lang->todo->beginAndEnd;?></th>
<td>
<div class='input-group'>
<?php echo html::select('begin', $times, $time, 'onchange=selectNext(); class="form-control" style="width: 50%;"') . html::select('end', $times, '', 'class="form-control" style="width: 50%; margin-left:-1px"');?>
<?php echo html::select('begin', $times, date('Y-m-d') != $date ? key($times) : $time, 'onchange=selectNext(); class="form-control" style="width: 50%;"') . html::select('end', $times, '', 'class="form-control" style="width: 50%; margin-left:-1px"');?>
</div>
</td>
<td><input type='checkbox' id='switchDate' onclick='switchDateFeature(this);'> <?php echo $lang->todo->lblDisableDate;?></td>
@@ -76,5 +76,9 @@
</form>
</div>
<script language='Javascript'>
var nowTime = '<?php echo $time?>';
var today = '<?php echo date('Y-m-d')?>';
var start = '<?php echo key($times)?>';
</script>
<?php include './footer.html.php';?>
<script language='Javascript'>selectNext();</script>